Sha256: 2d2f617fd0bb3ab4bf8a2a7138823c2866016cf868280898b91cb253370c0d66

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

base_locale: en
locales: [es]

# i18n data storage
data:
  # The default file adapter supports YAML and JSON files. You can provide a class name here.
  adapter: file_system
  #router: pattern_router
  # adapter options
  read:
    - 'config/locales/%{locale}.yml'
    - 'config/locales/*.%{locale}.yml'
  write:
    # keys matched top to bottom
    - ['devise.*', 'config/locales/devise.%{locale}.yml']
    # default catch-all (same as ['*', 'config/locales/%{locale}.yml'])
    - 'config/locales/%{locale}.yml'
  yaml:
    write:
      line_width: -1

# i18n usage search in source
search:
  # search these directories (relative to your Rails.root directory, default: 'app/')
  paths:
    - 'app/'
    - 'vendor/'
  # include only files matching this glob pattern (default: blank = include all files)
  include:
    - '*.rb'
    - '*.html.*'
    - '*.file'
  # explicitly exclude files (default: blank = exclude no files)
  exclude: '*.js'
  # paths for relative key resolution:
  relative_roots:
    - app/views
    - app/controllers
    - app/mailers


# do not report these keys ever
ignore:
  - ignore.a

# do not report these keys as unused
ignore_unused:
  - ignore_unused.a

# do not report these keys as missing:
ignore_missing:
  - ignored_missing_key.a # one key t ignore
  - ignored_pattern.*     # ignore the whole pattern

# do not report these keys when they have the same value as the base locale version
ignore_eq_base:
  all:
    - ignore_eq_base_all.a
  es:
    - ignore_eq_base_es.a

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
i18n-tasks-0.8.4 spec/fixtures/config/i18n-tasks.yml