]> git.lyx.org Git - lyx.git/blobdiff - development/Win32/packaging/installer/LyXWinInstaller/LanguageSettings.nsh
Changed comment character from ';' to '#*
[lyx.git] / development / Win32 / packaging / installer / LyXWinInstaller / LanguageSettings.nsh
index 9fdee00eda464ccf1d7f444cba5f27b15b9fa019..ff7ad7ba31bbd743d1759403cda70a9a30ad6ebc 100644 (file)
@@ -1,10 +1,10 @@
-; Language settings for the installer
-; create language code for the Windows system language
+# Language settings for the installer
+# create language code for the Windows system language
 
-; LangNme is the language name when there exists a LyX translation for this language; used for the menu language dialog and for the Aspell installation
-; LangNmeSys is the Windows system language; used for the Aspell installation
-; LangCdeSys is the ISO 630 language code of the language; used for the Aspell installation
-; LangSysEnc is the Windows codepage for the character encoding of the language; used in lyx.bat to assure that scripts are correctly executed
+# LangNme is the language name when there exists a LyX translation for this language; used for the menu language dialog and for the Aspell installation
+# LangNmeSys is the Windows system language; used for the Aspell installation
+# LangCdeSys is the ISO 630 language code of the language; used for the Aspell installation
+# LangSysEnc is the Windows codepage for the character encoding of the language; used in lyx.bat to assure that scripts are correctly executed
 !macro TranslateLangCode LangNme LangNmeSys LangCdeSys LangISOCode LangSysEnc
 
  StrCpy ${LangCdeSys} ""
    StrCpy ${LangSysEnc} "1252"
   ${endif}
 
-; currently no dictionary available
-;  ${if} ${LangISOCode} = 1028
-;   StrCpy ${LangCdeSys} "zh"
-;   StrCpy ${LangNmeSys} "Chinese"
-;  ${endif}
+# currently no dictionary available
+#  ${if} ${LangISOCode} = 1028
+#   StrCpy ${LangCdeSys} "zh"
+#   StrCpy ${LangNmeSys} "Chinese"
+#  ${endif}
 
   ${if} ${LangISOCode} = 1029
    StrCpy ${LangNme} "Ce\9atina"
    StrCpy ${LangSysEnc} "1252"
   ${endif}
 
-; currently no dictionary available
-;  ${if} ${LangISOCode} = 1041
-;   StrCpy ${LangCdeSys} "ja"
-;   StrCpy ${LangNmeSys} "Japanese"
-;  ${endif}
+# currently no dictionary available
+#  ${if} ${LangISOCode} = 1041
+#   StrCpy ${LangCdeSys} "ja"
+#   StrCpy ${LangNmeSys} "Japanese"
+#  ${endif}
 
-; currently no dictionary available
-;  ${if} ${LangISOCode} = 1042
-;   StrCpy ${LangCdeSys} "ko"
-;   StrCpy ${LangNmeSys} "Korean"
-;  ${endif}
+# currently no dictionary available
+#  ${if} ${LangISOCode} = 1042
+#   StrCpy ${LangCdeSys} "ko"
+#   StrCpy ${LangNmeSys} "Korean"
+#  ${endif}
 
   ${if} ${LangISOCode} = 1043
    StrCpy ${LangNme} "Nederlands"
    StrCpy ${LangSysEnc} "1250"
   ${endif}
 
-  ${if} ${LangISOCode} = 1046  ; for portuguese (brasilian)
-   StrCpy ${LangNme} "English" ; there is currently no portuguese translation of LyX but of the installer
+  ${if} ${LangISOCode} = 1046  # for portuguese (brasilian)
+   StrCpy ${LangNme} "English" # there is currently no portuguese translation of LyX but of the installer
    StrCpy ${LangCdeSys} "pt"
    StrCpy ${LangNmeSys} "Português"
    StrCpy ${LangSysEnc} "1252"
    StrCpy ${LangSysEnc} "1250"
   ${endif}
 
-; currently no dictionary available
-;  ${if} ${LangISOCode} = 1052
-;   StrCpy ${LangCdeSys} "sq"
-;   StrCpy ${LangNmeSys} "Shqip"
-;   StrCpy ${LangSysEnc} "1252"
-;  ${endif}
+# currently no dictionary available
+#  ${if} ${LangISOCode} = 1052
+#   StrCpy ${LangCdeSys} "sq"
+#   StrCpy ${LangNmeSys} "Shqip"
+#   StrCpy ${LangSysEnc} "1252"
+#  ${endif}
 
   ${if} ${LangISOCode} = 1053
    StrCpy ${LangNme} "Svenska"
    StrCpy ${LangSysEnc} "1252"
   ${endif}
 
-; currently no dictionary available
-;  ${if} ${LangISOCode} = 1054
-;   StrCpy ${LangCdeSys} "th"
-;   StrCpy ${LangNmeSys} "Thai"
-;   StrCpy ${LangSysEnc} "874"
-;  ${endif}
+# currently no dictionary available
+#  ${if} ${LangISOCode} = 1054
+#   StrCpy ${LangCdeSys} "th"
+#   StrCpy ${LangNmeSys} "Thai"
+#   StrCpy ${LangSysEnc} "874"
+#  ${endif}
 
   ${if} ${LangISOCode} = 1055
    StrCpy ${LangNme} "Türkçe"
    StrCpy ${LangSysEnc} "1257"
   ${endif}
 
-  ; currently no dictionary available
+  # currently no dictionary available
   ${if} ${LangISOCode} = 1069
    StrCpy ${LangNme} "Euskara"
    StrCpy ${LangCdeSys} "eu"
    StrCpy ${LangSysEnc} "1252"
   ${endif}
 
-; currently no dictionary available
-;  ${if} ${LangISOCode} = 1081
-;   StrCpy ${LangCdeSys} "hi"
-;   StrCpy ${LangNmeSys} "Hindi"
-;  ${endif}
+# currently no dictionary available
+#  ${if} ${LangISOCode} = 1081
+#   StrCpy ${LangCdeSys} "hi"
+#   StrCpy ${LangNmeSys} "Hindi"
+#  ${endif}
 
   ${if} ${LangISOCode} = 1110
    StrCpy ${LangNme} "Galego"
    StrCpy ${LangSysEnc} "1252"
   ${endif}
 
-; currently no dictionary available
-;  ${if} ${LangISOCode} = 2052
-;   StrCpy ${LangCdeSys} "zh"
-;   StrCpy ${LangNmeSys} "Chinese"
-;  ${endif}
+# currently no dictionary available
+#  ${if} ${LangISOCode} = 2052
+#   StrCpy ${LangCdeSys} "zh"
+#   StrCpy ${LangNmeSys} "Chinese"
+#  ${endif}
 
   ${if} ${LangISOCode} = 2055
    StrCpy ${LangCdeSys} "de"
    StrCpy ${LangSysEnc} "1252"
   ${endif}
 
-  ${if} ${LangISOCode} = 2070  ; for portuguese
-   StrCpy ${LangNme} "English" ; there is currently no portuguese translation of LyX but of the installer
+  ${if} ${LangISOCode} = 2070  # for portuguese
+   StrCpy ${LangNme} "English" # there is currently no portuguese translation of LyX but of the installer
    StrCpy ${LangCdeSys} "pt"
    StrCpy ${LangNmeSys} "Português"
    StrCpy ${LangSysEnc} "1252"
 
 !macroend
 
-;------------------------------------------
+#------------------------------------------
 
-; Setting LyX's menu language
+# Setting LyX's menu language
 
 !macro GetLangCode LangCde Name LangEnc
 
 
 !macroend
 
-;--------------------
-; function that creates the installer page for the language setting
+#--------------------
+# function that creates the installer page for the language setting
 Function SelectMenuLanguage
 
   !insertmacro MUI_INSTALLOPTIONS_EXTRACT "io_ui_language.ini"
 
   ${if} $LangName == ""
-   ; translate NSIS's language code to the language name ; macro from lyx_utils.nsh
+   # translate NSIS's language code to the language name ; macro from lyx_utils.nsh
    !insertmacro TranslateLangCode $LangName $LangNameSys $LangCodeSys $Language $LangSysEncoding
   ${endif}
 
@@ -556,9 +556,9 @@ FunctionEnd
 Function SelectMenuLanguage_LeaveFunction
 
   !insertmacro MUI_INSTALLOPTIONS_READ $LangName "io_ui_language.ini" "Field 2" "State"
-  ; Get the language code
+  # Get the language code
   StrCpy $LangCode ""
-  !insertmacro GetLangCode $LangCode $LangName $LangEncoding ; macro from lyx_utils.nsh
+  !insertmacro GetLangCode $LangCode $LangName $LangEncoding # macro from lyx_utils.nsh
 
 FunctionEnd