Просмотр исходного кода

Merge branch 'fix-ui-strings-0705' into refactor-ui

Kristan Kenney 5 лет назад
Родитель
Сommit
87d40bff1c

+ 11 - 0
web/inc/i18n/de.php

@@ -846,4 +846,15 @@ $LANG['de'] = array(
     
     //header
     'Hestia Control Panel' => 'Hestia Control Panel',
+
+    // Set default language
+    'SYSTEM_SET_DEFAULT_LANGUAGE' => 'Als Standardsprache für alle Benutzer festlegen',
+    
+        //2FA 
+    'Forgot token' => 'Token vergessen',
+    '2FA Token' => '2FA Token',
+    '2FA Reset successfully' => '2FA Token wurde mit Erfolg zurückgesetzt. Sie können sich jetzt erneut anmelden',
+    'Reset 2FA' => '2FA zurücksetzen',
+    '2FA Reset Code' => 'Kontowiederherstellungscode',
+    'Invalid or missing token' => 'Ungültiger oder fehlender Kontowiederherstellungscode',  
 );

+ 10 - 0
web/inc/i18n/en.php

@@ -849,4 +849,14 @@ $LANG['en'] = array(
     //header
     'Hestia Control Panel' => 'Hestia Control Panel',
 
+    // Set default language
+    'SYSTEM_SET_DEFAULT_LANGUAGE' => 'Set as default language for all users',
+    
+    //2FA 
+    'Forgot token' => 'Forgot token',
+    '2FA Token' => '2FA Token',
+    '2FA Reset successfully' => '2FA Token has been reset with success. You are now able to login again',
+    'Reset 2FA' => 'Reset 2FA',
+    '2FA Reset Code' => 'Account Recovery Code',
+    'Invalid or missing token' => 'Invalid or missing token',
 );

+ 11 - 1
web/inc/i18n/fr.php

@@ -851,5 +851,15 @@ $LANG['fr'] = array(
     
     //header
     'Hestia Control Panel' => 'Hestia Control Panel',
-
+    
+    // Set default language
+    'SYSTEM_SET_DEFAULT_LANGUAGE' => 'Définir comme langue par défaut pour tous les utilisateurs',
+    
+    //2FA 
+    'Forgot token' => 'Jeton oublié',
+    '2FA Token' => 'Jeton 2FA',
+    '2FA Reset successfully' => 'Le jeton 2FA a été réinitialisé avec succès. Vous pouvez maintenant vous reconnecter',
+    'Reset 2FA' => 'Réinitialiser le jeton 2FA',
+    '2FA Reset Code' => 'Code de récupération de compte',
+    'Invalid or missing token' => 'Jeton non valide ou manquant',
 );

+ 10 - 0
web/inc/i18n/it.php

@@ -848,4 +848,14 @@ $LANG['it'] = array(
     //header
     'Hestia Control Panel' => 'Hestia Control Panel',
 
+    // Set default language
+    'SYSTEM_SET_DEFAULT_LANGUAGE' => 'Imposta come lingua predefinita per tutti gli utenti',
+    
+        //2FA 
+    'Forgot token' => 'Codice dimenticato',
+    '2FA Token' => 'Codice 2fa',
+    '2FA Reset successfully' => 'Il codice 2FA è stato ripristinato correttamente. Ora puoi accedere di nuovo',
+    'Reset 2FA' => 'Reimposta il codice 2FA',
+    '2FA Reset Code' => 'Codice di recupero dell\'account',
+    'Invalid or missing token' => 'Codice non valido o mancante',
 );

+ 14 - 3
web/inc/i18n/nl.php

@@ -515,7 +515,7 @@ $LANG['nl'] = array(
     'USER_EXCLUSIONS' => 'Type mapnaam, één per mijn. Om alle mappen uit te sluiten gebruik *',
 
 
-    'Welcome to Hestia Control Panel'  => 'Welkom bij het Hestia Controlepaneel',
+    'Welcome to Hestia Control Panel'  => 'Welkom bij HestiaCP',
     'MAIL_FROM'  => 'Hestia Controlepaneel <noreply@%s>',
     'GREETINGS_GORDON_FREEMAN' => "Hallo %s %s,\n",
     'GREETINGS' => "Hallo,\n",
@@ -527,7 +527,7 @@ $LANG['nl'] = array(
     'Database Credentials'  => 'Database gegevens',
     'DATABASE_READY' => "De database is succesvol aangemaakt en klaar voor gebruik.\n\nDatabase: %s\nGebruiker: %s\nWachtwoord: %s\n%s\n\n--\nHestia Controlepaneel\n",
 
-    'forgot password'  => 'Wachtwoord vergeten',
+    'forgot password'  => 'Vergeten',
     'Confirm'  => 'Bevestig',
     'New Password'  => 'Nieuw wachtwoord',
     'Confirm Password'  => 'Bevestig wachtwoord',
@@ -834,7 +834,7 @@ $LANG['nl'] = array(
     'Bandwidth Usage' => 'Dataverkeer verbuik',
     
     //reset
-    'Forgot Password' => 'Wachtwoord vergeten',
+    'Forgot Password' => 'Wachtwoord Vergeten',
     //web
     'Quick Install App' => 'Quick Install App',
     //webapp 
@@ -849,4 +849,15 @@ $LANG['nl'] = array(
     
     //header
     'Hestia Control Panel' => 'Hestia Control Panel',
+    
+    // Set default language
+    'SYSTEM_SET_DEFAULT_LANGUAGE' => 'Stel standaard taal in voor alle gebruikers',
+    
+        //2FA 
+    'Forgot token' => 'Token vergeten',
+    '2FA Token' => '2FA Token',
+    '2FA Reset successfully' => '2FA is met success gereset. Je kunt nu normaal inloggen.',
+    'Reset 2FA' => 'Herstel 2FA Code',
+    '2FA Reset Code' => 'Account Herstel Code',
+    'Invalid or missing token' => 'Ongeldige of geen token',
 );

+ 1 - 1
web/templates/admin/edit_server.html

@@ -146,7 +146,7 @@
                                         </tr>
                                         <tr>
                                         <td class="vst-text input-label">
-                                                <label><input type="checkbox" size="20" class="vst-checkbox" name="v_language_update"><?php print __('update');?> <?php print __('Users');?> <?php print __('Default Language');?></label>
+                                                <label><input type="checkbox" size="20" class="vst-checkbox" name="v_language_update"><?php print __('SYSTEM_SET_DEFAULT_LANGUAGE');?></label>
                                                 <br><br>
                                             </td>
                                         </tr>

+ 1 - 1
web/templates/login.html

@@ -46,7 +46,7 @@
                                                 <?php print __('2FA Token');?>
                                                 <span style="padding:0 0 0 10px;">
                                                     <a tabindex="5" class="vst-advanced" href="/reset2fa/">
-                                                        <?php print __('forgot token');?>
+                                                        <?php print __('Forgot token');?>
                                                     </a>
                                                 </span>
                                             </td>

+ 1 - 1
web/templates/reset2fa.html

@@ -12,7 +12,7 @@
                                         <table class="login-box">
                                             <tr>
                                             <td style="padding: 12px 0 0 2px;">
-                                            <?php print __('2FA Reset successfully.'); ?>
+                                            <?php print __('2FA Reset successfully'); ?>
                                             </td>
                                             </tr>
                                         </table>