You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2018/01/06 18:03:38 UTC

svn commit: r1820412 - /openoffice/ooo-site/trunk/content/branding/scripts/lang-detect.js

Author: mseidel
Date: Sat Jan  6 18:03:38 2018
New Revision: 1820412

URL: http://svn.apache.org/viewvc?rev=1820412&view=rev
Log:
Modified language detection for Ukrainian

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=1820412&r1=1820411&r2=1820412&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 18:03:38 2018
@@ -166,8 +166,7 @@ function write() {
 		langName = "ไทย";
 	} else if (langCode == "tr") {
 		langName = "Türkçe";
-	} else if (langCode == "ua" || langCode == "uk") {
-		langCode = "ua";
+	} else if (langCode == "uk") {
 		langName = "Українська";
 	} else if (langCode == "uz") {
 		langName = "O‘zbek";
@@ -186,4 +185,4 @@ function write() {
 			languageProjects.innerHTML = newHTML;
 		}
 	}
-}
\ No newline at end of file
+}