Skip to content

Commit

Permalink
i18n-tasks update
Browse files Browse the repository at this point in the history
1. normalize
2. exclude false positive inconsistent interpolations.
  • Loading branch information
glebm committed Jan 10, 2023
1 parent 5f7ef89 commit e6e2c6c
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 137 deletions.
3 changes: 3 additions & 0 deletions config/i18n-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ data:
yaml:
write:
line_width: -1
ignore_inconsistent_interpolations:
- 'rep.base.email.one'
- 'rep.base.mailer.one'
66 changes: 33 additions & 33 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
---
de:
rep:
base:
email:
one: 1 E-Mail
other: "%{count} E-Mails"
mailer:
one: 1 Mailer
other: "%{count} Mailer"
in: in
loading: Lade...
test_deliver:
no_delivery_method: Bitte setze 'config.action_mailer.delivery_method' um E-Mails in der „%{environment}“ Umgebung zu senden.
provide_email: An welche Adresse senden?
sent_notice: Senden an %{address} mit %{delivery_method}
headers:
subject: Betreff
from: Aus
to: Zu
reply_to: Beantworten
cc: CC
bcc: BCC
attachments: Anhänge
errors:
email_missing_format: Format fehlenden
integrations:
cms:
customize_cms_for_rails_email_preview:
edit_email: E-Mail bearbeiten
view_link: Anzeigen
errors:
site_missing: Bitte erstellen Sie eine CMS-Website für %{locale} zuerst. Bei der Verwendung von mehreren Gebietsschemas sollte der Standort gespiegelt werden.
layouts:
rails_email_preview:
application:
Expand All @@ -32,16 +15,33 @@ de:
emails:
index:
list_title: Anwendungs E-Mails
show:
breadcrumb_list: E-Mails
send_form:
send_are_you_sure: Diese Aktion wird diese E-Mail wirklich versenden. Bist du sicher?
send_btn: Senden an
send_recipient_placeholder: E-Mails
integrations:
cms:
customize_cms_for_rails_email_preview:
edit_email: E-Mail bearbeiten
view_link: Anzeigen
errors:
site_missing: Bitte erstellen Sie eine CMS-Website für %{locale} zuerst. Bei der Verwendung von mehreren Gebietsschemas sollte der Standort gespiegelt werden.
show:
breadcrumb_list: E-Mails
rep:
base:
email:
one: 1 E-Mail
other: "%{count} E-Mails"
in: in
loading: Lade...
mailer:
one: 1 Mailer
other: "%{count} Mailer"
errors:
email_missing_format: Format fehlenden
headers:
attachments: Anhänge
bcc: BCC
cc: CC
from: Aus
reply_to: Beantworten
subject: Betreff
to: Zu
test_deliver:
no_delivery_method: Bitte setze 'config.action_mailer.delivery_method' um E-Mails in der „%{environment}“ Umgebung zu senden.
provide_email: An welche Adresse senden?
sent_notice: Senden an %{address} mit %{delivery_method}
66 changes: 33 additions & 33 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
---
en:
rep:
headers:
subject: Subject
from: From
to: To
reply_to: Reply to
cc: CC
bcc: BCC
attachments: Attachments
base:
email:
one: 1 email
other: "%{count} emails"
mailer:
one: 1 mailer
other: "%{count} mailers"
in: in
loading: Loading...
test_deliver:
no_delivery_method: Please set 'config.action_mailer.delivery_method' to send emails in '%{environment}' environment
provide_email: Send to which address?
sent_notice: Sent to %{address} via %{delivery_method}
errors:
email_missing_format: Format missing
integrations:
cms:
customize_cms_for_rails_email_preview:
edit_email: Editing email
view_link: View
errors:
site_missing: Please create a CMS site for %{locale} first. When using multiple locales the site should be Mirrored.
layouts:
rails_email_preview:
application:
Expand All @@ -32,16 +15,33 @@ en:
emails:
index:
list_title: Application Emails
show:
breadcrumb_list: Emails
send_form:
send_are_you_sure: This will actually send this email. Are you sure?
send_btn: Send to
send_recipient_placeholder: Email
integrations:
cms:
errors:
site_missing: Please create a CMS site for %{locale} first. When using multiple locales the site should be Mirrored.
customize_cms_for_rails_email_preview:
edit_email: Editing email
view_link: View
show:
breadcrumb_list: Emails
rep:
base:
email:
one: 1 email
other: "%{count} emails"
in: in
loading: Loading...
mailer:
one: 1 mailer
other: "%{count} mailers"
errors:
email_missing_format: Format missing
headers:
attachments: Attachments
bcc: BCC
cc: CC
from: From
reply_to: Reply to
subject: Subject
to: To
test_deliver:
no_delivery_method: Please set 'config.action_mailer.delivery_method' to send emails in '%{environment}' environment
provide_email: Send to which address?
sent_notice: Sent to %{address} via %{delivery_method}
66 changes: 33 additions & 33 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
---
es:
rep:
headers:
subject: Asunto
from: De
to: A
reply_to: Responder a
cc: CC
bcc: BCC
attachments: Adjuntos
base:
email:
one: 1 email
other: "%{count} emails"
mailer:
one: 1 mailer
other: "%{count} mailers"
in: en
loading: Cargando...
test_deliver:
no_delivery_method: Por favor configura 'config.action_mailer.delivery_method' para enviar correos en el entorno de '%{environment}'
provide_email: ¿A que dirección?
sent_notice: Enviado a %{address} vía %{delivery_method}
errors:
email_missing_format: Falta formato
integrations:
cms:
customize_cms_for_rails_email_preview:
edit_email: Editando el email
view_link: Ver
errors:
site_missing: Por favor, primero crea un CMS para %{locale}. Cuando estes usando varios idiomas el site debería estar
layouts:
rails_email_preview:
application:
Expand All @@ -32,16 +15,33 @@ es:
emails:
index:
list_title: Emails de la aplicación
show:
breadcrumb_list: Emails
send_form:
send_are_you_sure: Esto enviara el email. ¿Estás seguro?
send_btn: Enviar a
send_recipient_placeholder: Email
integrations:
cms:
errors:
site_missing: Por favor, primero crea un CMS para %{locale}. Cuando estes usando varios idiomas el site debería estar
customize_cms_for_rails_email_preview:
edit_email: Editando el email
view_link: Ver
show:
breadcrumb_list: Emails
rep:
base:
email:
one: 1 email
other: "%{count} emails"
in: en
loading: Cargando...
mailer:
one: 1 mailer
other: "%{count} mailers"
errors:
email_missing_format: Falta formato
headers:
attachments: Adjuntos
bcc: BCC
cc: CC
from: De
reply_to: Responder a
subject: Asunto
to: A
test_deliver:
no_delivery_method: Por favor configura 'config.action_mailer.delivery_method' para enviar correos en el entorno de '%{environment}'
provide_email: "¿A que dirección?"
sent_notice: Enviado a %{address} vía %{delivery_method}
76 changes: 38 additions & 38 deletions config/locales/ru.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
---
ru:
integrations:
cms:
customize_cms_for_rails_email_preview:
edit_email: Редактировать
view_link: Показать
errors:
site_missing: Сначала создайте сайт для %{locale} в CMS (отметьте опцию "Mirrored").
layouts:
rails_email_preview:
application:
head_title: Письма - REP
rails_email_preview:
emails:
index:
list_title: Письма от приложения
send_form:
send_are_you_sure: Письмо будет по-настоящему отправлено. Продолжить?
send_btn: Отправить на
send_recipient_placeholder: Адрес эл. почты
show:
breadcrumb_list: Письма
rep:
headers:
subject: "Тема"
from: "Отправитель"
to: "Получатель"
reply_to: "Ответ на"
cc: "Копия"
bcc: "Скрытая копия"
attachments: "Вложения"
base:
email:
one: "%{count} письмо"
few: "%{count} письма"
many: "%{count} писем"
one: "%{count} письмо"
other: "%{count} письма"
in: "в"
in: в
loading: Письмо загружается...
mailer:
one: "%{count}-й коллекции"
few: "%{count}-х коллекциях"
many: "%{count}-и коллекциях"
one: "%{count}-й коллекции"
other: "%{count} коллекциях"
loading: "Письмо загружается..."
test_deliver:
no_delivery_method: "Настройте 'config.action_mailer.delivery_method', чтобы отправлять письма в среде '%{environment}'"
provide_email: "На какой адрес отправить?"
sent_notice: "Оправлено на %{address} через %{delivery_method}"
errors:
email_missing_format: "Формат отсутствует"
layouts:
rails_email_preview:
application:
head_title: "Письма - REP"
rails_email_preview:
emails:
index:
list_title: "Письма от приложения"
show:
breadcrumb_list: "Письма"
send_form:
send_are_you_sure: "Письмо будет по-настоящему отправлено. Продолжить?"
send_btn: "Отправить на"
send_recipient_placeholder: "Адрес эл. почты"
integrations:
cms:
errors:
site_missing: Сначала создайте сайт для %{locale} в CMS (отметьте опцию "Mirrored").
customize_cms_for_rails_email_preview:
edit_email: "Редактировать"
view_link: "Показать"
email_missing_format: Формат отсутствует
headers:
attachments: Вложения
bcc: Скрытая копия
cc: Копия
from: Отправитель
reply_to: Ответ на
subject: Тема
to: Получатель
test_deliver:
no_delivery_method: Настройте 'config.action_mailer.delivery_method', чтобы отправлять письма в среде '%{environment}'
provide_email: На какой адрес отправить?
sent_notice: Оправлено на %{address} через %{delivery_method}

0 comments on commit e6e2c6c

Please sign in to comment.