aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/address_editor_frame.cpp
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2020-07-17 13:45:01 +0200
committerAnders Broman <a.broman58@gmail.com>2020-07-18 04:02:23 +0000
commite1df757c46a08358b5c589ad1f96b1ddb45fe693 (patch)
treecf64984e419500a13b7121861bd36ad0e614a06e /ui/qt/address_editor_frame.cpp
parent6432e18b2a4ea0793dfbc8cf057bcc7dbf028ea8 (diff)
Qt: Improve status bar messages
Use pushStatus() in C++ code, improve translation support and end each message with a dot. Change-Id: I3f673da4736c3fe49203048da282afa1abf92337 Reviewed-on: https://code.wireshark.org/review/37887 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/address_editor_frame.cpp')
-rw-r--r--ui/qt/address_editor_frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/address_editor_frame.cpp b/ui/qt/address_editor_frame.cpp
index f9f1027ebb..e5c918e28a 100644
--- a/ui/qt/address_editor_frame.cpp
+++ b/ui/qt/address_editor_frame.cpp
@@ -169,7 +169,7 @@ void AddressEditorFrame::on_buttonBox_accepted()
QString addr = ui->addressComboBox->currentText();
QString name = ui->nameLineEdit->text();
if (!cf_add_ip_name_from_string(cap_file_, addr.toUtf8().constData(), name.toUtf8().constData())) {
- QString error_msg = tr("Can't assign %1 to %2").arg(name).arg(addr);
+ QString error_msg = tr("Can't assign %1 to %2.").arg(name).arg(addr);
wsApp->pushStatus(WiresharkApplication::TemporaryStatus, error_msg);
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
return;