openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msei...@apache.org
Subject svn commit: r1804182 - /openoffice/trunk/main/solenv/bin/modules/installer/download.pm
Date Sat, 05 Aug 2017 09:27:33 GMT
Author: mseidel
Date: Sat Aug  5 09:27:33 2017
New Revision: 1804182

URL: http://svn.apache.org/viewvc?rev=1804182&view=rev
Log:
Added more statements for nsis languages, reordered

Modified:
    openoffice/trunk/main/solenv/bin/modules/installer/download.pm

Modified: openoffice/trunk/main/solenv/bin/modules/installer/download.pm
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/bin/modules/installer/download.pm?rev=1804182&r1=1804181&r2=1804182&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/bin/modules/installer/download.pm (original)
+++ openoffice/trunk/main/solenv/bin/modules/installer/download.pm Sat Aug  5 09:27:33 2017
@@ -1175,8 +1175,11 @@ sub nsis_language_converter
 	# are needed in the NSIS environment.
 	# Directory: <NSIS-Dir>/Contrib/Language files
 	if ( $language eq "en-US" ) { $nsislanguage = "English"; }
+	elsif ( $language eq "af" ) { $nsislanguage = "Afrikaans"; }
 	elsif ( $language eq "sq" ) { $nsislanguage = "Albanian"; }
 	elsif ( $language eq "ar" ) { $nsislanguage = "Arabic"; }
+	elsif ( $language eq "hy" ) { $nsislanguage = "Armenian"; }
+	elsif ( $language eq "ast" ) { $nsislanguage = "Asturian"; }
 	elsif ( $language eq "eu" ) { $nsislanguage = "Basque"; }
 	elsif ( $language eq "bg" ) { $nsislanguage = "Bulgarian"; }
 	elsif ( $language eq "ca" ) { $nsislanguage = "Catalan"; }
@@ -1184,45 +1187,50 @@ sub nsis_language_converter
 	elsif ( $language eq "cs" ) { $nsislanguage = "Czech"; }
 	elsif ( $language eq "da" ) { $nsislanguage = "Danish"; }
 	elsif ( $language eq "nl" ) { $nsislanguage = "Dutch"; }
-	elsif ( $language eq "de" ) { $nsislanguage = "German"; }
-	elsif ( $language eq "de-LU" ) { $nsislanguage = "Luxembourgish"; }
+	elsif ( $language eq "en-GB" ) { $nsislanguage = "English"; }
 	elsif ( $language eq "et" ) { $nsislanguage = "Estonian"; }
 	elsif ( $language eq "fa" ) { $nsislanguage = "Farsi"; }
-	elsif ( $language eq "el" ) { $nsislanguage = "Greek"; }
 	elsif ( $language eq "fi" ) { $nsislanguage = "Finnish"; }
 	elsif ( $language eq "fr" ) { $nsislanguage = "French"; }
-	elsif ( $language eq "hu" ) { $nsislanguage = "Hungarian"; }
+	elsif ( $language eq "gl" ) { $nsislanguage = "Galician"; }
+	elsif ( $language eq "de" ) { $nsislanguage = "German"; }
+	elsif ( $language eq "el" ) { $nsislanguage = "Greek"; }
 	elsif ( $language eq "he" ) { $nsislanguage = "Hebrew"; }
+	elsif ( $language eq "hu" ) { $nsislanguage = "Hungarian"; }
 	elsif ( $language eq "is" ) { $nsislanguage = "Icelandic"; }
 	elsif ( $language eq "id" ) { $nsislanguage = "Indonesian"; }
 	elsif ( $language eq "it" ) { $nsislanguage = "Italian"; }
+	elsif ( $language eq "ja" ) { $nsislanguage = "Japanese"; }
+	elsif ( $language eq "ko" ) { $nsislanguage = "Korean"; }
 	elsif ( $language eq "lv" ) { $nsislanguage = "Latvian"; }
 	elsif ( $language eq "lt" ) { $nsislanguage = "Lithuanian"; }
+	elsif ( $language eq "de-LU" ) { $nsislanguage = "Luxembourgish"; }
 	elsif ( $language eq "mk" ) { $nsislanguage = "Macedonian"; }
 	elsif ( $language eq "mn" ) { $nsislanguage = "Mongolian"; }
 	elsif ( $language eq "nb" ) { $nsislanguage = "Norwegian"; }
 	elsif ( $language eq "no" ) { $nsislanguage = "Norwegian"; }
 	elsif ( $language eq "no-NO" ) { $nsislanguage = "Norwegian"; }
-	elsif ( $language eq "es" ) { $nsislanguage = "Spanish"; }
-	elsif ( $language eq "sl" ) { $nsislanguage = "Slovenian"; }
-	elsif ( $language eq "sv" ) { $nsislanguage = "Swedish"; }
-	elsif ( $language eq "sk" ) { $nsislanguage = "Slovak"; }
+	elsif ( $language eq "nn" ) { $nsislanguage = "NorwegianNynorsk"; }
 	elsif ( $language eq "pl" ) { $nsislanguage = "Polish"; }
-	elsif ( $language eq "pt-BR" ) { $nsislanguage = "PortugueseBR"; }
 	elsif ( $language eq "pt" ) { $nsislanguage = "Portuguese"; }
+	elsif ( $language eq "pt-BR" ) { $nsislanguage = "PortugueseBR"; }
 	elsif ( $language eq "ro" ) { $nsislanguage = "Romanian"; }
 	elsif ( $language eq "ru" ) { $nsislanguage = "Russian"; }
-	elsif ( $language eq "sh" ) { $nsislanguage = "SerbianLatin"; }
+	elsif ( $language eq "gd" ) { $nsislanguage = "ScotsGaelic"; }
 	elsif ( $language eq "sr" ) { $nsislanguage = "Serbian"; }
 	elsif ( $language eq "sr-SP" ) { $nsislanguage = "Serbian"; }
-	elsif ( $language eq "uk" ) { $nsislanguage = "Ukrainian"; }
-	elsif ( $language eq "tr" ) { $nsislanguage = "Turkish"; }
-	elsif ( $language eq "ja" ) { $nsislanguage = "Japanese"; }
-	elsif ( $language eq "ko" ) { $nsislanguage = "Korean"; }
-	elsif ( $language eq "th" ) { $nsislanguage = "Thai"; }
-	elsif ( $language eq "vi" ) { $nsislanguage = "Vietnamese"; }
+	elsif ( $language eq "sh" ) { $nsislanguage = "SerbianLatin"; }
 	elsif ( $language eq "zh-CN" ) { $nsislanguage = "SimpChinese"; }
+	elsif ( $language eq "sl" ) { $nsislanguage = "Slovenian"; }
+	elsif ( $language eq "sk" ) { $nsislanguage = "Slovak"; }
+	elsif ( $language eq "es" ) { $nsislanguage = "Spanish"; }
+	elsif ( $language eq "sv" ) { $nsislanguage = "Swedish"; }
+	elsif ( $language eq "th" ) { $nsislanguage = "Thai"; }
 	elsif ( $language eq "zh-TW" ) { $nsislanguage = "TradChinese"; }
+	elsif ( $language eq "tr" ) { $nsislanguage = "Turkish"; }
+	elsif ( $language eq "uk" ) { $nsislanguage = "Ukrainian"; }
+	elsif ( $language eq "vi" ) { $nsislanguage = "Vietnamese"; }
+	elsif ( $language eq "cy" ) { $nsislanguage = "Welsh"; }
 	else
     {
         $installer::logger::Lang->printf("NSIS language_converter : Could not find nsis
language for %s!\n", $language);



Mime
View raw message