aboutsummaryrefslogtreecommitdiffstats
path: root/ui/Makefile.common
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2013-12-21 17:55:43 +0100
committerMichal Labedzki <michal.labedzki@tieto.com>2014-11-04 08:21:55 +0000
commit5025bc258cdeabbd498919d5c6b4554accdad842 (patch)
tree53301fcaa347e0a933086ce102b56b27e13aeee9 /ui/Makefile.common
parent15e78de432f55f5478f1b3994f3d7e060b60508d (diff)
Qt: Dynamic languages
- get language as soon as possible (before creating any Qt objects) to make all translations working - dynamic list of supported languages - runtime change of GUI language (no need to restart application) - add flags icons support - search for *.qm languages in buildin resources, then data dir called "languages" (main directory in sources or /usr/share/wireshark/languages), then user directory (UNIX: ~/.wireshark/languages); "languages" directory should contains files wireshark_xx.qm where xx is language code (en, en_GB, etc.), and optional xx.svg for flag icon - try to fix some untranslated manually-created UI items (need manual reset text of those components) Change-Id: I62ca8a8cddce47cec9dbcad6b0bd68b6cfd92229 Reviewed-on: https://code.wireshark.org/review/5041 Tested-by: Michal Labedzki <michal.labedzki@tieto.com> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'ui/Makefile.common')
-rw-r--r--ui/Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/Makefile.common b/ui/Makefile.common
index 9da5fb17ba..1be7dc1c59 100644
--- a/ui/Makefile.common
+++ b/ui/Makefile.common
@@ -56,6 +56,7 @@ WIRESHARK_UI_SRC = \
follow.c \
iface_lists.c \
io_graph_item.c \
+ language.c \
help_url.c \
packet_list_utils.c \
persfilepath_opt.c \
@@ -92,6 +93,7 @@ noinst_HEADERS = \
packet_list_utils.h \
iface_lists.h \
io_graph_item.h \
+ language.h \
main_statusbar.h \
persfilepath_opt.h \
preference_utils.h \