foodsoft/config/initializers/gettext_helper.rb

26 lines
366 B
Ruby

# Remove this file, when every gettext-method <_("text to translate..")>
# is replaced by rails L18n method: L18n.name.name...
module ActionView
class Base
def _(text)
text
end
end
end
module ActiveRecord
class Base
def _(text)
text
end
end
end
module ActionController
class Base
def _(text)
text
end
end
end