You are here

yaml_translation_patterns.yml in Translation template extractor 6.3

File

yaml_translation_patterns.yml
View source
  1. translation_patterns:
  2. - matches: '*.info.yml'
  3. translatable_keys:
  4. - name
  5. - description
  6. - package
  7. - regions
  8. - matches: '*.routing.yml'
  9. translatable_keys:
  10. - key: _title
  11. context: _title_context
  12. - matches: '*.links.*.yml'
  13. translatable_keys:
  14. - key: title
  15. context: title_context
  16. - matches: '*.links.menu.yml'
  17. translatable_keys:
  18. - description
  19. - matches: '*.breakpoints.yml'
  20. translatable_keys:
  21. - label
  22. - group
  23. - matches: '*.permissions.yml'
  24. top_level_translatables: true
  25. translatable_keys:
  26. - title
  27. - description
  28. - matches: 'config/schema/*.yml'
  29. translatable_keys:
  30. - label