config/i18n-tasks.yml in decidim-admin-0.1.0 vs config/i18n-tasks.yml in decidim-admin-0.2.0
- old
+ new
@@ -1,11 +1,10 @@
# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks
# The "main" locale.
base_locale: en
-## All available locales are inferred from the data by default. Alternatively, specify them explicitly:
-locales: [en]
+
## Reporting locale, default: en. Available: en, ru.
# internal_locale: en
# Read and write translations.
data:
@@ -46,13 +45,14 @@
# object_nl: "\n"
# array_nl: "\n"
# Find translate calls
search:
- ## Paths or `File.find` patterns to search in:
- # paths:
- # - app/
+ # Paths or `File.find` patterns to search in:
+ paths:
+ - app/
+ - lib/
## Root directories for relative keys resolution.
# relative_roots:
# - app/controllers
# - app/helpers
@@ -69,10 +69,10 @@
## Alternatively, the only files or `File.fnmatch patterns` to search in `paths`:
## If specified, this settings takes priority over `exclude`, but `exclude` still applies.
# only: ["*.rb", "*.html.slim"]
## If `strict` is `false`, guess usages such as t("categories.#{category}.title"). The default is `true`.
- # strict: true
+ strict: false
## Multiple scanners can be used. Their results are merged.
## The options specified above are passed down to each scanner. Per-scanner options can be specified as well.
## See this example of a custom scanner: https://github.com/glebm/i18n-tasks/wiki/A-custom-scanner-example