Permalink
Browse files

remove cruft

  • Loading branch information...
1 parent 77ba8e2 commit d749b58e0b4b78463702bf68847bf6fc27f4b97c Sven Fuchs committed Aug 22, 2009
Showing with 0 additions and 13 deletions.
  1. +0 −13 lib/i18n/backend/base.rb
View
@@ -182,19 +182,6 @@ def interpolate(locale, string, values = {})
raise MissingInterpolationArgument.new(values, string)
end
- # def localize_token(locale, format, key, ix = nil)
- # result = I18n.t(key, :locale => locale, :format => format)
- # result = result[ix] unless ix.nil?
- # result
- # end
- #
- # def localize_format!(format, token, key, locale, ix = nil)
- # return format unless format.include?(token)
- # localized = I18n.t(key, :locale => locale, :format => format)
- # localized = localized[ix] unless ix.nil?
- # format.gsub!(token, localized)
- # end
-
# Loads a single translations file by delegating to #load_rb or
# #load_yml depending on the file extension and directly merges the
# data to the existing translations. Raises I18n::UnknownFileType

0 comments on commit d749b58

Please sign in to comment.