andre 5 місяців тому
батько
коміт
3fff254b94
2 змінених файлів з 7 додано та 4 видалено
  1. 4 4
      app/UI/Client/Setting/Forms/EditSettingForm.php
  2. 3 0
      langs/german.php

+ 4 - 4
app/UI/Client/Setting/Forms/EditSettingForm.php

@@ -44,10 +44,10 @@ class EditSettingForm extends BaseForm implements ClientArea
 
 
     public function initFields()
     public function initFields()
     {
     {
-        //        $message = di('lang')->absoluteT('dnseditmessage');
-        $message = 'Einstellungen für <b id="editalertmaildomain" class="lu-alert--lg"></b><br><br>
-            &#10069; Falsche DNS Einträge führen zu Schwierigkeiten beim Empfange und Versenden von E-Mails. Um sicherzustellen,
-            das Ihr Mailserver richtig funktioniert, übernehmen Sie am besten unsere Empfehlungen.';
+        di('lang')->absoluteT('dnseditmessage') ? $message = di('lang')->absoluteT('dnseditmessage') :
+        $message  = 'Settings for <b id="editalertmaildomain" class="lu-alert--lg"></b><br><br>
+            &#10069; Incorrect DNS entries lead to difficulties sending and receiving emails. 
+            To ensure that your mail server is functioning properly, it\'s best to follow our recommendations.';
         $this->addInternalAlert($message, 'warning', 100);
         $this->addInternalAlert($message, 'warning', 100);
 
 
         $field = new Hidden();
         $field = new Hidden();

+ 3 - 0
langs/german.php

@@ -372,6 +372,9 @@ $_LANG['dnsinfomessage'] = 'DNS Information für <b id="infoalertmaildomain" cla
                     <input type="text" value="Aktueller Wert" readonly="readonly" class="lu-form-control" style="">
                     <input type="text" value="Aktueller Wert" readonly="readonly" class="lu-form-control" style="">
                 </div>
                 </div>
             </div>';
             </div>';
+$_LANG['dnseditmessage']  = 'Einstellungen für <b id="editalertmaildomain" class="lu-alert--lg"></b><br><br>
+            &#10069; Falsche DNS Einträge führen zu Schwierigkeiten beim Empfange und Versenden von E-Mails. Um sicherzustellen,
+            das Ihr Mailserver richtig funktioniert, übernehmen Sie am besten unsere Empfehlungen.';
 $_LANG['kerio']['account']['status']['active'] = 'Aktiv';
 $_LANG['kerio']['account']['status']['active'] = 'Aktiv';
 $_LANG['kerio']['account']['status']['locked'] = 'Blockiert';
 $_LANG['kerio']['account']['status']['locked'] = 'Blockiert';
 $_LANG['kerio']['account']['status']['maintenance'] = 'Maintenance';
 $_LANG['kerio']['account']['status']['maintenance'] = 'Maintenance';