Răsfoiți Sursa

Adding missing translation strings

Jaap Marcus 5 ani în urmă
părinte
comite
d5b0aa7794

+ 37 - 1
web/inc/i18n/en.php

@@ -785,7 +785,7 @@ $LANG['en'] = array(
     'IPSET_CREATED_OK' => 'Ipset created',
     'IPSET_CREATED_OK' => 'Ipset created',
     'DELETE_IPSET_CONFIRMATION' => 'Are you sure you want to delete Ipset %2',
     'DELETE_IPSET_CONFIRMATION' => 'Are you sure you want to delete Ipset %2',
     '1 Ipset list' => '1 Ipset list',
     '1 Ipset list' => '1 Ipset list',
-    '%s Ipset lists' => '%s Ipset lists'
+    '%s Ipset lists' => '%s Ipset lists',
     'There are currently no Ipset lists defined.' => 'There are currently no Ipset lists defined.',
     'There are currently no Ipset lists defined.' => 'There are currently no Ipset lists defined.',
     'list ipset' => 'Ipset',
     'list ipset' => 'Ipset',
     
     
@@ -795,8 +795,44 @@ $LANG['en'] = array(
     'Runtime' => 'Runtime',
     'Runtime' => 'Runtime',
     //Logs
     //Logs
     'Refresh' => 'Refresh',
     'Refresh' => 'Refresh',
+    'Time' => 'Time',
+    'Value' => 'Value',
+    
     //DNS 
     //DNS 
     'default' => 'default',
     'default' => 'default',
+    '1 DNS zone' => '1 DNS zone',
+    '%s DNS zones' => '%s DNS zones',
+    'Add Record' => 'Add Record',
+    //user
+    '1 user account' => '1 user account',
+    '%s user accounts' => '%s user accounts',
+    //database
+    '1 SQL database' => '1 SQL database',
+    '%s SQL databases' => '%s SQL databases',
+    //mail
+    '1 mail domain' => '1 mail domain',
+    '%s mail domains' => '%s mail domains',
+    //web
+    '1 web domain' => '1 web domain',
+    '%s web domains' => '%s web domains',
+    
     //rrd
     //rrd
     'Bandwidth Usage' => 'Bandwidth Usage',
     'Bandwidth Usage' => 'Bandwidth Usage',
+    
+    //reset
+    'Forgot Password' => 'Forgot Password',
+    //web
+    'Quick Install App' => 'Quick Install App',
+    //webapp 
+    'version' => 'version',
+    'Setup' => 'Setup',
+    //Server
+    'Restart' => 'Restart',
+    'Mail Server' => 'Mail Server',
+    'Enabled multi PHP versions' => 'Enabled multi PHP versions',
+    'Please wait while php is installed or removed' => 'Please wait while php is installed or removed',
+    //header
+    'Hestia Control Panel' => 'Hestia Control Panel',
+    
+    
 );
 );

+ 2 - 2
web/templates/admin/list_webapps.html

@@ -44,8 +44,8 @@
                     <span class="card-thumb"><img src="<?=$webapp['thumbnail']?>"></span>
                     <span class="card-thumb"><img src="<?=$webapp['thumbnail']?>"></span>
                     <div class="card-details">
                     <div class="card-details">
                         <p class="card-title"><?=$webapp['name']?></p>
                         <p class="card-title"><?=$webapp['name']?></p>
-                        <p>version: <?=$webapp['version']?></p>
-                        <a href="/add/webapp/?app=<?=$webapp['name']?>&domain=<?=$v_domain?>" class="ui-button cancel">Setup</a>
+                        <p><?=__('version')?>: <?=$webapp['version']?></p>
+                        <a href="/add/webapp/?app=<?=$webapp['name']?>&domain=<?=$v_domain?>" class="ui-button cancel"><?=__('Setup')?></a>
                     </div>
                     </div>
                 </div>
                 </div>
             <?php endforeach; ?>
             <?php endforeach; ?>

+ 1 - 1
web/templates/header.html

@@ -3,7 +3,7 @@
 <head>
 <head>
   <meta charset="utf-8">
   <meta charset="utf-8">
   <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
   <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
-  <title><?php echo $_SERVER['HTTP_HOST']; ?> - <?=__($TAB)?> - Hestia Control Panel</title>
+  <title><?php echo $_SERVER['HTTP_HOST']; ?> - <?=__($TAB)?> - <?=__('Hestia Control Panel');?></title>
   <link type="text/css" rel="stylesheet" href="/css/styles.min.css?1446554103" />
   <link type="text/css" rel="stylesheet" href="/css/styles.min.css?1446554103" />
   <link type="text/css" rel="stylesheet" href="/css/active-theme.css?1446554103" />
   <link type="text/css" rel="stylesheet" href="/css/active-theme.css?1446554103" />
   <link type="text/css" href="/css/animate.css?1446554103" rel="stylesheet" />
   <link type="text/css" href="/css/animate.css?1446554103" rel="stylesheet" />

+ 1 - 1
web/templates/login.html

@@ -5,7 +5,7 @@
                         <table>
                         <table>
                             <tr>
                             <tr>
                                 <td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
                                 <td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
-                                    <a href="/"><img border=0 src="/images/logo.png" alt="Hestia Control Panel" style="margin: 20px; margin-top: 40px;" /></a>
+                                    <a href="/"><img border=0 src="/images/logo.png" alt="<?=__('Hestia Control Panel');?>" style="margin: 20px; margin-top: 40px;" /></a>
                                 </td>
                                 </td>
                                 <td style="padding: 40px 60px 0 0;">
                                 <td style="padding: 40px 60px 0 0;">
                                     <form method="post" action="/login/" id="form_login">
                                     <form method="post" action="/login/" id="form_login">