[www-doc] [Git][VideoLAN.org/websites][master] update header.php

Konstantin Pavlov gitlab at videolan.org
Fri Mar 26 17:37:37 UTC 2021



Konstantin Pavlov pushed to branch master at VideoLAN organization / websites


Commits:
a235aa9a by MichaƂ Trzebiatowski at 2021-03-26T17:37:31+00:00
update header.php

- - - - -


1 changed file:

- www.videolan.org/include/header.php


Changes:

=====================================
www.videolan.org/include/header.php
=====================================
@@ -6,9 +6,10 @@ function getLocaleFromLanguage( $language )
 {
     switch ($language) {
     case 'af': $locale = "af_ZA.utf8"; break;
-    case 'am-ET': $locale = "am_ET.utf8"; break;
+    case 'am': $locale = "am_ET.utf8"; break;
     case 'an': $locale = "an_ES.utf8"; break;
     case 'ar': $locale = "ar_EG.utf8"; break;
+    case 'as-IN': $locale = "as_IN.utf8"; break;
     case 'ast': $locale = "ast_ES.utf8"; break;
     case 'az': $locale = "az_AZ.utf8"; break;
     case 'be': $locale = "be_BY.utf8"; break;
@@ -58,12 +59,13 @@ function getLocaleFromLanguage( $language )
     case 'lv': $locale = "lv_LV.utf8"; break;
     case 'mk': $locale = "mk_MK.utf8"; break;
     case 'ml': $locale = "ml_IN.utf8"; break;
-    case 'mn-MN': $locale = "mn_MN.utf8"; break;
+    case 'mn': $locale = "mn_MN.utf8"; break;
     case 'mr': $locale = "mr_IN.utf8"; break;
     case 'ms': $locale = "ms_MY.utf8"; break;
     case 'my': $locale = "my_MM.utf8"; break;
+    case 'my-MM': $locale = "my_MM.utf8"; break;
     case 'nb': $locale = "nb_NO.utf8"; break;
-    case 'ne-NP': $locale = "ne_NP.utf8"; break;
+    case 'ne': $locale = "ne_NP.utf8"; break;
     case 'nl': $locale = "nl_NL.utf8"; break;
     case 'nn': $locale = "nn_NO.utf8"; break;
     case 'or': $locale = "or_IN.utf8"; break;



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/a235aa9ad338dfb91fb7840a82643e22b9651ccd

-- 
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/a235aa9ad338dfb91fb7840a82643e22b9651ccd
You're receiving this email because of your account on code.videolan.org.




More information about the www-doc mailing list