From d018e9458d5efa9f54e42020490e2015c8128a70 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Tue, 29 Nov 2005 23:23:53 +0000 Subject: [PATCH] Enable LyX to run in Hungarian out of the box on Windows. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10633 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/Win32/packaging/installer/io_ui_language.ini | 2 +- development/Win32/packaging/installer/lyx_utils.nsh | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/development/Win32/packaging/installer/io_ui_language.ini b/development/Win32/packaging/installer/io_ui_language.ini index 9b280622d8..43783df89f 100644 --- a/development/Win32/packaging/installer/io_ui_language.ini +++ b/development/Win32/packaging/installer/io_ui_language.ini @@ -11,7 +11,7 @@ Text=" Available Languages " [Field 2] Type=Droplist -ListItems=Dansk|Deutsch|English|Español|Euskara|Français|Italiano|Nederlands|Norsk|Nynorsk|Polski|Româna|Russian|Slovenskı|Slovenšcina|Suomi|Türkçe +ListItems=Dansk|Deutsch|English|Español|Euskara|Français|Italiano|Magyar nyelv|Nederlands|Norsk|Nynorsk|Polski|Româna|Russian|Slovenskı|Slovenšcina|Suomi|Türkçe Left=20 Right=130 Top=15 diff --git a/development/Win32/packaging/installer/lyx_utils.nsh b/development/Win32/packaging/installer/lyx_utils.nsh index 84be2468ef..859fd64c03 100644 --- a/development/Win32/packaging/installer/lyx_utils.nsh +++ b/development/Win32/packaging/installer/lyx_utils.nsh @@ -64,6 +64,10 @@ StrCpy ${LangNme} "Français" ${endif} + ${if} ${LangISOCode} = 1038 + StrCpy ${LangNme} "Magyar nyelv" + ${endif} + ${if} ${LangISOCode} = 1040 StrCpy ${LangNme} "Italiano" ${endif} @@ -109,6 +113,10 @@ StrCpy ${LangCde} "it_IT" ${endif} + ${if} ${Name} == "Magyar nyelv" + StrCpy ${LangCde} "hu_HU" + ${endif} + ${if} ${Name} == "Nederlands" StrCpy ${LangCde} "nl_NL" ${endif}