From ed3933dae4f605984371967eb0ce616708462164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Tue, 14 Aug 2007 22:31:45 +0000 Subject: [PATCH] installer: support for the new Portuguese translation git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19569 a592a061-630c-0410-9148-cb99ea01b6c8 --- .../Win32/packaging/AltInstaller/LanguageSettings.nsh | 9 +++++++-- .../Win32/packaging/AltInstaller/io_ui_language.ini | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/development/Win32/packaging/AltInstaller/LanguageSettings.nsh b/development/Win32/packaging/AltInstaller/LanguageSettings.nsh index d78a062c28..efd7af35fa 100644 --- a/development/Win32/packaging/AltInstaller/LanguageSettings.nsh +++ b/development/Win32/packaging/AltInstaller/LanguageSettings.nsh @@ -155,7 +155,7 @@ ${endif} ${if} ${LangISOCode} = 1046 # for portuguese (brasilian) - StrCpy ${LangNme} "English" # there is currently no portuguese translation of LyX but of the installer + StrCpy ${LangNme} "Português" StrCpy ${LangCdeSys} "pt" StrCpy ${LangNmeSys} "Português" StrCpy ${LangSysEnc} "1252" @@ -386,7 +386,7 @@ ${endif} ${if} ${LangISOCode} = 2070 # for portuguese - StrCpy ${LangNme} "English" # there is currently no portuguese translation of LyX but of the installer + StrCpy ${LangNme} "Português" StrCpy ${LangCdeSys} "pt" StrCpy ${LangNmeSys} "Português" StrCpy ${LangSysEnc} "1252" @@ -613,6 +613,11 @@ StrCpy ${LangEnc} "cp-1250" ${endif} + ${if} ${Name} == "Português" + StrCpy ${LangCde} "pt_PT" + StrCpy ${LangEnc} "cp-1252" + ${endif} + ${if} ${Name} == "Româna" StrCpy ${LangCde} "ro_RO" StrCpy ${LangEnc} "cp-1250" diff --git a/development/Win32/packaging/AltInstaller/io_ui_language.ini b/development/Win32/packaging/AltInstaller/io_ui_language.ini index 40452dcc1d..e2abe8aa2c 100644 --- a/development/Win32/packaging/AltInstaller/io_ui_language.ini +++ b/development/Win32/packaging/AltInstaller/io_ui_language.ini @@ -11,7 +11,7 @@ Text=" Available Languages " [Field 2] Type=Droplist -ListItems=Ceština|Chinese (China)|Chinese (Taiwan)|Dansk|Deutsch|English|Español|Euskara|Français|Galego|Hebrew|Italiano|Japanese|Korean|Magyar|Nederlands|Norsk|Nynorsk|Polski|Româna|Russian|Slovenskı|Slovenšcina|Suomi|Türkçe +ListItems=Ceština|Chinese (China)|Chinese (Taiwan)|Dansk|Deutsch|English|Español|Euskara|Français|Galego|Hebrew|Italiano|Japanese|Korean|Magyar|Nederlands|Norsk|Nynorsk|Polski|Português|Româna|Russian|Slovenskı|Slovenšcina|Suomi|Türkçe Left=20 Right=130 Top=15