openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msei...@apache.org
Subject svn commit: r1820417 - /openoffice/ooo-site/trunk/content/branding/scripts/lang-detect.js
Date Sat, 06 Jan 2018 19:10:54 GMT
Author: mseidel
Date: Sat Jan  6 19:10:54 2018
New Revision: 1820417

URL: http://svn.apache.org/viewvc?rev=1820417&view=rev
Log:
Re-added "ua" to Ukrainian language code detection

Modified:
    openoffice/ooo-site/trunk/content/branding/scripts/lang-detect.js

Modified: openoffice/ooo-site/trunk/content/branding/scripts/lang-detect.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/branding/scripts/lang-detect.js?rev=1820417&r1=1820416&r2=1820417&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/branding/scripts/lang-detect.js (original)
+++ openoffice/ooo-site/trunk/content/branding/scripts/lang-detect.js Sat Jan  6 19:10:54
2018
@@ -166,7 +166,8 @@ function write() {
 		langName = "ไทย";
 	} else if (langCode == "tr") {
 		langName = "Türkçe";
-	} else if (langCode == "uk") {
+	} else if (langCode == "uk" || langCode == "ua") {
+		langCode = "uk";
 		langName = "Українська";
 	} else if (langCode == "uz") {
 		langName = "O‘zbek";



Mime
View raw message