i18n-tasks.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. - '{devise,pagination,doorkeeper}.*'
  32. - '{datetime,time}.*'
  33. - 'simple_form.{yes,no}'
  34. - 'simple_form.{placeholders,hints,labels}.*'
  35. - 'simple_form.{error_notification,required}.:'
  36. - 'errors.messages.*'
  37. - 'activerecord.errors.models.doorkeeper/*'
  38. ignore_unused:
  39. - 'activemodel.errors.*'
  40. - 'activerecord.attributes.*'
  41. - 'activerecord.errors.*'
  42. - '{devise,pagination,doorkeeper}.*'
  43. - '{datetime,time}.*'
  44. - 'simple_form.{yes,no}'
  45. - 'simple_form.{placeholders,hints,labels}.*'
  46. - 'simple_form.{error_notification,required}.:'
  47. - 'errors.messages.*'
  48. - 'activerecord.errors.models.doorkeeper/*'
  49. - 'errors.429'