[dia] Reflecting translation updates for the win32 installer.



commit 0e7a6620cd667a9a4461646a6016efd12524ed5f
Author: Steffen Macke <sdteffen sdteffen de>
Date:   Fri Jan 28 21:47:52 2011 +0100

    Reflecting translation updates for the win32 installer.

 installer/win32/dia.nsi             |   13 ++++++++-
 installer/win32/locale/makefile.msc |   45 +++++++++++++++++++++++++++++++++++
 makefile.msc                        |    2 +-
 3 files changed, 57 insertions(+), 3 deletions(-)
---
diff --git a/installer/win32/dia.nsi b/installer/win32/dia.nsi
index 5784039..e9f5790 100644
--- a/installer/win32/dia.nsi
+++ b/installer/win32/dia.nsi
@@ -159,14 +159,17 @@ VIProductVersion "0.97.0.3"
   ;; will be).
 
   !insertmacro MUI_LANGUAGE "Basque"
+  !insertmacro MUI_LANGUAGE "Czech"
+  !insertmacro MUI_LANGUAGE "Danish"
   !insertmacro MUI_LANGUAGE "English"
   !insertmacro MUI_LANGUAGE "French"
   !insertmacro MUI_LANGUAGE "Finnish"
   !insertmacro MUI_LANGUAGE "Galician"
   !insertmacro MUI_LANGUAGE "German"
+  !insertmacro MUI_LANGUAGE "Greek"
   !insertmacro MUI_LANGUAGE "Hungarian"
-  !insertmacro MUI_LANGUAGE "Korean"
-  !insertmacro MUI_LANGUAGE "Romanian"
+#  !insertmacro MUI_LANGUAGE "Korean"
+  !insertmacro MUI_LANGUAGE "Portuguese"
   !insertmacro MUI_LANGUAGE "SimpChinese"
   !insertmacro MUI_LANGUAGE "Slovak"
   !insertmacro MUI_LANGUAGE "Slovenian"
@@ -180,14 +183,18 @@ VIProductVersion "0.97.0.3"
   !include "langmacros.nsh"
   
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "BASQUE" "locale\eu.nsh"
+  !insertmacro DIA_MACRO_INCLUDE_LANGFILE "CZECH" "locale\cs.nsh"
+  !insertmacro DIA_MACRO_INCLUDE_LANGFILE "DANISH" "locale\da.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "ENGLISH" "locale\english.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "FRENCH" "locale\french.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "GALICIAN" "locale\gl.nsh"
+  !insertmacro DIA_MACRO_INCLUDE_LANGFILE "GREEK" "locale\gr.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "GERMAN" "locale\german.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "FINNISH" "locale\fi.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "HUNGARIAN" "locale\hungarian.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "ROMANIAN" "locale\ro.nsh"
 #  !insertmacro DIA_MACRO_INCLUDE_LANGFILE "KOREAN" "locale\ko.nsh"
+  !insertmacro DIA_MACRO_INCLUDE_LANGFILE "PORTUGUESE" "locale\pt.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "SIMPCHINESE" "locale\zh.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "SLOVAK" "locale\slovak.nsh"
   !insertmacro DIA_MACRO_INCLUDE_LANGFILE "SLOVENIAN" "locale\slovenian.nsh"
@@ -2504,6 +2511,8 @@ Section $(TRANSLATIONS_SECTION_TITLE) SecTranslations
   ${File} "..\..\build\win32\locale\am\LC_MESSAGES\" "dia.mo"
   ${SetOutPath} "$INSTDIR\locale\ar\LC_MESSAGES"
   ${File} "..\..\build\win32\locale\ar\LC_MESSAGES\" "dia.mo"
+  ${SetOutPath} "$INSTDIR\locale\ast\LC_MESSAGES"
+  ${File} "..\..\build\win32\locale\ast\LC_MESSAGES\" "dia.mo"
   ${SetOutPath} "$INSTDIR\locale\az\LC_MESSAGES"
   ${File} "..\..\build\win32\locale\az\LC_MESSAGES\" "dia.mo"
   ${SetOutPath} "$INSTDIR\locale\be\LC_MESSAGES"
diff --git a/installer/win32/locale/makefile.msc b/installer/win32/locale/makefile.msc
index 44d07f4..2b0351e 100755
--- a/installer/win32/locale/makefile.msc
+++ b/installer/win32/locale/makefile.msc
@@ -2,19 +2,29 @@ GENNSH = ..\gennsh
 ICONV = iconv
 
 LOCALEFILES = \
+	cs.nsh \
+	da.nsh \
 	es.nsh \
 	eu.nsh \
 	fi.nsh \
 	gl.nsh \
+	gr.nsh \
 #	ko.nsh \
+	pt.nsh \
+#	ro.nsh \
 	zh.nsh
 
 UTF8FILES = \
+	czech.nsh \
+	danish.nsh \
 	basque.nsh \
 	finnish.nsh \
 	galego.nsh \
+	greek.nsh \
 	korean.nsh \
 	chinese.nsh \
+	portuguese.nsh \
+	romanian.nsh \
 	spanish.nsh
 	
 all: $(LOCALEFILES)	
@@ -22,6 +32,20 @@ all: $(LOCALEFILES)
 clean:
 	del $(LOCALEFILES) $(UTF8FILES)
 
+da.nsh: danish.nsh
+	$(ICONV) -f UTF-8 -t WINDOWS-1252 danish.nsh > $@
+
+cs.nsh: czech.nsh
+	$(ICONV) -f UTF-8 -t WINDOWS-1250 czech.nsh > $@
+	
+czech.nsh:
+	SET LANG=cs
+	$(GENNSH) > $@
+	
+danish.nsh:
+	SET LANG=da
+	$(GENNSH) > $@
+	
 es.nsh: spanish.nsh
 	$(ICONV) -f UTF-8 -t ISO-8859-1 spanish.nsh > $@
 	
@@ -46,6 +70,13 @@ galego.nsh:
 gl.nsh: galego.nsh
 	$(ICONV) -f UTF-8 -t ISO-8859-1 galego.nsh > $@
 
+gr.nsh: greek.nsh
+	$(ICONV) -f UTF-8 -t WINDOWS-1253 greek.nsh > $@
+	
+greek.nsh:
+	SET LANG=gr
+	$(GENNSH) > $@
+	
 korean.nsh:	
 	SET LANG=ko
 	$(GENNSH) > $@
@@ -56,6 +87,20 @@ ko.nsh: korean.nsh
 chinese.nsh:	
 	SET LANG=zh_CN
 	$(GENNSH) > $@
+	
+pt.nsh: portuguese.nsh
+	$(ICONV) -f UTF-8 -t ISO-8859-1 portuguese.nsh > $@
+	
+portuguese.nsh:
+	SET LANG=pt
+	$(GENNSH) > $@
+	
+ro.nsh: romanian.nsh
+	$(ICONV) -f UTF-8 -t WINDOWS-1250 romanian.nsh > $@
+	
+romanian.nsh:
+	SET LANG=ro
+	$(GENNSH) > $@
 
 spanish.nsh:
 	SET LANG=es
diff --git a/makefile.msc b/makefile.msc
index 9535a42..6a7f9dd 100644
--- a/makefile.msc
+++ b/makefile.msc
@@ -253,7 +253,7 @@ build\win32\etc: build\win32 ..\etc
 build\win32\dia-splash.png: build\win32 data\dia-splash.png
 	copy data\dia-splash.png build\win32
 
-ALL_LINGUAS = am ar az be bg bs ca ca valencia cs da de dz el en_CA en_GB es eu fi fr ga gl gu hr hu id is it ja kn ko lt lv mk ml mn mr ms nb ne nl nn oc pa pl pt pt_BR ro ru rw sk sl sq sr sr Latn sv th tr uk vi zh_CN zh_HK zh_TW	
+ALL_LINGUAS = am ar ast az be bg bs ca ca valencia cs da de dz el en_CA en_GB es eu fi fr ga gl gu hr hu id is it ja kn ko lt lv mk ml mn mr ms nb ne nl nn oc pa pl pt pt_BR ro ru rw sk sl sq sr sr Latn sv th tr uk vi zh_CN zh_HK zh_TW	
 
 po: build\win32\locale
  	for %d in ($(ALL_LINGUAS)) do md build\win32\locale\%d



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]