lib/globalize/backend/gettext.rb in kriss-gettext_i18n-0.2.0 vs lib/globalize/backend/gettext.rb in kriss-gettext_i18n-0.2.1
- old
+ new
@@ -13,10 +13,10 @@
if key.is_a? String
return if key.blank?
begin
translate locale, key.to_sym, options
rescue I18n::MissingTranslationData
- return key
+ interpolate locale, key, options
end
else
translate locale, key, options
end
end
\ No newline at end of file