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