mirror of
https://github.com/unraid/webgui.git
synced 2026-01-15 22:19:58 -06:00
Multi-language support
This commit is contained in:
@@ -25,6 +25,7 @@ require_once "$docroot/plugins/dynamix.plugin.manager/include/PluginHelpers.php"
|
||||
<style>
|
||||
span#dropbox{margin-right:20px;}
|
||||
i.top{position:relative;padding-left:4px;cursor:pointer;}
|
||||
select.fixed{max-width:166px}
|
||||
</style>
|
||||
|
||||
<script src="<?autov('/webGui/javascript/jquery.filedrop.js')?>"></script>
|
||||
@@ -132,7 +133,7 @@ $(function() {
|
||||
<input type="hidden" name="#section" value="display">
|
||||
<input type="hidden" name="rtl" value="<?=$display['rtl']?>">
|
||||
_(Language)_:
|
||||
: <select name="locale" onchange="updateDirection(this.value)">
|
||||
: <select name="locale" class="fixed" onchange="updateDirection(this.value)">
|
||||
<?echo mk_option($display['locale'], "","English");
|
||||
foreach (glob("$plugins/lang-*.xml",GLOB_NOSORT) as $xml_file) {
|
||||
$lang = language('Language', $xml_file);
|
||||
|
||||
Reference in New Issue
Block a user