mirror of
https://github.com/funamitech/mastodon
synced 2024-11-27 14:29:03 +09:00
077e0c6812
Conflicts: - `Gemfile.lock`: Conflict caused by the `json` gem thing once again. Updated as upstream did, but keeping the most recent `json` version. - `spec/helpers/application_helper_spec.rb`: Upstream refactored a bunch of specs, including one place that differs because of glitch-soc's theming system. Refactored as upstream did, adapting it for glitch-soc's theming system.
85 lines
2.4 KiB
YAML
85 lines
2.4 KiB
YAML
# 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-glitch/%{locale}.yml
|
|
- config/locales-glitch/*.%{locale}.yml
|
|
|
|
write:
|
|
- [
|
|
'{devise, simple_form, doorkeeper}.*',
|
|
'config/locales-glitch/\1.%{locale}.yml',
|
|
]
|
|
- config/locales-glitch/%{locale}.yml
|
|
|
|
external:
|
|
- config/locales/%{locale}.yml
|
|
- config/locales/**/*.%{locale}.yml
|
|
|
|
yaml:
|
|
write:
|
|
line_width: -1
|
|
|
|
search:
|
|
paths:
|
|
- app/
|
|
- config/navigation.rb
|
|
|
|
relative_roots:
|
|
- app/controllers
|
|
- app/helpers
|
|
- app/mailers
|
|
- app/views
|
|
|
|
exclude:
|
|
- app/assets/images
|
|
- app/assets/fonts
|
|
- app/assets/videos
|
|
|
|
ignore_missing:
|
|
- 'activemodel.errors.*'
|
|
- 'activerecord.attributes.*'
|
|
- 'activerecord.errors.*'
|
|
- '{pagination,doorkeeper}.*'
|
|
- '{date,datetime,time,number}.*'
|
|
- 'errors.messages.*'
|
|
- 'activerecord.errors.models.doorkeeper/*'
|
|
- 'sessions.{browsers,platforms}.*'
|
|
- 'application_mailer.salutation'
|
|
- 'errors.500'
|
|
- 'auth.providers.*'
|
|
|
|
ignore_unused:
|
|
- 'activemodel.errors.*'
|
|
- 'activerecord.attributes.*'
|
|
- 'activerecord.errors.*'
|
|
- '{devise,pagination,doorkeeper}.*'
|
|
- '{date,datetime,time,number}.*'
|
|
- 'simple_form.{yes,no,recommended,not_recommended,overridden,glitch_only}'
|
|
- 'simple_form.{placeholders,hints,labels}.*'
|
|
- 'simple_form.{error_notification,required}.:'
|
|
- 'errors.messages.*'
|
|
- 'activerecord.errors.models.doorkeeper/*'
|
|
- 'errors.429'
|
|
- 'admin.accounts.roles.*'
|
|
- 'admin.action_logs.actions.*'
|
|
- 'admin.reports.summary.action_preambles.*'
|
|
- 'admin.reports.summary.actions.*'
|
|
- 'admin_mailer.new_appeal.actions.*'
|
|
- 'statuses.attached.*'
|
|
- 'themes.*'
|
|
- 'move_handler.carry_{mutes,blocks}_over_text'
|
|
- 'admin_mailer.*.subject'
|
|
- 'user_mailer.*.subject'
|
|
- 'notification_mailer.*'
|
|
- 'imports.overwrite_preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html'
|
|
- 'imports.preambles.{following,blocking,muting,domain_blocking,bookmarks,lists}_html'
|
|
- 'mail_subscriptions.unsubscribe.emails.*'
|
|
- 'preferences.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use
|
|
- 'edit_profile.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use
|
|
|
|
ignore_inconsistent_interpolations:
|
|
- '*.one'
|