URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=131981f391ae52a6787d42ce1bd766e7ce8d98e3
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
131981f by Uli Heilmeier (uh@xxxxxxxxxxxx):
Qt: Detect language on Windows and load qt_xx.qm/qt_xx_XX.qm
Sytem language is reported as xx_XX (e.g. de_DE). As we're only
shipping qt_xx.qm in the Windows installer the langfile is missing.
This commits searches for qt_xx_XX.qm and qt_xx.qm files and loads it.
See also https://wiki.qt.io/How_to_create_a_multi_language_application
Furthermore it fixs commit 137dba6e66f58c0dae371e7fb98d3fdd6dc8c1f4
to load qt_xx.qm in the right way.
Change-Id: Iba9e597a44eb42b867542d1d6ffccc55f824bbe1
Reviewed-on: https://code.wireshark.org/review/13525
Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
(cherry picked from commit 7e72253c0ec259c46546bd45fc27e1d045bfdf55)
Reviewed-on: https://code.wireshark.org/review/13605
Actions performed:
from 48f3c5d Qt: Load qt_XX.qm to translate Qt Strings
adds 131981f Qt: Detect language on Windows and load qt_xx.qm/qt_xx_XX.qm
Summary of changes:
ui/qt/wireshark_application.cpp | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)