2016-11-16 09:56:03 +11:00
|
|
|
# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks
|
|
|
|
|
|
|
|
# The "main" locale.
|
|
|
|
base_locale: en
|
|
|
|
data:
|
|
|
|
read:
|
|
|
|
- config/locales/%{locale}.yml
|
|
|
|
- config/locales/**/*.%{locale}.yml
|
|
|
|
|
|
|
|
write:
|
|
|
|
- ['{devise, simple_form, doorkeeper}.*', 'config/locales/\1.%{locale}.yml']
|
|
|
|
- config/locales/%{locale}.yml
|
|
|
|
|
|
|
|
yaml:
|
|
|
|
write:
|
|
|
|
line_width: -1
|
|
|
|
|
|
|
|
search:
|
|
|
|
paths:
|
2022-03-21 14:46:11 +11:00
|
|
|
- app/
|
|
|
|
- config/navigation.rb
|
2016-11-16 09:56:03 +11:00
|
|
|
|
|
|
|
relative_roots:
|
|
|
|
- app/controllers
|
|
|
|
- app/helpers
|
|
|
|
- app/mailers
|
|
|
|
- app/views
|
|
|
|
|
|
|
|
exclude:
|
|
|
|
- app/assets/images
|
|
|
|
- app/assets/fonts
|
|
|
|
- app/assets/videos
|
|
|
|
|
2017-04-17 03:37:01 +10:00
|
|
|
ignore_missing:
|
|
|
|
- 'activemodel.errors.*'
|
|
|
|
- 'activerecord.attributes.*'
|
|
|
|
- 'activerecord.errors.*'
|
2019-02-03 05:37:16 +11:00
|
|
|
- '{pagination,doorkeeper}.*'
|
2017-08-28 01:04:45 +10:00
|
|
|
- '{date,datetime,time,number}.*'
|
2017-04-17 03:37:01 +10:00
|
|
|
- 'errors.messages.*'
|
|
|
|
- 'activerecord.errors.models.doorkeeper/*'
|
2017-08-04 12:42:28 +10:00
|
|
|
- 'sessions.{browsers,platforms}.*'
|
|
|
|
- 'application_mailer.salutation'
|
2017-09-25 12:04:04 +10:00
|
|
|
- 'errors.500'
|
2018-02-04 15:42:13 +11:00
|
|
|
- 'auth.providers.*'
|
2017-11-12 06:23:33 +11:00
|
|
|
|
2016-11-16 09:56:03 +11:00
|
|
|
ignore_unused:
|
2017-04-17 03:37:01 +10:00
|
|
|
- 'activemodel.errors.*'
|
2016-11-16 09:56:03 +11:00
|
|
|
- 'activerecord.attributes.*'
|
2017-04-17 03:37:01 +10:00
|
|
|
- 'activerecord.errors.*'
|
2017-04-11 09:11:41 +10:00
|
|
|
- '{devise,pagination,doorkeeper}.*'
|
2017-08-28 01:04:45 +10:00
|
|
|
- '{date,datetime,time,number}.*'
|
2023-09-01 23:41:10 +10:00
|
|
|
- 'simple_form.{yes,no,recommended,not_recommended,overridden}'
|
2016-11-16 09:56:03 +11:00
|
|
|
- 'simple_form.{placeholders,hints,labels}.*'
|
|
|
|
- 'simple_form.{error_notification,required}.:'
|
|
|
|
- 'errors.messages.*'
|
|
|
|
- 'activerecord.errors.models.doorkeeper/*'
|
2017-05-04 07:36:19 +10:00
|
|
|
- 'errors.429'
|
2017-11-12 06:23:33 +11:00
|
|
|
- 'admin.accounts.roles.*'
|
2017-11-24 12:05:53 +11:00
|
|
|
- 'admin.action_logs.actions.*'
|
2023-01-19 02:40:09 +11:00
|
|
|
- 'admin.reports.summary.action_preambles.*'
|
|
|
|
- 'admin.reports.summary.actions.*'
|
2022-04-08 21:14:50 +10:00
|
|
|
- 'admin_mailer.new_appeal.actions.*'
|
2018-03-19 06:33:07 +11:00
|
|
|
- 'statuses.attached.*'
|
2020-07-01 21:51:15 +10:00
|
|
|
- 'move_handler.carry_{mutes,blocks}_over_text'
|
2023-07-09 04:03:38 +10:00
|
|
|
- 'admin_mailer.*.subject'
|
2023-10-27 20:57:16 +11:00
|
|
|
- 'user_mailer.*.subject'
|
2022-02-24 02:45:22 +11:00
|
|
|
- 'notification_mailer.*'
|
2023-07-23 23:57:57 +10:00
|
|
|
- 'imports.overwrite_preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html'
|
|
|
|
- 'imports.preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html'
|
2023-06-12 22:22:46 +10:00
|
|
|
- 'mail_subscriptions.unsubscribe.emails.*'
|
2023-07-19 05:13:25 +10:00
|
|
|
- 'preferences.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use
|
2019-11-16 07:23:03 +11:00
|
|
|
|
|
|
|
ignore_inconsistent_interpolations:
|
|
|
|
- '*.one'
|