i18n-tasks.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks
  2. # The "main" locale.
  3. base_locale: en
  4. data:
  5. read:
  6. - config/locales/%{locale}.yml
  7. - config/locales/**/*.%{locale}.yml
  8. write:
  9. - ['{devise, simple_form, doorkeeper}.*', 'config/locales/\1.%{locale}.yml']
  10. - config/locales/%{locale}.yml
  11. yaml:
  12. write:
  13. line_width: -1
  14. search:
  15. paths:
  16. - app/
  17. - config/navigation.rb
  18. relative_roots:
  19. - app/controllers
  20. - app/helpers
  21. - app/mailers
  22. - app/views
  23. exclude:
  24. - app/assets/images
  25. - app/assets/fonts
  26. - app/assets/videos
  27. ignore_missing:
  28. - 'activemodel.errors.*'
  29. - 'activerecord.attributes.*'
  30. - 'activerecord.errors.*'
  31. - '{pagination,doorkeeper}.*'
  32. - '{date,datetime,time,number}.*'
  33. - 'errors.messages.*'
  34. - 'activerecord.errors.models.doorkeeper/*'
  35. - 'sessions.{browsers,platforms}.*'
  36. - 'terms.body_html'
  37. - 'application_mailer.salutation'
  38. - 'errors.500'
  39. - 'auth.providers.*'
  40. ignore_unused:
  41. - 'activemodel.errors.*'
  42. - 'activerecord.attributes.*'
  43. - 'activerecord.errors.*'
  44. - '{devise,pagination,doorkeeper}.*'
  45. - '{date,datetime,time,number}.*'
  46. - 'simple_form.{yes,no}'
  47. - 'simple_form.{placeholders,hints,labels}.*'
  48. - 'simple_form.{error_notification,required}.:'
  49. - 'errors.messages.*'
  50. - 'activerecord.errors.models.doorkeeper/*'
  51. - 'errors.429'
  52. - 'admin.accounts.roles.*'
  53. - 'admin.action_logs.actions.*'
  54. - 'statuses.attached.*'