Skip to content

Commit 22cc9d8

Browse files
committed
- Updated various language files.
1 parent df5fe9a commit 22cc9d8

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

interface/web/tools/dns_resync.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
// Resyncing dns zones
4747
if(isset($_POST['resync']) && $_POST['resync'] == 1) {
4848
$zones = $app->db->queryAllRecords("SELECT id,origin,serial FROM dns_soa WHERE active = 'Y'");
49-
if(is_array($zones)) {
49+
if(is_array($zones) && !empty($zones)) {
5050
foreach($zones as $zone) {
5151
$records = $app->db->queryAllRecords("SELECT id,serial FROM dns_rr WHERE zone = ".$zone['id']." AND active = 'Y'");
5252
if(is_array($records)) {
@@ -60,6 +60,8 @@
6060
$app->db->datalogUpdate('dns_soa', "serial = '".$new_serial."'", 'id', $zone['id']);
6161
$msg .= "Resynced: ".$zone['origin'].'<br />';
6262
}
63+
} else {
64+
$error .= "No zones found to sync.<br />";
6365
}
6466

6567
}

interface/web/tools/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
//* Check permissions for module
4646
$app->auth->check_module_permissions('tools');
4747

48-
echo '<h2 class="frmTextHead">'.$app->lng('ISPConfig Tools').'</h2>';
48+
echo '<h2 class="frmTextHead">'.$app->lng('ISPConfig Tools').'</h2><p>'.$app->lng('ispconfig_tools_note').'</p>';
4949

5050
?>

interface/web/tools/lib/lang/de.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ $wb['User Settings'] = 'Benutzereinstellungen';
33
$wb['Settings'] = 'Einstellungen';
44
$wb['ISPConfig Tools'] = 'Einstellungen';
55
$wb['Password and Language'] = 'Passwort und Sprache';
6+
$wb['ispconfig_tools_note'] = 'Dieses Modul erlaubt Ihnen, das Passwort und die Sprache zu &auml;ndern sowie einen Resync der DNS-Records anzusto&szlig;en.';
67
?>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
$wb['passwort_txt'] = 'Passwort';
33
$wb['language_txt'] = 'Sprache';
4-
$wb['password_mismatch'] = 'Die Passwörter stimmen nicht überein.';
5-
$wb['password_strength_txt'] = 'Passwortkomplexität';
6-
$wb['Form to edit the user password and language.'] = 'Formular, um das Benutzerpasswort, die Sprache und die authentication zu bearbeiten.';
4+
$wb['password_mismatch'] = 'Die Passw&ouml;rter stimmen nicht &uuml;berein.';
5+
$wb['password_strength_txt'] = 'Passwortkomplexit&auml;t';
6+
$wb['Form to edit the user password and language.'] = 'Formular, um das Benutzerpasswort und die Sprache zu bearbeiten.';
77
$wb['Settings'] = 'Einstellungen';
88
?>

interface/web/tools/lib/lang/en.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ $wb['User Settings'] = 'User Settings';
33
$wb['Settings'] = 'Settings';
44
$wb['ISPConfig Tools'] = 'ISPConfig Tools';
55
$wb['Password and Language'] = 'Password and Language';
6+
$wb['ispconfig_tools_note'] = 'This module allows you to change the password and language and to start a resync of the DNS records.';
67
?>

interface/web/tools/lib/lang/en_usersettings.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ $wb["passwort_txt"] = 'Password';
33
$wb["password_strength_txt"] = 'Password strength';
44
$wb["language_txt"] = 'Language';
55
$wb["password_mismatch"] = 'The password in the second password field does not match the first password.';
6-
$wb["Form to edit the user password and language."] = 'Form to edit the user password, language, and authentication.';
6+
$wb["Form to edit the user password and language."] = 'Form to edit the user password and language.';
77
$wb["Settings"] = 'Settings';
88
?>

interface/web/tools/templates/dns_resync.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h2><tmpl_var name="list_head_txt"></h2>
1+
<h2>DNS Resync</h2>
22
<p><tmpl_var name="list_desc_txt"></p>
33

44
<div class="panel panel_language_import">

0 commit comments

Comments
 (0)