i18n-tasks.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. - 'application_mailer.salutation'
  37. - 'errors.500'
  38. - 'auth.providers.*'
  39. ignore_unused:
  40. - 'activemodel.errors.*'
  41. - 'activerecord.attributes.*'
  42. - 'activerecord.errors.*'
  43. - '{devise,pagination,doorkeeper}.*'
  44. - '{date,datetime,time,number}.*'
  45. - 'simple_form.{yes,no,recommended,not_recommended}'
  46. - 'simple_form.{placeholders,hints,labels}.*'
  47. - 'simple_form.{error_notification,required}.:'
  48. - 'errors.messages.*'
  49. - 'activerecord.errors.models.doorkeeper/*'
  50. - 'errors.429'
  51. - 'admin.accounts.roles.*'
  52. - 'admin.action_logs.actions.*'
  53. - 'admin.reports.summary.action_preambles.*'
  54. - 'admin.reports.summary.actions.*'
  55. - 'admin_mailer.new_appeal.actions.*'
  56. - 'statuses.attached.*'
  57. - 'move_handler.carry_{mutes,blocks}_over_text'
  58. - 'notification_mailer.*'
  59. ignore_inconsistent_interpolations:
  60. - '*.one'