aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_interfaces_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2017-02-19 10:58:47 -0800
committerAnders Broman <a.broman58@gmail.com>2017-02-20 16:53:17 +0000
commitd84577fe1aeb8e3b06d922258ccb482e5a2201cc (patch)
tree19ee482a9768414c0219e3aa4b2e27224720d14d /ui/qt/capture_interfaces_dialog.cpp
parent6e8066cc287e0f93f23714d1c453714e5d38f9c5 (diff)
Yell at the user less.
Our user-facing messages should have a helpful (or at the very least neutral) tone. In English, exclamation points are neither. Replace a bunch of them with periods. Change-Id: I29c3b2f84c25e06aae5b559860224559053a0378 Reviewed-on: https://code.wireshark.org/review/20189 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/capture_interfaces_dialog.cpp')
-rw-r--r--ui/qt/capture_interfaces_dialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/qt/capture_interfaces_dialog.cpp b/ui/qt/capture_interfaces_dialog.cpp
index b4fb9e1713..e0eb171016 100644
--- a/ui/qt/capture_interfaces_dialog.cpp
+++ b/ui/qt/capture_interfaces_dialog.cpp
@@ -841,7 +841,7 @@ bool CaptureInterfacesDialog::saveOptionsToPreferences()
switch (index) {
case 1: if (global_capture_opts.autostop_filesize > 2000) {
QMessageBox::warning(this, tr("Error"),
- tr("Multiple files: Requested filesize too large! The filesize cannot be greater than 2 GiB."));
+ tr("Multiple files: Requested filesize too large. The filesize cannot be greater than 2 GiB."));
return false;
} else {
global_capture_opts.autostop_filesize *= 1000;
@@ -849,7 +849,7 @@ bool CaptureInterfacesDialog::saveOptionsToPreferences()
break;
case 2: if (global_capture_opts.autostop_filesize > 2) {
QMessageBox::warning(this, tr("Error"),
- tr("Multiple files: Requested filesize too large! The filesize cannot be greater than 2 GiB."));
+ tr("Multiple files: Requested filesize too large. The filesize cannot be greater than 2 GiB."));
return false;
} else {
global_capture_opts.autostop_filesize *= 1000000;
@@ -860,11 +860,11 @@ bool CaptureInterfacesDialog::saveOptionsToPreferences()
/* test if the settings are ok for a ringbuffer */
if (global_capture_opts.save_file == NULL) {
QMessageBox::warning(this, tr("Error"),
- tr("Multiple files: No capture file name given! You must specify a filename if you want to use multiple files."));
+ tr("Multiple files: No capture file name given. You must specify a filename if you want to use multiple files."));
return false;
} else if (!global_capture_opts.has_autostop_filesize && !global_capture_opts.has_file_duration) {
QMessageBox::warning(this, tr("Error"),
- tr("Multiple files: No file limit given! You must specify a file size or duration at which is switched to the next capture file\n if you want to use multiple files."));
+ tr("Multiple files: No file limit given. You must specify a file size or duration at which is switched to the next capture file\n if you want to use multiple files."));
g_free(global_capture_opts.save_file);
global_capture_opts.save_file = NULL;
return false;
@@ -877,7 +877,7 @@ bool CaptureInterfacesDialog::saveOptionsToPreferences()
switch (index) {
case 1: if (global_capture_opts.autostop_filesize > 2000) {
QMessageBox::warning(this, tr("Error"),
- tr("Multiple files: Requested filesize too large! The filesize cannot be greater than 2 GiB."));
+ tr("Multiple files: Requested filesize too large. The filesize cannot be greater than 2 GiB."));
return false;
} else {
global_capture_opts.autostop_filesize *= 1000;
@@ -885,7 +885,7 @@ bool CaptureInterfacesDialog::saveOptionsToPreferences()
break;
case 2: if (global_capture_opts.autostop_filesize > 2) {
QMessageBox::warning(this, tr("Error"),
- tr("Multiple files: Requested filesize too large! The filesize cannot be greater than 2 GiB."));
+ tr("Multiple files: Requested filesize too large. The filesize cannot be greater than 2 GiB."));
return false;
} else {
global_capture_opts.autostop_filesize *= 1000000;