From 604cb4ef352b8c2b54e51715b36533b4d06bd54a Mon Sep 17 00:00:00 2001 From: Flat Date: Sun, 3 Jul 2016 18:37:27 +0900 Subject: [PATCH] Translate object types in search result --- web/inc/i18n/ar.php | 7 ++ web/inc/i18n/bs.php | 7 ++ web/inc/i18n/cn.php | 7 ++ web/inc/i18n/cz.php | 7 ++ web/inc/i18n/da.php | 7 ++ web/inc/i18n/de.php | 7 ++ web/inc/i18n/el.php | 7 ++ web/inc/i18n/en.php | 7 ++ web/inc/i18n/es.php | 7 ++ web/inc/i18n/fa.php | 7 ++ web/inc/i18n/fi.php | 7 ++ web/inc/i18n/fr.php | 7 ++ web/inc/i18n/hu.php | 7 ++ web/inc/i18n/id.php | 7 ++ web/inc/i18n/it.php | 7 ++ web/inc/i18n/ja.php | 7 ++ web/inc/i18n/nl.php | 7 ++ web/inc/i18n/no.php | 7 ++ web/inc/i18n/pl.php | 7 ++ web/inc/i18n/pt-BR.php | 7 ++ web/inc/i18n/pt.php | 7 ++ web/inc/i18n/ro.php | 7 ++ web/inc/i18n/ru.php | 7 ++ web/inc/i18n/se.php | 7 ++ web/inc/i18n/tr.php | 7 ++ web/inc/i18n/tw.php | 7 ++ web/inc/i18n/ua.php | 7 ++ web/inc/i18n/vi.php | 7 ++ web/templates/admin/list_search.html | 96 ++++++++++++++-------------- web/templates/user/list_search.html | 78 +++++++++++----------- 30 files changed, 283 insertions(+), 87 deletions(-) diff --git a/web/inc/i18n/ar.php b/web/inc/i18n/ar.php index 9dd760ecf..718a23b35 100644 --- a/web/inc/i18n/ar.php +++ b/web/inc/i18n/ar.php @@ -390,6 +390,13 @@ $LANG['ar'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'إضافة مخدم أسماء (NS) جديد', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/bs.php b/web/inc/i18n/bs.php index 447184bdc..ce9d30082 100644 --- a/web/inc/i18n/bs.php +++ b/web/inc/i18n/bs.php @@ -390,6 +390,13 @@ $LANG['bs'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/cn.php b/web/inc/i18n/cn.php index b3bf8fb9e..1234ada8f 100644 --- a/web/inc/i18n/cn.php +++ b/web/inc/i18n/cn.php @@ -390,6 +390,13 @@ $LANG['cn'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/cz.php b/web/inc/i18n/cz.php index 97e6617b6..1c81a1358 100644 --- a/web/inc/i18n/cz.php +++ b/web/inc/i18n/cz.php @@ -391,6 +391,13 @@ $LANG['cz'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/da.php b/web/inc/i18n/da.php index d770ecbda..6fd4eb893 100644 --- a/web/inc/i18n/da.php +++ b/web/inc/i18n/da.php @@ -392,6 +392,13 @@ $LANG['da'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/de.php b/web/inc/i18n/de.php index 421e78fd3..1c391505d 100644 --- a/web/inc/i18n/de.php +++ b/web/inc/i18n/de.php @@ -390,6 +390,13 @@ $LANG['de'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/el.php b/web/inc/i18n/el.php index 470a4770c..22832944d 100644 --- a/web/inc/i18n/el.php +++ b/web/inc/i18n/el.php @@ -391,6 +391,13 @@ $LANG['el'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/en.php b/web/inc/i18n/en.php index cdba0f1c9..b9c523019 100644 --- a/web/inc/i18n/en.php +++ b/web/inc/i18n/en.php @@ -390,6 +390,13 @@ $LANG['en'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/es.php b/web/inc/i18n/es.php index a05f671a5..6a044cab0 100644 --- a/web/inc/i18n/es.php +++ b/web/inc/i18n/es.php @@ -390,6 +390,13 @@ $LANG['es'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/fa.php b/web/inc/i18n/fa.php index a42432737..28d74e702 100644 --- a/web/inc/i18n/fa.php +++ b/web/inc/i18n/fa.php @@ -392,6 +392,13 @@ $LANG['fa'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'افزودن یک نام سرور دیگر', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/fi.php b/web/inc/i18n/fi.php index 73bc0efab..11d86a7c7 100644 --- a/web/inc/i18n/fi.php +++ b/web/inc/i18n/fi.php @@ -391,6 +391,13 @@ $LANG['fi'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/fr.php b/web/inc/i18n/fr.php index 8e6692e0c..6b2c6a9bf 100644 --- a/web/inc/i18n/fr.php +++ b/web/inc/i18n/fr.php @@ -390,6 +390,13 @@ $LANG['fr'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Ajouter un autre Serveur de Noms', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/hu.php b/web/inc/i18n/hu.php index 2d7520d3c..a9b99bd94 100644 --- a/web/inc/i18n/hu.php +++ b/web/inc/i18n/hu.php @@ -394,6 +394,13 @@ $LANG['hu'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/id.php b/web/inc/i18n/id.php index 784fda5b7..f1965d9f6 100644 --- a/web/inc/i18n/id.php +++ b/web/inc/i18n/id.php @@ -393,6 +393,13 @@ $LANG['id'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/it.php b/web/inc/i18n/it.php index 859c7dea4..23fdba5db 100644 --- a/web/inc/i18n/it.php +++ b/web/inc/i18n/it.php @@ -391,6 +391,13 @@ $LANG['it'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/ja.php b/web/inc/i18n/ja.php index 8515a3192..c425a04cc 100644 --- a/web/inc/i18n/ja.php +++ b/web/inc/i18n/ja.php @@ -390,6 +390,13 @@ $LANG['ja'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'ネームサーバーを追加', + 'web domain' => 'ウェブドメイン', + 'dns domain' => 'DNSドメイン', + 'dns record' => 'DNSレコード', + 'mail domain' => 'メールドメイン', + 'mail account' => 'メールアカウント', + 'cron job' => 'Cronジョブ', + 'cron' => 'Cron', 'user dir' => 'ユーザーディレクトリ', diff --git a/web/inc/i18n/nl.php b/web/inc/i18n/nl.php index e09a127ee..5eff2d3e7 100644 --- a/web/inc/i18n/nl.php +++ b/web/inc/i18n/nl.php @@ -391,6 +391,13 @@ $LANG['nl'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/no.php b/web/inc/i18n/no.php index a004a65eb..cd55ccf5f 100644 --- a/web/inc/i18n/no.php +++ b/web/inc/i18n/no.php @@ -391,6 +391,13 @@ $LANG['no'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/pl.php b/web/inc/i18n/pl.php index 37808cd79..d4d509d5c 100644 --- a/web/inc/i18n/pl.php +++ b/web/inc/i18n/pl.php @@ -390,6 +390,13 @@ $LANG['pl'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Dodaj jeszcze jeden serwer DNS', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/pt-BR.php b/web/inc/i18n/pt-BR.php index 9a6f073ae..942486149 100644 --- a/web/inc/i18n/pt-BR.php +++ b/web/inc/i18n/pt-BR.php @@ -390,6 +390,13 @@ $LANG['pt-BR'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Adicionar um ou mais Servidores de Nome', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/pt.php b/web/inc/i18n/pt.php index 8b7f5c653..76b8a6579 100644 --- a/web/inc/i18n/pt.php +++ b/web/inc/i18n/pt.php @@ -390,6 +390,13 @@ $LANG['pt'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Adicionar um ou mais Servidores de Nome', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/ro.php b/web/inc/i18n/ro.php index ba6b39480..cb9fd7884 100644 --- a/web/inc/i18n/ro.php +++ b/web/inc/i18n/ro.php @@ -391,6 +391,13 @@ $LANG['ro'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/ru.php b/web/inc/i18n/ru.php index d2e1c1e25..79bdb597e 100644 --- a/web/inc/i18n/ru.php +++ b/web/inc/i18n/ru.php @@ -391,6 +391,13 @@ $LANG['ru'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Добавить ещё один Сервер Имён', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/se.php b/web/inc/i18n/se.php index 8447b0804..0aa3b5e84 100644 --- a/web/inc/i18n/se.php +++ b/web/inc/i18n/se.php @@ -390,6 +390,13 @@ $LANG['se'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/tr.php b/web/inc/i18n/tr.php index 1be54b0cf..a36dfb235 100644 --- a/web/inc/i18n/tr.php +++ b/web/inc/i18n/tr.php @@ -391,6 +391,13 @@ $LANG['tr'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/tw.php b/web/inc/i18n/tw.php index ffb5da805..405b6f611 100644 --- a/web/inc/i18n/tw.php +++ b/web/inc/i18n/tw.php @@ -393,6 +393,13 @@ $LANG['tw'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => '新增域名服務器', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/ua.php b/web/inc/i18n/ua.php index 696edc691..2bebeb2f0 100644 --- a/web/inc/i18n/ua.php +++ b/web/inc/i18n/ua.php @@ -391,6 +391,13 @@ $LANG['ua'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/inc/i18n/vi.php b/web/inc/i18n/vi.php index 02332ba53..c226a207d 100644 --- a/web/inc/i18n/vi.php +++ b/web/inc/i18n/vi.php @@ -390,6 +390,13 @@ $LANG['vi'] = array( 'VESTA' => 'VESTA', 'Add one more Name Server' => 'Add one more Name Server', + 'web domain' => 'web domain', + 'dns domain' => 'dns domain', + 'dns record' => 'dns record', + 'mail domain' => 'mail domain', + 'mail account' => 'mail account', + 'cron job' => 'cron job', + 'cron' => 'cron', 'user dir' => 'user dir', diff --git a/web/templates/admin/list_search.html b/web/templates/admin/list_search.html index 3db736d39..6af0d8822 100644 --- a/web/templates/admin/list_search.html +++ b/web/templates/admin/list_search.html @@ -39,28 +39,28 @@ $value) { ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { + if ($value['SUSPENDED'] == 'yes') { $status = 'suspended'; - $spnd_action = 'unsuspend' ; + $spnd_action = 'unsuspend'; } else { $status = 'active'; $spnd_action = 'suspend'; } - if ($data[$key]['TYPE'] == 'db') { + if ($value['TYPE'] == 'db') { $object = 'database'; } else { - $object = strtolower($data[$key]['TYPE']." ".$data[$key]['KEY']); + $object = strtolower($value['TYPE'] . ' ' . $value['KEY']); } - $uniq_id = $data[$key]['TYPE'].'-'; - if($data[$key]['KEY'] == 'ACCOUNT'){ + $uniq_id = $value['TYPE'] . '-'; + if ($value['KEY'] == 'ACCOUNT'){ $uniq_id .= 'acc-'; } - $uniq_id .= sha1($data[$key]['RESULT']); + $uniq_id .= sha1($value['RESULT']); ?> -
+
- +
@@ -219,14 +219,14 @@
-
+
:
- +
diff --git a/web/templates/user/list_search.html b/web/templates/user/list_search.html index a8909b29a..c768c0088 100644 --- a/web/templates/user/list_search.html +++ b/web/templates/user/list_search.html @@ -39,27 +39,27 @@ $value) { ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { + if ($value['SUSPENDED'] == 'yes') { $status = 'suspended'; $spnd_action = 'unsuspend' ; } else { $status = 'active'; $spnd_action = 'suspend'; } - if ($data[$key]['TYPE'] == 'db') { + if ($value['TYPE'] == 'db') { $object = 'database'; } else { - $object = strtolower($data[$key]['TYPE']." ".$data[$key]['KEY']); + $object = strtolower($value['TYPE']." ".$value['KEY']); } - $uniq_id = $data[$key]['TYPE'].'-'; - if($data[$key]['KEY'] == 'ACCOUNT'){ + $uniq_id = $value['TYPE'].'-'; + if($value['KEY'] == 'ACCOUNT'){ $uniq_id .= 'acc-'; } - $uniq_id .= sha1($data[$key]['RESULT']); + $uniq_id .= sha1($value['RESULT']); ?> -
+
-
- +
+
@@ -175,8 +175,8 @@
-
- +
+
@@ -184,14 +184,14 @@
-
+
:
- +
@@ -235,4 +235,4 @@
-
\ No newline at end of file +