Author: marcus
Date: Sat Jul 12 22:26:17 2014
New Revision: 1610076

URL: http://svn.apache.org/r1610076
Log:
Increased the counter as the array has now 3 elements per row, changed 
assembling the language name string

Modified:
    openoffice/ooo-site/trunk/content/index_redirect.html

Modified: openoffice/ooo-site/trunk/content/index_redirect.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index_redirect.html?rev=1610076&r1=1610075&r2=1610076&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index_redirect.html (original)
+++ openoffice/ooo-site/trunk/content/index_redirect.html Sat Jul 12 22:26:17 
2014
@@ -103,11 +103,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++ 
) {


Reply via email to