This is an automated email from the ASF dual-hosted git repository. marcus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openoffice-org.git
commit d937d727cc22e7d9aa962f6567877b7ad06c3ae7 Author: Marcus <[email protected]> AuthorDate: Fri May 14 11:05:42 2021 +0200 Fixed spacing --- content/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/index.html b/content/index.html index f6521f1..d4c91ac 100644 --- a/content/index.html +++ b/content/index.html @@ -145,10 +145,10 @@ lang_iso = "pt"; } - // Fix for Norwegian to map both "nb" and "nn" -> "nb", then after looking up globalvars we change "nb" -> "no" - if( lang_iso === "no" || lang_iso === "no-NO" || lang_iso === "nn" || lang_iso === "nb-NO" || lang_iso === "nn-NO" ) { - lang_iso = "nb"; - } + // Fix for Norwegian to map both "nb" and "nn" -> "nb", then after looking up globalvars we change "nb" -> "no" + if( lang_iso === "no" || lang_iso === "no-NO" || lang_iso === "nn" || lang_iso === "nb-NO" || lang_iso === "nn-NO" ) { + lang_iso = "nb"; + } // Query if the browser language is one of the released languages. // The array has 3 elements per language (defined in "/download/globalvars.js" @@ -181,10 +181,10 @@ lang_iso = ""; } - // Fix for Norwegian, since Download language is "nb" but site language is "no". - if( lang_iso === "nb" ) { - lang_iso = "no"; - } + // Fix for Norwegian, since Download language is "nb" but site language is "no". + if( lang_iso === "nb" ) { + lang_iso = "no"; + } switch( lang_mode ) { case "hard":
