Multi-language support

This commit is contained in:
bergware
2020-05-14 23:23:29 +02:00
parent 073f11c8c0
commit 847fb1aeba
+1 -1
View File
@@ -16,7 +16,7 @@ Code="e982"
*/
?>
<script>
<?if (count(glob('/var/log/plugins/lang-*.xml'))==0):?>
<?if (count(glob('/var/log/plugins/lang-*.xml'))==0 || $locale==''):?>
// hide switch button when no other language packs
$(function(){$('#nav-item.LanguageButton').hide();});
<?endif;?>