Added reminder to update ../clitools/updtrans.bash when adding new languages
This commit is contained in:
parent
a7b745eb75
commit
c865c0289d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if (strlen($path)>0) {
|
|||
}
|
||||
}
|
||||
|
||||
$supplangs=['ca','en','es','fr','gl','it','uk'];// when adding a language here, it is necessary to add it also to "$menu" in this same file, to "$hlmap" in stats.php, to "$hitslang" and "$langs" in ../clitools/mustool.php, to function "langs" in ../clitools/crawler.php; and to run ../clitools/addlang.php <new language code> locally and on the server
|
||||
$supplangs=['ca','en','es','fr','gl','it','uk'];// when adding a language code here, it is necessary to add it also to "$menu" in this same file, to "$hlmap" in stats.php, to "$hitslang" and "$langs" in ../clitools/mustool.php, to "langs" in ../clitools/updtrans.bash, to function "langs" in ../clitools/crawler.php; and to run ../clitools/addlang.php <new language code> locally and on the server
|
||||
if (preg_match('#/('.implode('|',$supplangs).')$#',$path,$lang)===1) {
|
||||
$dlang=$lang[1];
|
||||
$path=substr($path,0,-3);
|
||||
|
|
Loading…
Reference in a new issue