mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 05:30:07 -06:00
Multi-language support
This commit is contained in:
@@ -16,7 +16,7 @@ Code="e982"
|
||||
*/
|
||||
?>
|
||||
<script>
|
||||
<?if (count(glob('/var/log/plugins/lang-*.xml'))==0 || $locale==''):?>
|
||||
<?if (!$locale):?>
|
||||
// hide switch button when no other language packs
|
||||
$(function(){$('#nav-item.LanguageButton').hide();});
|
||||
<?endif;?>
|
||||
|
||||
Reference in New Issue
Block a user