mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
14 lines
523 B
Diff
14 lines
523 B
Diff
diff --git i/src/Gui/main.cpp w/src/Gui/main.cpp
|
|
index 851db4f1..e997f46e 100644
|
|
--- i/src/Gui/main.cpp
|
|
+++ w/src/Gui/main.cpp
|
|
@@ -52,7 +52,7 @@ int main(int argc, char **argv)
|
|
|
|
QTranslator qtTranslator;
|
|
qtTranslator.load(QLatin1String("qt_") + QLocale::system().name(),
|
|
- QLibraryInfo::location(QLibraryInfo::TranslationsPath));
|
|
+ QLatin1String("@qttranslations@/translations"));
|
|
app.installTranslator(&qtTranslator);
|
|
|
|
QLatin1String localeSuffix("/locale");
|