diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2013-12-21 17:55:43 +0100 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2014-11-04 08:21:55 +0000 |
commit | 5025bc258cdeabbd498919d5c6b4554accdad842 (patch) | |
tree | 53301fcaa347e0a933086ce102b56b27e13aeee9 /image/languages/de.svg | |
parent | 15e78de432f55f5478f1b3994f3d7e060b60508d (diff) | |
download | wireshark-5025bc258cdeabbd498919d5c6b4554accdad842.tar.gz |
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 'image/languages/de.svg')
-rw-r--r-- | image/languages/de.svg | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/image/languages/de.svg b/image/languages/de.svg new file mode 100644 index 0000000000..21d26c1057 --- /dev/null +++ b/image/languages/de.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" viewBox="0 0 50 30"> + <desc>Flag of Germany</desc> + <rect id="black_stripe" width="50" height="30" y="0" x="0" fill="#000"/> + <rect id="red_stripe" width="50" height="20" y="10" x="0" fill="#D00"/> + <rect id="gold_stripe" width="50" height="10" y="20" x="0" fill="#FFCE00"/> +</svg> |