aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-11-16 23:38:18 -0800
committerGuy Harris <guy@alum.mit.edu>2018-11-17 07:39:19 +0000
commit43872a3a0ed0323d12a8b6d8c37ee85bdbae9a32 (patch)
treea8b9fb208d6a7c4bb20431f1060f476efb62e01b /ui
parent4ebe640ec12cb7c0505764c2381983045b353d31 (diff)
"." in version numbers and file names isn't translated into other languages.
"xxx.pcap.gz" is "xxx.pcap.gz" in any language. "3.0.1" is "3.0.1" in any language. Change-Id: I231a3f9bd21a3ea5d56a8e410d20b1bc3927540f Reviewed-on: https://code.wireshark.org/review/30676 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window.cpp4
-rw-r--r--ui/qt/welcome_page.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index bd99da6f3c..d671566398 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -1652,7 +1652,7 @@ void MainWindow::fileAddExtension(QString &file_name, int file_type, wtap_compre
/* OK, see if the file has one of those extensions. */
for (extension = extensions_list; extension != NULL;
extension = g_slist_next(extension)) {
- QString file_suffix = tr(".") + (char *)extension->data;
+ QString file_suffix = "." + (char *)extension->data;
if (file_name_lower.endsWith(file_suffix)) {
/*
* The file name has one of the extensions for
@@ -1677,7 +1677,7 @@ void MainWindow::fileAddExtension(QString &file_name, int file_type, wtap_compre
}
if (add_extension) {
if (wtap_default_file_extension(file_type) != NULL) {
- file_name += tr(".") + wtap_default_file_extension(file_type);
+ file_name += "." + wtap_default_file_extension(file_type);
if (compression_type == WTAP_GZIP_COMPRESSED) {
file_name += ".gz";
}
diff --git a/ui/qt/welcome_page.cpp b/ui/qt/welcome_page.cpp
index bef2b66e83..bddab4c85d 100644
--- a/ui/qt/welcome_page.cpp
+++ b/ui/qt/welcome_page.cpp
@@ -231,7 +231,7 @@ void WelcomePage::appInitialized()
full_release = tr("You are running Wireshark ");
}
full_release += get_ws_vcs_version_info();
- full_release += tr(".");
+ full_release += ".";
#ifdef HAVE_SOFTWARE_UPDATE
if (prefs.gui_update_enabled) {
full_release += tr(" You receive automatic updates.");