mirror of
https://github.com/unraid/webgui.git
synced 2026-05-06 20:30:50 -05:00
Multi-language support
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
Menu="Buttons"
|
||||
Title="English"
|
||||
Icon="icon-u-switch"
|
||||
Code="e982"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2020, Lime Technology
|
||||
* Copyright 2012-2020, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*/
|
||||
?>
|
||||
<script>
|
||||
function LanguageButton() {
|
||||
$.post('/webGui/include/LanguageReset.php',{},function(){refresh();});
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?PHP
|
||||
/* Copyright 2005-2020, Lime Technology
|
||||
* Copyright 2012-2020, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
exec("sed -ri 's/^(locale=\")[^\"]+/\\1/' /boot/config/plugins/dynamix/dynamix.cfg");
|
||||
?>
|
||||
Reference in New Issue
Block a user