lib/i18n/tasks/scanners/relative_keys.rb in i18n-tasks-0.7.13 vs lib/i18n/tasks/scanners/relative_keys.rb in i18n-tasks-0.8.0

- old
+ new

@@ -9,10 +9,10 @@ def absolutize_key(key, path, roots = relative_roots, closest_method = "") normalized_path = File.expand_path(path) path_root(normalized_path, roots) or raise CommandError.new( "Error scanning #{normalized_path}: cannot resolve relative key - \"#{key}\".\nSet relative_roots in config/i18n-tasks.yml + \"#{key}\".\nSet search.relative_roots in config/i18n-tasks.yml (currently #{relative_roots.inspect})" ) prefix_key_based_on_path(key, normalized_path, roots, closest_method: closest_method) end