Add missing method for gettext-string-converter.
This commit is contained in:
parent
9f8d0d28ac
commit
da309f03b0
3 changed files with 15 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# Remove this file, when every gettext-method <_("text to translate..")>
|
||||
# is replaced by rails l18n method: l18n.name.name...
|
||||
# is replaced by rails L18n method: L18n.name.name...
|
||||
|
||||
module ActionView
|
||||
class Base
|
||||
|
|
@ -7,4 +7,12 @@ module ActionView
|
|||
text
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module ActiveRecord
|
||||
class Base
|
||||
def _(text)
|
||||
text
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue