mirror of
https://github.com/unraid/webgui.git
synced 2026-04-30 14:59:22 -05:00
Multi-language support
This commit is contained in:
@@ -12,12 +12,16 @@
|
||||
?>
|
||||
<?
|
||||
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
// add translations
|
||||
$_SERVER['REQUEST_URI'] = 'docker';
|
||||
require_once "$docroot/webGui/include/Translations.php";
|
||||
|
||||
require_once "$docroot/webGui/include/Helpers.php";
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Container Size</title>
|
||||
<title><?=_('Container Size')?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
@@ -55,6 +59,6 @@ $(function(){
|
||||
<body style='margin:20px'>
|
||||
<div class="spinner"></div>
|
||||
<pre id="data"></pre>
|
||||
<div class="button"><input type="button" value="Done" onclick="top.Shadowbox.close()"></div>
|
||||
<div class="button"><input type="button" value="<?=_('Done')?>" onclick="top.Shadowbox.close()"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user