From 9b5392183c3bbe1333d9b2b336db065e9346a4a2 Mon Sep 17 00:00:00 2001 From: "Frederik \"Freso\" S. Olesen" Date: Thu, 6 Mar 2014 11:24:28 +0100 Subject: [PATCH] Set the language to Danish if installer was run in Danish. --- src/installer.nsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/installer.nsi b/src/installer.nsi index 2dbd4e04..7b9a4d0c 100644 --- a/src/installer.nsi +++ b/src/installer.nsi @@ -380,6 +380,11 @@ FunctionEnd ; Push "Language:" ; Push "Language: pt_BR" ; Call ReplaceLineStr + StrCmp $LANGUAGE ${LANG_DANISH} 0 +5 + Push "$LOCALAPPDATA\BOSS\settings.yaml" + Push "Language:" + Push "Language: da" + Call ReplaceLineStr ;Add Start Menu shortcuts. Set out path back to $INSTDIR otherwise the shortcuts start in the wrong place. ;Set Shell Var Context to all so that shortcuts are installed for all users, not just admin.