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 19:10:54 UTC

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

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";