mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
fixes #1305
Installer will fallback to English in case there are no translations available for the current system language
This commit is contained in:
parent
72b479c1e0
commit
900397c05e
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue