From a660a0eca0dc4093f841159d1ccc3fa55595e500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Thu, 24 Jul 2008 16:57:27 +0000 Subject: [PATCH] installer: support for Ukrainian menu names git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25866 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/Win32/packaging/AltInstaller/ChangeLog.txt | 1 + .../Win32/packaging/AltInstaller/LanguageSettings.nsh | 9 +++++++-- .../Win32/packaging/AltInstaller/io_ui_language.ini | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/development/Win32/packaging/AltInstaller/ChangeLog.txt b/development/Win32/packaging/AltInstaller/ChangeLog.txt index 5c0b15d4dc..33e9237076 100644 --- a/development/Win32/packaging/AltInstaller/ChangeLog.txt +++ b/development/Win32/packaging/AltInstaller/ChangeLog.txt @@ -1,6 +1,7 @@ Version 3.25 - LyX 1.5.6 +- support to set Ukrainian as LyX's menu language - When Aspell is installed together with this installer (this will be the case when Aspell is not already installed), now every user on the PC gets his personal word list files. diff --git a/development/Win32/packaging/AltInstaller/LanguageSettings.nsh b/development/Win32/packaging/AltInstaller/LanguageSettings.nsh index d2496a10e4..f0de15a06a 100644 --- a/development/Win32/packaging/AltInstaller/LanguageSettings.nsh +++ b/development/Win32/packaging/AltInstaller/LanguageSettings.nsh @@ -154,7 +154,7 @@ StrCpy ${LangSysEnc} "1250" ${endif} - ${if} ${LangISOCode} = 1046 # for portuguese (brasilian) + ${if} ${LangISOCode} = 1046 # for Portuguese (brasilian) StrCpy ${LangNme} "Português" StrCpy ${LangCdeSys} "pt" StrCpy ${LangNmeSys} "Português" @@ -385,7 +385,7 @@ StrCpy ${LangSysEnc} "1252" ${endif} - ${if} ${LangISOCode} = 2070 # for portuguese + ${if} ${LangISOCode} = 2070 # for Portuguese StrCpy ${LangNme} "Português" StrCpy ${LangCdeSys} "pt" StrCpy ${LangNmeSys} "Português" @@ -653,6 +653,11 @@ StrCpy ${LangEnc} "cp-1254" ${endif} + ${if} ${Name} == "Ukrainian" + StrCpy ${LangCde} "uk_UA" + StrCpy ${LangEnc} "cp-1251" + ${endif} + !macroend #-------------------- diff --git a/development/Win32/packaging/AltInstaller/io_ui_language.ini b/development/Win32/packaging/AltInstaller/io_ui_language.ini index 332179cd6a..d69113fb63 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=Català|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 +ListItems=Català|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|Ukrainian Left=20 Right=130 Top=15