Skip to content

Commit ecb8730

Browse files
committed
- Added missing error messages in language files.
1 parent 43ce66d commit ecb8730

20 files changed

+95
-3
lines changed

interface/web/client/form/client.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@
570570
'datatype' => 'INTEGER',
571571
'formtype' => 'TEXT',
572572
'validators' => array ( 0 => array ( 'type' => 'ISINT',
573-
'errmsg'=> 'limit_dns_zone_error_notint'),
573+
'errmsg'=> 'limit_dns_record_error_notint'),
574574
),
575575
'default' => '-1',
576576
'value' => '',

interface/web/client/lib/lang/en_client.lng

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,27 @@ $wb["limit_dns_zone_txt"] = 'Max. number of DNS zones';
5555
$wb["limit_dns_record_txt"] = 'Max. number DNS records';
5656
$wb["limit_shell_user_txt"] = 'Max. number of Shell users';
5757
$wb["limit_client_txt"] = 'Max. number of Clients';
58+
$wb["username_error_empty"] = 'Username is empty.';
59+
$wb["username_error_unique"] = 'The username must be unique.';
60+
$wb["limit_maildomain_error_notint"] = 'The email domain limit must be a number.';
61+
$wb["limit_mailbox_error_notint"] = 'The mailbox limit must be a number.';
62+
$wb["limit_mailalias_error_notint"] = 'The email alias limit must be a number.';
63+
$wb["limit_mailforward_error_notint"] = 'The email forward limit must be a number.';
64+
$wb["limit_mailcatchall_error_notint"] = 'The email catchall limit must be a number.';
65+
$wb["limit_mailrouting_error_notint"] = 'The email routing limit must be a number.';
66+
$wb["limit_mailfilter_error_notint"] = 'The email filter limit must be a number.';
67+
$wb["limit_mailfetchmail_error_notint"] = 'The fetchmail limit must be a number.';
68+
$wb["limit_mailquota_error_notint"] = 'The email quota limit must be a number.';
69+
$wb["limit_spamfilter_wblist_error_notint"] = 'The spamfilter white / blacklist limit must be a number.';
70+
$wb["limit_spamfilter_user_error_notint"] = 'The spamfilter user limit must be a number.';
71+
$wb["limit_spamfilter_policy_error_notint"] = 'The spamfilter policy limit must be a number.';
72+
$wb["limit_web_domain_error_notint"] = 'The website limit must be a number.';
73+
$wb["limit_web_aliasdomain_error_notint"] = 'The website alias domain limit must be a number.';
74+
$wb["limit_web_subdomain_error_notint"] = 'The website subdomain limit must be a number.';
75+
$wb["limit_ftp_user_error_notint"] = 'The ftp user limit must be a number.';
76+
$wb["limit_shell_user_error_notint"] = 'The shell user limit must be a number.';
77+
$wb["limit_dns_zone_error_notint"] = 'The dns zone limit must be a number.';
78+
$wb["limit_dns_zone_error_notint"] = 'The dns record limit must be a number.';
79+
$wb["limit_client_error_notint"] = 'The sub client limit must be a number.';
5880

5981
?>

interface/web/dns/lib/lang/en_dns_a.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ $wb["btn_save_txt"] = 'Save';
1010
$wb["btn_cancel_txt"] = 'Cancel';
1111
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
1212
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
13+
$wb["name_error_empty"] = 'The hostname is empty.';
14+
$wb["name_error_regex"] = 'The hostname has the wrong format.';
15+
$wb["data_error_empty"] = 'IP-Address empty';
16+
$wb["data_error_regex"] = 'IP-Address format invalid';
1317
?>

interface/web/dns/lib/lang/en_dns_alias.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ $wb["btn_save_txt"] = 'Save';
1010
$wb["btn_cancel_txt"] = 'Cancel';
1111
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
1212
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
13+
$wb["name_error_empty"] = 'The hostname is empty.';
14+
$wb["name_error_regex"] = 'The hostname has the wrong format.';
15+
$wb["data_error_empty"] = 'Target hostname empty';
16+
$wb["data_error_regex"] = 'Target hostname format invalid';
1317
?>

interface/web/dns/lib/lang/en_dns_cname.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ $wb["btn_save_txt"] = 'Save';
1010
$wb["btn_cancel_txt"] = 'Cancel';
1111
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
1212
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
13+
$wb["name_error_empty"] = 'The hostname is empty.';
14+
$wb["name_error_regex"] = 'The hostname has the wrong format.';
15+
$wb["data_error_empty"] = 'Target hostname empty';
16+
$wb["data_error_regex"] = 'Target hostname format invalid';
1317
?>

interface/web/dns/lib/lang/en_dns_hinfo.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ $wb["btn_save_txt"] = 'Save';
1010
$wb["btn_cancel_txt"] = 'Cancel';
1111
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
1212
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
13+
$wb["name_error_empty"] = 'The hostname is empty.';
14+
$wb["name_error_regex"] = 'The hostname has the wrong format.';
15+
$wb["data_error_empty"] = 'Host information empty';
16+
$wb["data_error_regex"] = 'Host Information format invalid';
1317
?>

interface/web/dns/lib/lang/en_dns_mx.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ $wb["btn_save_txt"] = 'Save';
1111
$wb["btn_cancel_txt"] = 'Cancel';
1212
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
1313
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
14+
$wb["name_error_empty"] = 'The hostname is empty.';
15+
$wb["name_error_regex"] = 'The hostname has the wrong format.';
16+
$wb["data_error_empty"] = 'Mailserver hostname empty';
17+
$wb["data_error_regex"] = 'Mailserver hostname format invalid';
1418
?>

interface/web/dns/lib/lang/en_dns_ns.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ $wb["btn_save_txt"] = 'Save';
1010
$wb["btn_cancel_txt"] = 'Cancel';
1111
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
1212
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
13+
$wb["name_error_empty"] = 'The zone is empty.';
14+
$wb["name_error_regex"] = 'The zone has the wrong format.';
15+
$wb["data_error_empty"] = 'Nameserver empty';
16+
$wb["data_error_regex"] = 'Nameserver format invalid';
1317
?>

interface/web/dns/lib/lang/en_dns_ptr.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ $wb["btn_save_txt"] = 'Save';
1010
$wb["btn_cancel_txt"] = 'Cancel';
1111
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
1212
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
13+
$wb["name_error_empty"] = 'The name is empty.';
14+
$wb["name_error_regex"] = 'The name has the wrong format.';
15+
$wb["data_error_empty"] = 'Canonical hostname empty';
16+
$wb["data_error_regex"] = 'Canonical hostname format invalid';
1317
?>

interface/web/dns/lib/lang/en_dns_rp.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ $wb["btn_save_txt"] = 'Save';
1010
$wb["btn_cancel_txt"] = 'Cancel';
1111
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
1212
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
13+
$wb["name_error_empty"] = 'The hostname is empty.';
14+
$wb["name_error_regex"] = 'The hostname has the wrong format.';
15+
$wb["data_error_empty"] = 'Responsible person field empty';
16+
$wb["data_error_regex"] = 'Responsible person field format invalid';
1317
?>

0 commit comments

Comments
 (0)