From 58553647a51f039cf54fc4e34d9cb787715164be Mon Sep 17 00:00:00 2001 From: Karim ElDeeb Date: Sun, 25 Nov 2018 15:41:46 +0200 Subject: [PATCH] Add the missing *.qm translations files The *.qm translations files were missing from being bundled with the installer, so the default strings weren't translated and were defaulting to English. See #1592. --- installer/windows/build.cmd | 5 +- installer/windows/product.wxs | 3 + installer/windows/translations.wxs | 220 +++++++++++++++++++++++++++++ 3 files changed, 226 insertions(+), 2 deletions(-) create mode 100644 installer/windows/translations.wxs diff --git a/installer/windows/build.cmd b/installer/windows/build.cmd index 3485582d..427bb52f 100644 --- a/installer/windows/build.cmd +++ b/installer/windows/build.cmd @@ -39,9 +39,10 @@ set ICE=-sice:ICE03 -sice:ICE82 -sice:ICE61 -sice:ICE38 -sice:ICE43 -sice:ICE57 set LIGHT=-sw1104 :: Compile & Link -"%WIX%\bin\candle.exe" -nologo -pedantic -arch %ARCH% %SQLCIPHER% product.wxs -"%WIX%\bin\light.exe" -sval -nologo -pedantic %LIGHT% %ICE% -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc strings.wxl product.wixobj -out %MSI%.msi +"%WIX%\bin\candle.exe" -nologo -pedantic -arch %ARCH% %SQLCIPHER% product.wxs translations.wxs +"%WIX%\bin\light.exe" -sval -nologo -pedantic %LIGHT% %ICE% -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc strings.wxl product.wixobj translations.wixobj -out %MSI%.msi :: Cleanup del product.wixobj +del translations.wixobj del %MSI%.wixpdb diff --git a/installer/windows/product.wxs b/installer/windows/product.wxs index 58cd64ab..363b6ad2 100644 --- a/installer/windows/product.wxs +++ b/installer/windows/product.wxs @@ -137,6 +137,9 @@ + + + diff --git a/installer/windows/translations.wxs b/installer/windows/translations.wxs new file mode 100644 index 00000000..c8bc0951 --- /dev/null +++ b/installer/windows/translations.wxs @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +