Sha256: 79ba314a9e9826bbe4f805480892cf974e908737def942f8da0d31d854df4ced

Contents?: true

Size: 1.12 KB

Versions: 11

Compression:

Stored size: 1.12 KB

Contents

# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks

# The "main" locale.
base_locale: en

# Read and write translations.
data:
  # Locale files or `File.find` patterns where translations are read from:
  read:
    - config/locales/%{locale}.yml
    - config/locales/**/*.%{locale}.yml

  # Locale files to write new keys to, based on a list of key pattern => file
  # rules. Matched from top to bottom:
  # `i18n-tasks normalize -p` will force move the keys according to these rules
  write:
    - ['*_sidebar.*', 'config/locales/sidebars.%{locale}.yml']
    - config/locales/%{locale}.yml

# Find translate calls
search:
  ## Paths or `File.find` patterns to search in:
  paths:
   - app/
   - lib/

  ## Root directories for relative keys resolution.
  relative_roots:
    - app/controllers
    - app/helpers
    - app/mailers
    - app/presenters
    - app/views

## Do not consider these keys missing:
ignore_missing:
  - 'devise.*'

## Consider these keys used:
ignore_unused:
  - 'time.formats.*'
  - 'layouts.default.designed_by'
  - 'date.*'
  - 'activerecord.{attributes,errors,models}.*'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
publify_core-9.2.10 config/i18n-tasks.yml
publify_core-9.2.9 config/i18n-tasks.yml
publify_core-9.2.8 config/i18n-tasks.yml
publify_core-9.2.7 config/i18n-tasks.yml
publify_core-9.2.6 config/i18n-tasks.yml
publify_core-9.2.5 config/i18n-tasks.yml
publify_core-9.2.4 config/i18n-tasks.yml
publify_core-9.2.3 config/i18n-tasks.yml
publify_core-9.2.2 config/i18n-tasks.yml
publify_core-9.2.1 config/i18n-tasks.yml
publify_core-9.2.0 config/i18n-tasks.yml