From 26c983a0b2f751c7300366842cb943c637da25fe Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:33:15 +0200 Subject: [PATCH] Fixed missing translation strings --- cp/app/Controllers/SupportController.php | 4 +- cp/lang/en_US/messages.po | 105 ++++++++++++++++++ cp/lang/fr_FR/messages.po | 105 ++++++++++++++++++ cp/lang/jp_JP/messages.po | 105 ++++++++++++++++++ cp/lang/messages_template.po | 105 ++++++++++++++++++ cp/lang/uk_UA/messages.po | 105 ++++++++++++++++++ .../views/admin/contacts/updateContact.twig | 8 +- .../views/admin/contacts/validateContact.twig | 14 +-- .../views/admin/contacts/viewContact.twig | 8 +- cp/resources/views/admin/dashboard/index.twig | 4 +- cp/resources/views/admin/profile/profile.twig | 4 +- .../views/admin/support/viewTicket.twig | 16 +-- .../views/admin/system/manageReserved.twig | 8 +- cp/resources/views/partials/js-support.twig | 18 +-- cp/resources/views/partials/js-tlds.twig | 6 +- 15 files changed, 570 insertions(+), 45 deletions(-) diff --git a/cp/app/Controllers/SupportController.php b/cp/app/Controllers/SupportController.php index 02b91f6..158beef 100644 --- a/cp/app/Controllers/SupportController.php +++ b/cp/app/Controllers/SupportController.php @@ -283,7 +283,7 @@ public function statusTicket(Request $request, Response $response) ); $this->container->get('flash')->addMessage('success', 'Ticket has been escalated successfully'); return $response->withHeader('Location', '/ticket/'.$ticket_id)->withStatus(302); - } else if ($action === 'reopen') { + } else if ($action === 'reopen') { $db->update( 'support_tickets', [ @@ -294,7 +294,7 @@ public function statusTicket(Request $request, Response $response) 'id' => $ticket_id ] ); - $this->container->get('flash')->addMessage('success', 'Ticket has been escalated successfully'); + $this->container->get('flash')->addMessage('success', 'Ticket has been reopened successfully'); return $response->withHeader('Location', '/ticket/'.$ticket_id)->withStatus(302); } else { $this->container->get('flash')->addMessage('error', 'Incorrect action specified'); diff --git a/cp/lang/en_US/messages.po b/cp/lang/en_US/messages.po index 90ba439..d93f83d 100644 --- a/cp/lang/en_US/messages.po +++ b/cp/lang/en_US/messages.po @@ -1347,3 +1347,108 @@ msgstr "Registry Currency" msgid "Choose the currency for all transactions. This impacts billing and financial reports. Inform stakeholders of changes." msgstr "Choose the currency for all transactions. This impacts billing and financial reports. Inform stakeholders of changes." + +msgid "Contact Validation" +msgstr "Contact Validation" + +msgid "Validate by Phone" +msgstr "Validate by Phone" + +msgid "Validated by Phone" +msgstr "Validated by Phone" + +msgid "Phone Validation" +msgstr "Phone Validation" + +msgid "Validated by Email" +msgstr "Validated by Email" + +msgid "Validate by Email" +msgstr "Validate by Email" + +msgid "Email Validation" +msgstr "Email Validation" + +msgid "Validate by Postal Mail" +msgstr "Validate by Postal Mail" + +msgid "Validated by Postal Mail" +msgstr "Validated by Postal Mail" + +msgid "Postal Mail Validation" +msgstr "Postal Mail Validation" + +msgid "Pending Validation" +msgstr "Pending Validation" + +msgid "Back to Contact Update" +msgstr "Back to Contact Update" + +msgid "Validate Contact" +msgstr "Validate Contact" + +msgid "Settings" +msgstr "Settings" + +msgid "Manage Settings" +msgstr "Manage Settings" + +msgid "Not signed" +msgstr "Not signed" + +msgid "Signed" +msgstr "Signed" + +msgid "These domain names are subject to special regulations or registration requirements. They might be available for registration but under specific conditions, such as proof of eligibility or additional documentation." +msgstr "These domain names are subject to special regulations or registration requirements. They might be available for registration but under specific conditions, such as proof of eligibility or additional documentation." + +msgid "Enter each" +msgstr "Enter each" + +msgid "name on a new line, without the extension. For instance, use \"example\" in place of \"example.com\"." +msgstr "name on a new line, without the extension. For instance, use \"example\" in place of \"example.com\"." + +msgid "View Ticket" +msgstr "View Ticket" + +msgid "Open" +msgstr "Open" + +msgid "In Progress" +msgstr "In Progress" + +msgid "Resolved" +msgstr "Resolved" + +msgid "Low" +msgstr "Low" + +msgid "Medium" +msgstr "Medium" + +msgid "High" +msgstr "High" + +msgid "Critical" +msgstr "Critical" + +msgid "Close Ticket" +msgstr "Close Ticket" + +msgid "Escalate Ticket" +msgstr "Escalate Ticket" + +msgid "Reopen Ticket" +msgstr "Reopen Ticket" + +msgid "Enter old password" +msgstr "Enter old password" + +msgid "Enter new password" +msgstr "Enter new password" + +msgid "Recent Domains" +msgstr "Recent Domains" + +msgid "Recent Support Tickets" +msgstr "Recent Support Tickets" diff --git a/cp/lang/fr_FR/messages.po b/cp/lang/fr_FR/messages.po index 2645902..4a769f4 100644 --- a/cp/lang/fr_FR/messages.po +++ b/cp/lang/fr_FR/messages.po @@ -1347,3 +1347,108 @@ msgstr "Devise du registre" msgid "Choose the currency for all transactions. This impacts billing and financial reports. Inform stakeholders of changes." msgstr "Choisissez la devise pour toutes les transactions. Cela a un impact sur la facturation et les rapports financiers. Informer les parties prenantes des changements." + +msgid "Contact Validation" +msgstr "Validation de Contact" + +msgid "Validate by Phone" +msgstr "Valider par Téléphone" + +msgid "Validated by Phone" +msgstr "Validé par Téléphone" + +msgid "Phone Validation" +msgstr "Validation Téléphonique" + +msgid "Validated by Email" +msgstr "Validé par Email" + +msgid "Validate by Email" +msgstr "Valider par Email" + +msgid "Email Validation" +msgstr "Validation d'Email" + +msgid "Validate by Postal Mail" +msgstr "Valider par Courrier Postal" + +msgid "Validated by Postal Mail" +msgstr "Validé par Courrier Postal" + +msgid "Postal Mail Validation" +msgstr "Validation par Courrier" + +msgid "Pending Validation" +msgstr "Validation en Attente" + +msgid "Back to Contact Update" +msgstr "Retour à la Mise à Jour des Contacts" + +msgid "Validate Contact" +msgstr "Valider le Contact" + +msgid "Settings" +msgstr "Paramètres" + +msgid "Manage Settings" +msgstr "Gérer les Paramètres" + +msgid "Not signed" +msgstr "Non signé" + +msgid "Signed" +msgstr "Signé" + +msgid "These domain names are subject to special regulations or registration requirements. They might be available for registration but under specific conditions, such as proof of eligibility or additional documentation." +msgstr "Ces noms de domaine sont soumis à des réglementations spéciales ou à des exigences d'enregistrement. Ils pourraient être disponibles à l'enregistrement mais sous certaines conditions, telles que la preuve d'éligibilité ou des documents supplémentaires." + +msgid "Enter each" +msgstr "Entrez chaque" + +msgid "name on a new line, without the extension. For instance, use \"example\" in place of \"example.com\"." +msgstr "nom sur une nouvelle ligne, sans l'extension. Par exemple, utilisez \"exemple\" au lieu de \"exemple.com\"." + +msgid "View Ticket" +msgstr "Voir le Ticket" + +msgid "Open" +msgstr "Ouvrir" + +msgid "In Progress" +msgstr "En Cours" + +msgid "Resolved" +msgstr "Résolu" + +msgid "Low" +msgstr "Faible" + +msgid "Medium" +msgstr "Moyen" + +msgid "High" +msgstr "Élevé" + +msgid "Critical" +msgstr "Critique" + +msgid "Close Ticket" +msgstr "Fermer le Ticket" + +msgid "Escalate Ticket" +msgstr "Escalader le Ticket" + +msgid "Reopen Ticket" +msgstr "Rouvrir le Ticket" + +msgid "Enter old password" +msgstr "Entrez l'ancien mot de passe" + +msgid "Enter new password" +msgstr "Entrez le nouveau mot de passe" + +msgid "Recent Domains" +msgstr "Domaines Récents" + +msgid "Recent Support Tickets" +msgstr "Tickets de Support Récents" diff --git a/cp/lang/jp_JP/messages.po b/cp/lang/jp_JP/messages.po index 24ddde1..f8ca6df 100644 --- a/cp/lang/jp_JP/messages.po +++ b/cp/lang/jp_JP/messages.po @@ -1347,3 +1347,108 @@ msgstr "レジストリ通貨" msgid "Choose the currency for all transactions. This impacts billing and financial reports. Inform stakeholders of changes." msgstr "すべての取引の通貨を選択してください。これは請求書と財政報告に影響します。変更をステークホルダーに通知してください。" + +msgid "Contact Validation" +msgstr "連絡先の検証" + +msgid "Validate by Phone" +msgstr "電話による検証" + +msgid "Validated by Phone" +msgstr "電話によって検証済み" + +msgid "Phone Validation" +msgstr "電話検証" + +msgid "Validated by Email" +msgstr "メールによって検証済み" + +msgid "Validate by Email" +msgstr "メールによる検証" + +msgid "Email Validation" +msgstr "メール検証" + +msgid "Validate by Postal Mail" +msgstr "郵便による検証" + +msgid "Validated by Postal Mail" +msgstr "郵便によって検証済み" + +msgid "Postal Mail Validation" +msgstr "郵便検証" + +msgid "Pending Validation" +msgstr "検証待ち" + +msgid "Back to Contact Update" +msgstr "連絡先更新に戻る" + +msgid "Validate Contact" +msgstr "連絡先を検証する" + +msgid "Settings" +msgstr "設定" + +msgid "Manage Settings" +msgstr "設定を管理する" + +msgid "Not signed" +msgstr "未署名" + +msgid "Signed" +msgstr "署名済み" + +msgid "These domain names are subject to special regulations or registration requirements. They might be available for registration but under specific conditions, such as proof of eligibility or additional documentation." +msgstr "これらのドメイン名は、特別な規制または登録要件の対象となります。登録可能ですが、資格の証明や追加の文書など、特定の条件の下でのみです。" + +msgid "Enter each" +msgstr "各項目を入力" + +msgid "name on a new line, without the extension. For instance, use \"example\" in place of \"example.com\"." +msgstr "拡張子を除いた名前を新しい行に入力してください。たとえば、「example.com」の代わりに「example」を使用します。" + +msgid "View Ticket" +msgstr "チケットを見る" + +msgid "Open" +msgstr "開く" + +msgid "In Progress" +msgstr "進行中" + +msgid "Resolved" +msgstr "解決済み" + +msgid "Low" +msgstr "低" + +msgid "Medium" +msgstr "中" + +msgid "High" +msgstr "高" + +msgid "Critical" +msgstr "重大" + +msgid "Close Ticket" +msgstr "チケットを閉じる" + +msgid "Escalate Ticket" +msgstr "チケットをエスカレートする" + +msgid "Reopen Ticket" +msgstr "チケットを再開する" + +msgid "Enter old password" +msgstr "古いパスワードを入力" + +msgid "Enter new password" +msgstr "新しいパスワードを入力" + +msgid "Recent Domains" +msgstr "最近のドメイン" + +msgid "Recent Support Tickets" +msgstr "最近のサポートチケット" diff --git a/cp/lang/messages_template.po b/cp/lang/messages_template.po index 63f9524..a87040a 100644 --- a/cp/lang/messages_template.po +++ b/cp/lang/messages_template.po @@ -1347,3 +1347,108 @@ msgstr "" msgid "Choose the currency for all transactions. This impacts billing and financial reports. Inform stakeholders of changes." msgstr "" + +msgid "Contact Validation" +msgstr "" + +msgid "Validate by Phone" +msgstr "" + +msgid "Validated by Phone" +msgstr "" + +msgid "Phone Validation" +msgstr "" + +msgid "Validated by Email" +msgstr "" + +msgid "Validate by Email" +msgstr "" + +msgid "Email Validation" +msgstr "" + +msgid "Validate by Postal Mail" +msgstr "" + +msgid "Validated by Postal Mail" +msgstr "" + +msgid "Postal Mail Validation" +msgstr "" + +msgid "Pending Validation" +msgstr "" + +msgid "Back to Contact Update" +msgstr "" + +msgid "Validate Contact" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "Manage Settings" +msgstr "" + +msgid "Not signed" +msgstr "" + +msgid "Signed" +msgstr "" + +msgid "These domain names are subject to special regulations or registration requirements. They might be available for registration but under specific conditions, such as proof of eligibility or additional documentation." +msgstr "" + +msgid "Enter each" +msgstr "" + +msgid "name on a new line, without the extension. For instance, use \"example\" in place of \"example.com\"." +msgstr "" + +msgid "View Ticket" +msgstr "" + +msgid "Open" +msgstr "" + +msgid "In Progress" +msgstr "" + +msgid "Resolved" +msgstr "" + +msgid "Low" +msgstr "" + +msgid "Medium" +msgstr "" + +msgid "High" +msgstr "" + +msgid "Critical" +msgstr "" + +msgid "Close Ticket" +msgstr "" + +msgid "Escalate Ticket" +msgstr "" + +msgid "Reopen Ticket" +msgstr "" + +msgid "Enter old password" +msgstr "" + +msgid "Enter new password" +msgstr "" + +msgid "Recent Domains" +msgstr "" + +msgid "Recent Support Tickets" +msgstr "" diff --git a/cp/lang/uk_UA/messages.po b/cp/lang/uk_UA/messages.po index 36d3d69..eeb8e77 100644 --- a/cp/lang/uk_UA/messages.po +++ b/cp/lang/uk_UA/messages.po @@ -1347,3 +1347,108 @@ msgstr "Валюта реєстру" msgid "Choose the currency for all transactions. This impacts billing and financial reports. Inform stakeholders of changes." msgstr "Виберіть валюту для всіх операцій. Це впливає на рахунки та фінансові звіти. Інформувати зацікавлених сторін про зміни." + +msgid "Contact Validation" +msgstr "Перевірка контакту" + +msgid "Validate by Phone" +msgstr "Перевірка телефоном" + +msgid "Validated by Phone" +msgstr "Перевірено телефоном" + +msgid "Phone Validation" +msgstr "Телефонна перевірка" + +msgid "Validated by Email" +msgstr "Перевірено електронною поштою" + +msgid "Validate by Email" +msgstr "Перевірка електронною поштою" + +msgid "Email Validation" +msgstr "Перевірка електронної пошти" + +msgid "Validate by Postal Mail" +msgstr "Перевірка поштою" + +msgid "Validated by Postal Mail" +msgstr "Перевірено поштою" + +msgid "Postal Mail Validation" +msgstr "Перевірка поштовою скринькою" + +msgid "Pending Validation" +msgstr "Очікує на перевірку" + +msgid "Back to Contact Update" +msgstr "Повернутися до оновлення контактів" + +msgid "Validate Contact" +msgstr "Підтвердити контакт" + +msgid "Settings" +msgstr "Налаштування" + +msgid "Manage Settings" +msgstr "Керування налаштуваннями" + +msgid "Not signed" +msgstr "Не підписано" + +msgid "Signed" +msgstr "Підписано" + +msgid "These domain names are subject to special regulations or registration requirements. They might be available for registration but under specific conditions, such as proof of eligibility or additional documentation." +msgstr "Ці доменні імена підлягають спеціальним правилам або вимогам реєстрації. Вони можуть бути доступні для реєстрації, але за певних умов, наприклад, надання доказів відповідності або додаткової документації." + +msgid "Enter each" +msgstr "Введіть кожен" + +msgid "name on a new line, without the extension. For instance, use \"example\" in place of \"example.com\"." +msgstr "введіть ім'я на новому рядку без розширення. Наприклад, використовуйте \"приклад\" замість \"example.com\"." + +msgid "View Ticket" +msgstr "Переглянути квиток" + +msgid "Open" +msgstr "Відкрити" + +msgid "In Progress" +msgstr "В процесі" + +msgid "Resolved" +msgstr "Вирішено" + +msgid "Low" +msgstr "Низький" + +msgid "Medium" +msgstr "Середній" + +msgid "High" +msgstr "Високий" + +msgid "Critical" +msgstr "Критичний" + +msgid "Close Ticket" +msgstr "Закрити квиток" + +msgid "Escalate Ticket" +msgstr "Ескалація квитка" + +msgid "Reopen Ticket" +msgstr "Відновити квиток" + +msgid "Enter old password" +msgstr "Введіть старий пароль" + +msgid "Enter new password" +msgstr "Введіть новий пароль" + +msgid "Recent Domains" +msgstr "Останні домени" + +msgid "Recent Support Tickets" +msgstr "Останні запити підтримки" diff --git a/cp/resources/views/admin/contacts/updateContact.twig b/cp/resources/views/admin/contacts/updateContact.twig index 7fc4458..b390216 100644 --- a/cp/resources/views/admin/contacts/updateContact.twig +++ b/cp/resources/views/admin/contacts/updateContact.twig @@ -165,13 +165,13 @@
diff --git a/cp/resources/views/admin/contacts/validateContact.twig b/cp/resources/views/admin/contacts/validateContact.twig index 4397260..d2eb98d 100644 --- a/cp/resources/views/admin/contacts/validateContact.twig +++ b/cp/resources/views/admin/contacts/validateContact.twig @@ -30,13 +30,13 @@ {% if validation_enabled is not null %} {% if contact_valid == 0 %} - Pending Validation + {{ __('Pending Validation') }} {% elseif contact_valid == 1 %} - Validated by Phone + {{ __('Validated by Phone') }} {% elseif contact_valid == 2 %} - Validated by Email + {{ __('Validated by Email') }} {% elseif contact_valid == 3 %} - Validated by Postal Mail + {{ __('Validated by Postal Mail') }} {% endif %} {% endif %} @@ -57,7 +57,7 @@ {% if verifyPhone == 'on' %} {# The content you want to echo if verifyPhone is 'on' #}{{ phoneDetails ? 'Phone format is valid' : 'Phone format is not valid' }}
@@ -69,7 +69,7 @@
{% if verifyEmail == 'on' %}
{# The content you want to echo if verifyEmail is 'on' #}
{{ emailDetails == 1 ? 'Email format is valid' : 'Email format is not valid' }}
@@ -81,7 +81,7 @@
{% if verifyPostal == 'on' %}
{# The content you want to echo if verifyPostal is 'on' #}
{{ postalDetails is empty ? 'Postal code format is not valid' : 'Postal code format is valid' }}
diff --git a/cp/resources/views/admin/contacts/viewContact.twig b/cp/resources/views/admin/contacts/viewContact.twig
index 140cb80..7d1a2c4 100644
--- a/cp/resources/views/admin/contacts/viewContact.twig
+++ b/cp/resources/views/admin/contacts/viewContact.twig
@@ -30,13 +30,13 @@
{% if validation_enabled is not null %}
{% if contact_valid == 0 %}
- Pending Validation
+ {{ __('Pending Validation') }}
{% elseif contact_valid == 1 %}
- Validated by Phone
+ {{ __('Validated by Phone') }}
{% elseif contact_valid == 2 %}
- Validated by Email
+ {{ __('Validated by Email') }}
{% elseif contact_valid == 3 %}
- Validated by Postal Mail
+ {{ __('Validated by Postal Mail') }}
{% endif %}
{% endif %}
diff --git a/cp/resources/views/admin/dashboard/index.twig b/cp/resources/views/admin/dashboard/index.twig
index dfca0f6..e7674b3 100644
--- a/cp/resources/views/admin/dashboard/index.twig
+++ b/cp/resources/views/admin/dashboard/index.twig
@@ -167,7 +167,7 @@