[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 16:33:55 UTC 2013


commit dd97beee7289cc5fce5d9e438a66d8ad1c95f74f
Author: Pete Travis <immanetize at fedoraproject.org>
Date:   Wed Dec 18 09:20:24 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