mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-24 21:45:06 +01:00
4ada50985a
* Replace will_paginate with kaminari * Use #page instead of #paginate in controllers * Replace will_paginate.page_gap with pagination.truncate in i18n * Customize kaminari views to match prior styles * Set kaminari options to match prior behavior * Replace will_paginate with paginate in views
43 lines
930 B
YAML
43 lines
930 B
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/%{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:
|
|
- 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_unused:
|
|
- 'activerecord.attributes.*'
|
|
- '{devise,pagination,doorkeeper}.*'
|
|
- '{datetime,time}.*'
|
|
- 'simple_form.{yes,no}'
|
|
- 'simple_form.{placeholders,hints,labels}.*'
|
|
- 'simple_form.{error_notification,required}.:'
|
|
- 'errors.messages.*'
|
|
- 'activerecord.errors.models.doorkeeper/*'
|