diff --git a/web/lib/supplangs.php b/web/lib/supplangs.php index 845cab2..742eafd 100644 --- a/web/lib/supplangs.php +++ b/web/lib/supplangs.php @@ -1,6 +1,6 @@ " locally and on the server --- it is *no longer necessary* to modify "$menu" variable in "../index.php", "$hlmap" variable in "../stats.php", "$hitslang" and "$langs" variables in "../../clitools/mustool.php" and "getlangid" function in "../../clitools/getinstinfo.php" +// when adding a language code here, it is necessary to add it to the "localemap" function in localemap.php, and to add it to "langs" variable in "../../clitools/updtrans.bash" (if missing), and to run "../../clitools/addlang.php " locally and on the server --- it is *no longer necessary* to modify "$menu" variable in "../index.php", "$hlmap" variable in "../stats.php", "$hitslang" and "$langs" variables in "../../clitools/mustool.php" and "getlangid" function in "../../clitools/getinstinfo.php" $supplangs=[ /* 'ca'=>['orname'=>'Català','trname'=>_('Catalan')], @@ -10,7 +10,8 @@ $supplangs=[ 'fr'=>['orname'=>'Français','trname'=>_('French')], 'gl'=>['orname'=>'Galego','trname'=>_('Galician')],*/ 'it'=>['orname'=>'Italiano','trname'=>_('Italian')], -/* 'pt_BR'=>['orname'=>'Português (BR)','trname'=>_('Portuguese (BR)')], +/* 'pt'=>['orname'=>'Português','trname'=>_('Portuguese')], + 'pt_BR'=>['orname'=>'Português (BR)','trname'=>_('Portuguese (BR)')], 'uk'=>['orname'=>'Українська','trname'=>_('Ukrainian')]*/ ];