From fc6f796f30c8fc1199788698bc08b1288d6c3705 Mon Sep 17 00:00:00 2001 From: Alex Turchyn Date: Thu, 15 May 2025 13:16:26 +0300 Subject: [PATCH] adjust server selector --- .../devise/shared/_select_server.html.erb | 60 +++++++++++++++---- app/views/icons/_corner_right_down.html.erb | 3 + app/views/icons/_usa_flag.html.erb | 9 +++ app/views/scripts/_server_selector.html.erb | 21 +++++++ config/locales/i18n.yml | 14 +++++ 5 files changed, 96 insertions(+), 11 deletions(-) create mode 100644 app/views/icons/_corner_right_down.html.erb create mode 100644 app/views/icons/_usa_flag.html.erb create mode 100644 app/views/scripts/_server_selector.html.erb diff --git a/app/views/devise/shared/_select_server.html.erb b/app/views/devise/shared/_select_server.html.erb index 2b98ec18..ecb10a26 100644 --- a/app/views/devise/shared/_select_server.html.erb +++ b/app/views/devise/shared/_select_server.html.erb @@ -1,12 +1,50 @@ -
- + + +<%= render 'scripts/server_selector' %> diff --git a/app/views/icons/_corner_right_down.html.erb b/app/views/icons/_corner_right_down.html.erb new file mode 100644 index 00000000..4aa40662 --- /dev/null +++ b/app/views/icons/_corner_right_down.html.erb @@ -0,0 +1,3 @@ + + + diff --git a/app/views/icons/_usa_flag.html.erb b/app/views/icons/_usa_flag.html.erb new file mode 100644 index 00000000..3b45d6f6 --- /dev/null +++ b/app/views/icons/_usa_flag.html.erb @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/views/scripts/_server_selector.html.erb b/app/views/scripts/_server_selector.html.erb new file mode 100644 index 00000000..be76f8f3 --- /dev/null +++ b/app/views/scripts/_server_selector.html.erb @@ -0,0 +1,21 @@ + diff --git a/config/locales/i18n.yml b/config/locales/i18n.yml index 6bf79399..9ab21f97 100644 --- a/config/locales/i18n.yml +++ b/config/locales/i18n.yml @@ -738,6 +738,7 @@ en: &en one_month: 1 month two_months: 2 months three_months: 3 months + eu_data_residency: EU data residency submission_sources: api: API bulk: Bulk Send @@ -1543,6 +1544,7 @@ es: &es one_month: 1 mes two_months: 2 meses three_months: 3 meses + eu_data_residency: Datos alojados UE submission_sources: api: API bulk: Envío masivo @@ -2347,6 +2349,7 @@ it: &it one_month: 1 mese two_months: 2 mesi three_months: 3 mesi + eu_data_residency: "Dati nell'UE" submission_sources: api: API bulk: Invio massivo @@ -3153,6 +3156,7 @@ fr: &fr one_month: 1 mois two_months: 2 mois three_months: 3 mois + eu_data_residency: "Données dans l'UE" submission_sources: api: API bulk: Envoi en masse @@ -3958,6 +3962,7 @@ pt: &pt one_month: 1 mês two_months: 2 meses three_months: 3 meses + eu_data_residency: Dados na UE submission_sources: api: API bulk: Envio em massa @@ -4764,6 +4769,7 @@ de: &de one_month: 1 Monat two_months: 2 Monate three_months: 3 Monate + eu_data_residency: EU-Datenspeicher submission_sources: api: API bulk: Massenversand @@ -4915,6 +4921,7 @@ pl: powered_by: 'Napędzany prze' count_documents_signed_with_html: '%{count} dokumentów podpisanych za pomocą' open_source_documents_software: 'oprogramowanie do dokumentów open source' + eu_data_residency: Dane w UE uk: require_phone_2fa_to_open: Вимагати двофакторну автентифікацію через телефон для відкриття @@ -4982,6 +4989,7 @@ uk: powered_by: 'Працює на базі' count_documents_signed_with_html: '%{count} документів підписано за допомогою' open_source_documents_software: 'відкрите програмне забезпечення для документів' + eu_data_residency: 'Зберігання даних в ЄС' cs: require_phone_2fa_to_open: Vyžadovat otevření pomocí telefonního 2FA @@ -5049,6 +5057,7 @@ cs: powered_by: 'Poháněno' count_documents_signed_with_html: '%{count} dokumentů podepsáno pomocí' open_source_documents_software: 'open source software pro dokumenty' + eu_data_residency: 'Uložení dat v EU' he: require_phone_2fa_to_open: דרוש אימות דו-שלבי באמצעות טלפון לפתיחה @@ -5116,6 +5125,7 @@ he: powered_by: 'מופעל על ידי' count_documents_signed_with_html: '%{count} מסמכים נחתמו באמצעות' open_source_documents_software: 'תוכנה בקוד פתוח למסמכים' + eu_data_residency: 'נתונים באיחוד האירופי ' nl: require_phone_2fa_to_open: Vereis telefoon 2FA om te openen @@ -5183,6 +5193,7 @@ nl: powered_by: 'Aangedreven door' count_documents_signed_with_html: '%{count} documenten ondertekend met' open_source_documents_software: 'open source documenten software' + eu_data_residency: Gegevens EU ar: require_phone_2fa_to_open: "تطلب فتح عبر تحقق الهاتف ذو العاملين" @@ -5250,6 +5261,7 @@ ar: powered_by: 'مشغل بواسطة' count_documents_signed_with_html: '%{count} مستندات تم توقيعها باستخدام' open_source_documents_software: 'برنامج مستندات مفتوح المصدر' + eu_data_residency: 'بيانات في الاتحاد الأوروبي' ko: require_phone_2fa_to_open: 휴대폰 2FA를 열 때 요구함 @@ -5317,6 +5329,7 @@ ko: powered_by: '제공:' count_documents_signed_with_html: '%{count}개의 문서가 다음을 통해 서명됨' open_source_documents_software: '오픈소스 문서 소프트웨어' + eu_data_residency: 'EU 데이터 보관' ja: require_phone_2fa_to_open: 電話による2段階認証が必要です @@ -5384,6 +5397,7 @@ ja: powered_by: '提供元:' count_documents_signed_with_html: '%{count} 件のドキュメントが以下で署名されました' open_source_documents_software: 'オープンソースのドキュメントソフトウェア' + eu_data_residency: 'EU データ居住' en-US: <<: *en