Wireshark-commits: [Wireshark-commits] master 88cd655: Qt: Load qt_XX.qm to translate Qt Strings

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 24 Jan 2016 00:02:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=88cd6552ea861a56df9355e681dcaec50e845bd6
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

88cd655 by Uli Heilmeier (uh@xxxxxxxxxxxx):

    Qt: Load qt_XX.qm to translate Qt Strings
    
    The Windows installation includes the Qt translations files qt_XX.qm
    in the installation directory (e.g. C:\Program Files\Wireshark\).
    
    However we've tried to load the files only from the
    QLibraryInfo::TranslationsPath (C:\Qt\5.3\msvc2013_64_opengl\translations\).
    This path is missing in a normal Windows environment.
    
    Therefore strings like "Ctrl" haven't been translated.
    
    Change-Id: I45bc873fdd95fd0ab5c79e70d9ff062274f899fe
    Reviewed-on: https://code.wireshark.org/review/13485
    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>
    

Actions performed:

    from  720f57d   ui: Code cleanup
    adds  88cd655   Qt: Load qt_XX.qm to translate Qt Strings


Summary of changes:
 ui/qt/wireshark_application.cpp |    4 ++++
 1 file changed, 4 insertions(+)