Multi-language support

This commit is contained in:
bergware
2020-03-15 13:39:04 +01:00
parent d9288055bc
commit 1f92d82900
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -72,8 +72,7 @@ function tab_title($name,$path,$tag) {
foreach (explode(' ',$name) as $word) $text[] = my_lang(my_disk($word),3);
$name = implode(' ',$text);
} elseif (substr($name,0,9)=='Interface') {
[$p1,$p2] = explode(' ',$name);
$name = rtrim(_($p1).' '._($p2));
$name = my_lang($name,3);
} else {
$name = _($name);
}