From b86cc794bfef0db60ee5e2193344adb3832daf5e Mon Sep 17 00:00:00 2001 From: nowrep Date: Fri, 3 Jan 2014 20:08:24 +0100 Subject: [PATCH] [Windows] Fixed installer language issues Closes #1120 --- windows/installer.nsi | 47 +++++++++++++++++++++++++++++++++++++++++++ windows/languages.nsh | 2 +- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/windows/installer.nsi b/windows/installer.nsi index cfa545cc6..69e045f37 100644 --- a/windows/installer.nsi +++ b/windows/installer.nsi @@ -75,6 +75,8 @@ SetCompressor /SOLID /FINAL lzma !insertmacro MUI_LANGUAGE "Farsi" !insertmacro MUI_LANGUAGE "Hebrew" !insertmacro MUI_LANGUAGE "Spanish" +!insertmacro MUI_LANGUAGE "Arabic" +!insertmacro MUI_LANGUAGE "Basque" !insertmacro MUI_RESERVEFILE_LANGDLL @@ -248,6 +250,7 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations SetOutPath "$INSTDIR\locale" File "locale\es_ES.qm" File "locale\es_VE.qm" + File "locale\es_419.qm" File "locale\qt_es.qm" SetOutPath "$INSTDIR\hunspell" File "wininstall\hunspell\es_ES.aff" @@ -380,6 +383,50 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations File "wininstall\hunspell\ca_ES.aff" File "wininstall\hunspell\ca_ES.dic" SectionEnd + + Section "Arabic" + SetOutPath "$INSTDIR\locale" + File "locale\ar_SA.qm" + File "locale\qt_ar.qm" + SectionEnd + + Section "Bulgarian" + SetOutPath "$INSTDIR\locale" + File "locale\bg_BG.qm" + SectionEnd + + Section "Danish" + SetOutPath "$INSTDIR\locale" + File "locale\da_DK.qm" + File "locale\qt_da.qm" + SectionEnd + + Section "Galician" + SetOutPath "$INSTDIR\locale" + File "locale\gl_ES.qm" + File "locale\qt_gl.qm" + SectionEnd + + Section "Hebrew" + SetOutPath "$INSTDIR\locale" + File "locale\he_IL.qm" + File "locale\qt_he.qm" + SectionEnd + + Section "Ganda" + SetOutPath "$INSTDIR\locale" + File "locale\lg.qm" + SectionEnd + + Section "Norwegian" + SetOutPath "$INSTDIR\locale" + File "locale\nb_NO.qm" + SectionEnd + + Section "N'ko" + SetOutPath "$INSTDIR\locale" + File "locale\nqo.qm" + SectionEnd SectionGroupEnd diff --git a/windows/languages.nsh b/windows/languages.nsh index 0c8f6106d..5f6bc12c9 100644 --- a/windows/languages.nsh +++ b/windows/languages.nsh @@ -65,7 +65,7 @@ LangString TITLE_SecSetASDefault ${LANG_SPANISH} "Navegador por defecto" LangString TITLE_SecProtocols ${LANG_SPANISH} "Asociaciones de protocolo" LangString FILE_Htm ${LANG_SPANISH} "Archivo HTM" -LangString FILE_Html ${LANG_ENGLISH} "Archivo HTML" +LangString FILE_Html ${LANG_SPANISH} "Archivo HTML" ; LangString DESC_SecMain ${LANG_SPANISH} "Componentes iniciales de aplicación" LangString DESC_SecTranslations ${LANG_SPANISH} "Otras traduciones disponibles al instalar. Por defecto en inglés."