aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2017-12-28 21:16:25 -0600
committerAnders Broman <a.broman58@gmail.com>2017-12-29 14:15:21 +0000
commitd089cca16b56fd72a69373e97b79eaca8f9e154b (patch)
tree2e6dc65dbe4a62bc8b7c86e9ee83925e0756bb15 /ui/qt
parentf31e9b31545b814e77e30b9a0f70e2f0e3f0afa4 (diff)
Qt: Miscellaneous translation hints.
Add QT_TR_NOOP and comments in a few places. Change-Id: I77c964a4be463aa61de73fdd6af43623edc55474 Reviewed-on: https://code.wireshark.org/review/25051 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/font_color_preferences_frame.cpp8
-rw-r--r--ui/qt/lbm_lbtrm_transport_dialog.ui7
-rw-r--r--ui/qt/lbm_lbtru_transport_dialog.ui2
-rw-r--r--ui/qt/lte_mac_statistics_dialog.cpp2
-rw-r--r--ui/qt/lte_rlc_statistics_dialog.cpp2
5 files changed, 12 insertions, 9 deletions
diff --git a/ui/qt/font_color_preferences_frame.cpp b/ui/qt/font_color_preferences_frame.cpp
index cbfe0bf3cd..e3b7ea866c 100644
--- a/ui/qt/font_color_preferences_frame.cpp
+++ b/ui/qt/font_color_preferences_frame.cpp
@@ -31,9 +31,11 @@
#include <epan/prefs-int.h>
-static const char *font_pangrams_[] = { //TODO : Fix translate
- "Example GIF query packets have jumbo window sizes",
- "Lazy badgers move unique waxy jellyfish packets"
+//: These are pangrams. Feel free to replace with nonsense text that spans your alphabet.
+//: https://en.wikipedia.org/wiki/Pangram
+static const char *font_pangrams_[] = {
+ QT_TR_NOOP("Example GIF query packets have jumbo window sizes"),
+ QT_TR_NOOP("Lazy badgers move unique waxy jellyfish packets")
};
const int num_font_pangrams_ = (sizeof font_pangrams_ / sizeof font_pangrams_[0]);
diff --git a/ui/qt/lbm_lbtrm_transport_dialog.ui b/ui/qt/lbm_lbtrm_transport_dialog.ui
index 4873d56d48..ad2672ed24 100644
--- a/ui/qt/lbm_lbtrm_transport_dialog.ui
+++ b/ui/qt/lbm_lbtrm_transport_dialog.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>LBTRM Transport Statistics</string>
+ <string>LBT-RM Transport Statistics</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
@@ -188,12 +188,12 @@
</item>
<item>
<property name="text">
- <string>NCF</string>
+ <string extracomment="Nak ConFirmation">NCF</string>
</property>
</item>
<item>
<property name="text">
- <string>SM</string>
+ <string extracomment="Session Message">SM</string>
</property>
</item>
</widget>
@@ -694,6 +694,7 @@
<header>widgets/display_filter_edit.h</header>
</customwidget>
</customwidgets>
+ <resources/>
<connections>
<connection>
<sender>buttonBox</sender>
diff --git a/ui/qt/lbm_lbtru_transport_dialog.ui b/ui/qt/lbm_lbtru_transport_dialog.ui
index f96176e6d9..2effe781b3 100644
--- a/ui/qt/lbm_lbtru_transport_dialog.ui
+++ b/ui/qt/lbm_lbtru_transport_dialog.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>LBTRU Transport Statistics</string>
+ <string>LBT-RU Transport Statistics</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
diff --git a/ui/qt/lte_mac_statistics_dialog.cpp b/ui/qt/lte_mac_statistics_dialog.cpp
index f77e93be8b..e2c5ac14a0 100644
--- a/ui/qt/lte_mac_statistics_dialog.cpp
+++ b/ui/qt/lte_mac_statistics_dialog.cpp
@@ -915,7 +915,7 @@ lte_mac_statistics_init(const char *args, void*) {
static stat_tap_ui lte_mac_statistics_ui = {
REGISTER_STAT_GROUP_TELEPHONY_LTE,
- "MAC Statistics",
+ QT_TR_NOOP("MAC Statistics"),
"mac-lte,stat",
lte_mac_statistics_init,
0,
diff --git a/ui/qt/lte_rlc_statistics_dialog.cpp b/ui/qt/lte_rlc_statistics_dialog.cpp
index e20748c1f2..96afa31e0e 100644
--- a/ui/qt/lte_rlc_statistics_dialog.cpp
+++ b/ui/qt/lte_rlc_statistics_dialog.cpp
@@ -1005,7 +1005,7 @@ lte_rlc_statistics_init(const char *args, void*) {
static stat_tap_ui lte_rlc_statistics_ui = {
REGISTER_STAT_GROUP_TELEPHONY_LTE,
- "RLC Statistics",
+ QT_TR_NOOP("RLC Statistics"),
"rlc-lte,stat",
lte_rlc_statistics_init,
0,