mirror of
https://github.com/unraid/webgui.git
synced 2026-04-28 05:49:35 -05:00
Multi-language support
This commit is contained in:
@@ -210,7 +210,7 @@ if ($method == 'install') {
|
||||
echo "language: $error\n";
|
||||
exit(1);
|
||||
}
|
||||
$lang = language('Language', $xml_file, $error) ?: str_replace('.xml', '', $name);
|
||||
$lang = language('Language', $xml_file, $error) ?: substr($name,0,-4);
|
||||
$link_file = "$plugins/dynamix.$name";
|
||||
$lang_file = "$boot/dynamix.$name";
|
||||
copy($xml_file, $lang_file);
|
||||
|
||||
Reference in New Issue
Block a user