mirror of
https://github.com/github/rails.git
synced 2026-02-06 20:25:28 -05:00
13 lines
220 B
Ruby
13 lines
220 B
Ruby
module ActionController
|
|
module Translation
|
|
def translate(*args)
|
|
I18n.translate *args
|
|
end
|
|
alias :t :translate
|
|
|
|
def localize(*args)
|
|
I18n.localize *args
|
|
end
|
|
alias :l :localize
|
|
end
|
|
end |