lib/meta2/strategies/i18n.rb in meta2-0.0.1 vs lib/meta2/strategies/i18n.rb in meta2-0.0.2
- old
+ new
@@ -26,10 +26,10 @@
end
private
def catch_path(namespace)
- path = "#{@config.assign_name}.#{namespace}"
+ path = "#{@config.assign_name}.config.#{namespace}"
Meta2.debug "#{namespace} path:#{path}"
content = ::I18n.t path, default: FAILURE_KEYWORD
FAILURE_KEYWORD == content.to_s ? nil : content
end