Installer will fallback to English in case there are no translations available for the current system language
This commit is contained in:
Thomas Müller 2013-12-20 10:02:30 +01:00
parent 72b479c1e0
commit 900397c05e

View file

@ -545,7 +545,7 @@ Function .onInit
;!insertmacro MUI_LANGDLL_DISPLAY
# load the selected language file
StrCmp $LANGUAGE ${LANG_ENGLISH} English 0
!include "${source_path}/admin/win/nsi/l10n\English.nsh"
StrCmp $LANGUAGE ${LANG_GERMAN} German 0
StrCmp $LANGUAGE ${LANG_DUTCH} Dutch 0
StrCmp $LANGUAGE ${LANG_FINNISH} Finnish 0
@ -560,9 +560,6 @@ Function .onInit
StrCmp $LANGUAGE ${LANG_GREEK} Slovak 0
StrCmp $LANGUAGE ${LANG_GREEK} Turkish 0
StrCmp $LANGUAGE ${LANG_PORTUGUESEBR} Brazilian EndLanguageCmp
English:
!include "${source_path}/admin/win/nsi/l10n\English.nsh"
Goto EndLanguageCmp
German:
!include "${source_path}/admin/win/nsi/l10n\German.nsh"
Goto EndLanguageCmp