1
0

i18n-tasks.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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,recommended}'
  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.*'
  55. - 'move_handler.carry_{mutes,blocks}_over_text'
  56. ignore_inconsistent_interpolations:
  57. - '*.one'