You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2014/07/13 00:27:08 UTC

svn commit: r915997 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/index_redirect.html

Author: buildbot
Date: Sat Jul 12 22:27:07 2014
New Revision: 915997

Log:
Staging update by buildbot for ooo-site

Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/index_redirect.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 12 22:27:07 2014
@@ -1 +1 @@
-1610074
+1610076

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 12 22:27:07 2014
@@ -1 +1 @@
-1610074
+1610076

Modified: websites/staging/ooo-site/trunk/content/index_redirect.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/index_redirect.html (original)
+++ websites/staging/ooo-site/trunk/content/index_redirect.html Sat Jul 12 22:27:07 2014
@@ -105,11 +105,11 @@
 	lang_iso = DL.getLanguage();
 
 	// Query if the browser language is one of the released languages.
-	for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 2 ) {
+	for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 3 ) {
 
 		// If the language was found, set found = true.
 		if( DL.SEL_LANG[ i ] === lang_iso ) {
-			lang_name = DL.SEL_LANG[ i + 1 ]
+			lang_name = DL.SEL_LANG[ i + 1 ] + " - " + DL.SEL_LANG[ i + 2 ];
 
 			// Query if the released language is one of the redirect languages.
 			for( var k = 0, l = lang_to_redirect.length; k < l; k++ ) {