templates/config/i18n-tasks.yml in i18n-tasks-0.9.5 vs templates/config/i18n-tasks.yml in i18n-tasks-0.9.6

- old
+ new

@@ -63,10 +63,11 @@ ## Files or `File.fnmatch` patterns to exclude from search. Some files are always excluded regardless of this setting: ## %w(*.jpg *.png *.gif *.svg *.ico *.eot *.otf *.ttf *.woff *.woff2 *.pdf *.css *.sass *.scss *.less *.yml *.json) exclude: - app/assets/images - app/assets/fonts + - app/assets/videos ## 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"] @@ -108,13 +109,13 @@ ## Sometimes, it isn't possible for i18n-tasks to match the key correctly, ## e.g. in case of a relative key defined in a helper method. ## In these cases you can use the built-in PatternMapper to map patterns to keys, e.g.: # -# <%#= I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper', -# only: %w(*.html.haml *.html.slim), -# patterns: [['= title\b', '.page_title']] %> +# <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper', +# only: %w(*.html.haml *.html.slim), +# patterns: [['= title\b', '.page_title']] %> # # The PatternMapper can also match key literals via a special %{key} interpolation, e.g.: # -# <%#= I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper', -# patterns: [['\bSpree\.t[( ]\s*%{key}', 'spree.%{key}']] %> +# <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper', +# patterns: [['\bSpree\.t[( ]\s*%{key}', 'spree.%{key}']] %>