add it locale

This commit is contained in:
Pete Matsyburka
2024-07-22 18:52:40 +03:00
parent 9193511d5f
commit 942c961cd1
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ class AccountsController < ApplicationController
'fr-FR' => 'French (France)',
'es-ES' => 'Spanish (Spain)',
'pt-PT' => 'Portuguese (Portugal)',
'de-DE' => 'German (Germany)'
'de-DE' => 'German (Germany)',
'it-IT' => 'Italian (Italy)'
}.freeze
before_action :load_account
+1 -1
View File
@@ -25,7 +25,7 @@ module DocuSeal
config.active_storage.draw_routes = ENV['MULTITENANT'] != 'true'
config.i18n.available_locales = %i[en en-US en-GB es-ES fr-FR pt-PT de-DE es it de fr pl uk cs pt he nl ar ko]
config.i18n.available_locales = %i[en en-US en-GB es-ES fr-FR pt-PT de-DE it-IT es it de fr pl uk cs pt he nl ar ko]
config.i18n.fallbacks = [:en]
config.exceptions_app = ->(env) { ErrorsController.action(:show).call(env) }
+4 -1
View File
@@ -104,7 +104,7 @@ es: &es
by_creating_an_account_you_agree_to_our_html: 'Al crear una cuenta, aceptas nuestra <a target="_blank" href="https://www.docuseal.co/privacy">Política de Privacidad</a> y <a target="_blank" href="https://www.docuseal.co/terms">Términos de Servicio</a>.'
enter_email_to_continue: Ingresa tu correo electrónico para continuar
it:
it: &it
role: Rôle
verification_code_code: 'Codice di verifica: %{code}'
email: Email
@@ -574,3 +574,6 @@ pt-PT:
de-DE:
<<: *de
it-IT:
<<: *it