summaryrefslogtreecommitdiff
path: root/ui/qt/time_shift_dialog.cpp
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-01-20 18:33:06 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-01-20 18:33:06 +0000
commitbba1a7a59938e3232a1b8642e95073bcfe1e4bcc (patch)
tree559fb051823041247e8ce0174a8f8bb6bd5886a2 /ui/qt/time_shift_dialog.cpp
parent31b969a4b5e5a0bce6bc368d5395b008f98dfe3d (diff)
downloadwireshark-bba1a7a59938e3232a1b8642e95073bcfe1e4bcc.tar.gz
Add Some missing text to translate
svn path=/trunk/; revision=47182
Diffstat (limited to 'ui/qt/time_shift_dialog.cpp')
-rw-r--r--ui/qt/time_shift_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/time_shift_dialog.cpp b/ui/qt/time_shift_dialog.cpp
index 141a85e264..1f9e851410 100644
--- a/ui/qt/time_shift_dialog.cpp
+++ b/ui/qt/time_shift_dialog.cpp
@@ -139,7 +139,7 @@ void TimeShiftDialog::checkFrameNumber(SyntaxLineEdit &frame_le)
if (cap_file_) {
syntax_err_ = QString(tr("Frame numbers must be between 1 and %1.").arg(cap_file_->count));
} else {
- syntax_err_ = "Invalid frame number.";
+ syntax_err_ = tr("Invalid frame number.");
}
} else {
frame_le.setSyntaxState(SyntaxLineEdit::Valid);
@@ -251,7 +251,7 @@ void TimeShiftDialog::applyTimeShift()
syntax_err_.clear();
if (cap_file_->state == FILE_READ_IN_PROGRESS) {
- syntax_err_ = "Time shifting is not available capturing packets.";
+ syntax_err_ = tr("Time shifting is not available capturing packets.");
} else if (ts_ui_->shiftAllButton->isChecked()) {
err_str = time_shift_all(cap_file_,
ts_ui_->shiftAllTimeLineEdit->text().toUtf8().constData());