From 9d02f3fe3a905216e647a904b747e4f3bddc1c05 Mon Sep 17 00:00:00 2001
From: cfoe <cfoe@ispconfig3>
Date: Wed, 18 Jul 2012 09:45:42 +0000
Subject: [PATCH] added missing lang_vars -> removed hardcoded
 language-specific text

---
 interface/web/client/lib/lang/bg_reseller.lng         | 2 +-
 interface/web/client/lib/lang/de_client.lng           | 6 ++++--
 interface/web/client/lib/lang/de_reseller.lng         | 4 +++-
 interface/web/client/lib/lang/de_resellers_list.lng   | 2 +-
 interface/web/client/lib/lang/en_client.lng           | 2 ++
 interface/web/client/lib/lang/en_reseller.lng         | 2 ++
 interface/web/client/templates/client_edit_limits.htm | 4 ++--
 7 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/interface/web/client/lib/lang/bg_reseller.lng b/interface/web/client/lib/lang/bg_reseller.lng
index 1e2508bd77..a65a3830be 100644
--- a/interface/web/client/lib/lang/bg_reseller.lng
+++ b/interface/web/client/lib/lang/bg_reseller.lng
@@ -95,7 +95,7 @@ $wb['limit_traffic_quota_txt'] = 'Трафик квота';
 $wb['limit_trafficquota_error_notint'] = 'Трафик квота трябва да е число';
 $wb['customer_no_txt'] = 'Customer No.';
 $wb['vat_id_txt'] = 'ДДС номер';
-$wb['required_fields_txt'] = '* Задължителни полета ;
+$wb['required_fields_txt'] = '* Задължителни полета';
 $wb['limit_webdav_user_txt'] = 'Max. number of Webdav users';
 $wb['limit_webdav_user_error_notint'] = 'The webdav user трябва да е число';
 $wb['limit_mailmailinglist_txt'] = 'Макс. брой наmailing lists';
diff --git a/interface/web/client/lib/lang/de_client.lng b/interface/web/client/lib/lang/de_client.lng
index 4f072fd375..fc934be2de 100644
--- a/interface/web/client/lib/lang/de_client.lng
+++ b/interface/web/client/lib/lang/de_client.lng
@@ -1,7 +1,7 @@
 <?php
 $wb['limit_maildomain_txt'] = 'Max. Anzahl an E-Mail-Domains';
 $wb['limit_mailbox_txt'] = 'Max. Anzahl an Mailboxen';
-$wb['limit_mailalias_txt'] = 'Max. Anzahl an E-Mail-Aliassen';
+$wb['limit_mailalias_txt'] = 'Max. Anzahl an E-Mail-Aliases';
 $wb['limit_mailforward_txt'] = 'Max. Anzahl an E-Mail Weiterleitungen';
 $wb['limit_mailcatchall_txt'] = 'Max. Anzahl an E-Mail Catchall Konten';
 $wb['limit_mailrouting_txt'] = 'Max. Anzahl an E-Mail Routen';
@@ -22,7 +22,7 @@ $wb['street_txt'] = 'Straße';
 $wb['zip_txt'] = 'PLZ';
 $wb['city_txt'] = 'Ort';
 $wb['state_txt'] = 'Bundesland';
-$wb['country_txt'] = 'Staat';
+$wb['country_txt'] = 'Land';
 $wb['telephone_txt'] = 'Telefon';
 $wb['mobile_txt'] = 'Handy';
 $wb['fax_txt'] = 'Fax';
@@ -83,6 +83,8 @@ $wb['username_error_regex'] = 'Der Benutzername enthält ungültige Zeichen.';
 $wb['password_strength_txt'] = 'Passwortkomplexität';
 $wb['template_master_txt'] = 'Mastervorlage';
 $wb['template_additional_txt'] = 'Add-Ons';
+$wb["add_additional_template_txt"] = 'Zusätzliches Template hinzufügen';
+$wb["delete_additional_template_txt"] = 'Zusätzliches Template löschen';
 $wb['ssh_chroot_txt'] = 'SSH-Chroot Optionen';
 $wb['web_php_options_txt'] = 'PHP Optionen';
 $wb['limit_client_error'] = 'Die maximale Anzahl an Kunden wurde erreicht.';
diff --git a/interface/web/client/lib/lang/de_reseller.lng b/interface/web/client/lib/lang/de_reseller.lng
index 2c25d9eb19..9cfb981f51 100644
--- a/interface/web/client/lib/lang/de_reseller.lng
+++ b/interface/web/client/lib/lang/de_reseller.lng
@@ -23,7 +23,7 @@ $wb['street_txt'] = 'Straße';
 $wb['zip_txt'] = 'PLZ';
 $wb['city_txt'] = 'Ort';
 $wb['state_txt'] = 'Bundesland';
-$wb['country_txt'] = 'Staat';
+$wb['country_txt'] = 'Land';
 $wb['telephone_txt'] = 'Telefon';
 $wb['mobile_txt'] = 'Handy';
 $wb['fax_txt'] = 'Fax';
@@ -83,6 +83,8 @@ $wb['limit_cron_error_frequency'] = 'Das Cron-Job-Intervall-Limit muss eine Zahl
 $wb['username_error_regex'] = 'Der Benutzername enthält ungültige Zeichen.';
 $wb['template_master_txt'] = 'Mastervorlage';
 $wb['template_additional_txt'] = 'Addons';
+$wb["add_additional_template_txt"] = 'Zusätzliches Template hinzufügen';
+$wb["delete_additional_template_txt"] = 'Zusätzliches Template löschen';
 $wb['ssh_chroot_txt'] = 'SSH-Chroot Optionen';
 $wb['web_php_options_txt'] = 'PHP-Optionen';
 $wb['limit_client_error'] = 'Die maximale Anzahl an Kunden wurde erreicht.';
diff --git a/interface/web/client/lib/lang/de_resellers_list.lng b/interface/web/client/lib/lang/de_resellers_list.lng
index f6f736cf3a..5dac6b2fcb 100644
--- a/interface/web/client/lib/lang/de_resellers_list.lng
+++ b/interface/web/client/lib/lang/de_resellers_list.lng
@@ -4,6 +4,6 @@ $wb['client_id_txt'] = 'ID';
 $wb['company_name_txt'] = 'Firmenname';
 $wb['contact_name_txt'] = 'Kontakt';
 $wb['city_txt'] = 'Ort';
-$wb['country_txt'] = 'Staat';
+$wb['country_txt'] = 'Land';
 $wb['add_new_record_txt'] = 'Neuen Reseller hinzufügen';
 ?>
diff --git a/interface/web/client/lib/lang/en_client.lng b/interface/web/client/lib/lang/en_client.lng
index d809fcb642..8056fe74ea 100644
--- a/interface/web/client/lib/lang/en_client.lng
+++ b/interface/web/client/lib/lang/en_client.lng
@@ -94,6 +94,8 @@ $wb["limit_cron_error_frequency"] = 'The cron frequency limit must be a number.'
 $wb["username_error_regex"] = 'The Username contains invalid chracaters.';
 $wb["template_master_txt"] = 'Master template';
 $wb["template_additional_txt"] = 'Addon template';
+$wb["add_additional_template_txt"] = 'Add additional template';
+$wb["delete_additional_template_txt"] = 'Delete additional template';
 $wb["ssh_chroot_txt"] = 'SSH-Chroot Options';
 $wb["web_php_options_txt"] = 'PHP Options';
 $wb["limit_client_error"] = 'The max. number of clients is reached.';
diff --git a/interface/web/client/lib/lang/en_reseller.lng b/interface/web/client/lib/lang/en_reseller.lng
index 433721605e..0e8d689f61 100644
--- a/interface/web/client/lib/lang/en_reseller.lng
+++ b/interface/web/client/lib/lang/en_reseller.lng
@@ -93,6 +93,8 @@ $wb["limit_cron_error_frequency"] = 'The cron frequency limit must be a number.'
 $wb["username_error_regex"] = 'The Username contains invalid chracaters.';
 $wb["template_master_txt"] = 'Master template';
 $wb["template_additional_txt"] = 'Addon template';
+$wb["add_additional_template_txt"] = 'Add additional template';
+$wb["delete_additional_template_txt"] = 'Delete additional template';
 $wb["ssh_chroot_txt"] = 'SSH-Chroot Options';
 $wb["web_php_options_txt"] = 'PHP Options';
 $wb["limit_client_error"] = 'The max. number of clients is reached.';
diff --git a/interface/web/client/templates/client_edit_limits.htm b/interface/web/client/templates/client_edit_limits.htm
index 56063459eb..911ea38c5b 100644
--- a/interface/web/client/templates/client_edit_limits.htm
+++ b/interface/web/client/templates/client_edit_limits.htm
@@ -7,8 +7,8 @@
         <div class="pnl_toolsarea">
             <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend>
                 <div class="buttons">
-                    <button class="positive iconstxt icoAdd" type="button" value="{tmpl_var name='add_additional_template_txt'}" onClick="addAdditionalTemplate();"><span>Add additional template</span></button>
-                    <button class="negative iconstxt icoDelete" type="button" value="{tmpl_var name='delete_additional_template_txt'}" onClick="delAdditionalTemplate();"><span>Delete additional template</span></button>
+                    <button class="positive iconstxt icoAdd" type="button" value="{tmpl_var name='add_additional_template_txt'}" onClick="addAdditionalTemplate();"><span>{tmpl_var name='add_additional_template_txt'}</span></button>
+                    <button class="negative iconstxt icoDelete" type="button" value="{tmpl_var name='delete_additional_template_txt'}" onClick="delAdditionalTemplate();"><span>{tmpl_var name='delete_additional_template_txt'}</span></button>
                 </div>
             </fieldset>
         </div>
-- 
GitLab