[web] Updating main index to redirect to ro-RO instead of ro; this fixes redirects for Romanian language F

Pete Travis immanetize at fedoraproject.org
Wed Dec 18 04:17:38 UTC 2013


commit 2f2791b0ec7d42befb48db9bec25b1e98f255b9a
Author: Pete Travis <immanetize at fedoraproject.org>
Date:   Tue Dec 17 21:02:38 2013 -0700

    Updating main index to redirect to ro-RO instead of ro; this fixes redirects for Romanian language Firefox users, at least. ref BZ998327

 public_html/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/public_html/index.html b/public_html/index.html
index 9100bfd..039a9d2 100644
--- a/public_html/index.html
+++ b/public_html/index.html
@@ -16,7 +16,7 @@
 		lang = window.navigator.language;
 
 	var match = 0;
-	var locales = ["as-IN","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","da-DK","de-DE","el-GR","en-US","es-ES","fa-IR","fi-FI","fr-FR","gu-IN","he-IL","hi-IN","hu-HU","ia","id-ID","it-IT","ja-JP","kn-IN","ko-KR","lt-LT","ml-IN","mr-IN","nb-NO","nl-NL","or-IN","pa-IN","pl-PL","pt-BR","pt-PT","ro","ru-RU","sk-SK","sr-Latn-RS","sr-RS","sv-SE","ta-IN","te-IN","uk-UA","zh-CN","zh-TW"];
+	var locales = ["as-IN","bg-BG","bn-IN","bs-BA","ca-ES","cs-CZ","da-DK","de-DE","el-GR","en-US","es-ES","fa-IR","fi-FI","fr-FR","gu-IN","he-IL","hi-IN","hu-HU","ia","id-ID","it-IT","ja-JP","kn-IN","ko-KR","lt-LT","ml-IN","mr-IN","nb-NO","nl-NL","or-IN","pa-IN","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sk-SK","sr-Latn-RS","sr-RS","sv-SE","ta-IN","te-IN","uk-UA","zh-CN","zh-TW"];
 
 	if(lang) {
 		// Try for full match of lang_LOC


More information about the docs-commits mailing list