aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/translation_helper.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-05-11 21:53:39 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-05-11 21:53:39 +0530
commitb2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661 (patch)
tree2489357ba541d47cad58a9bd47cc6856a077fa8d /actionpack/lib/action_view/helpers/translation_helper.rb
parent8ce2844cbb52ea31716b0f286b5d7f9d20bf0e3c (diff)
parentd10a1b5739730425fc5a103f8fd7eb15b6e34db8 (diff)
downloadrails-b2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661.tar.gz
rails-b2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661.tar.bz2
rails-b2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack/lib/action_view/helpers/translation_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/translation_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/translation_helper.rb b/actionpack/lib/action_view/helpers/translation_helper.rb
index ec9bdd5320..fd8fe417d0 100644
--- a/actionpack/lib/action_view/helpers/translation_helper.rb
+++ b/actionpack/lib/action_view/helpers/translation_helper.rb
@@ -15,10 +15,10 @@ module ActionView
# = Action View Translation Helpers
module Helpers
module TranslationHelper
- # Delegates to I18n#translate but also performs three additional functions.
+ # Delegates to <tt>I18n#translate</tt> but also performs three additional functions.
#
- # First, it'll pass the :rescue_format => :html option to I18n so that any
- # thrown MissingTranslation messages will be turned into inline spans that
+ # First, it'll pass the <tt>:rescue_format => :html</tt> option to I18n so that any
+ # thrown +MissingTranslation+ messages will be turned into inline spans that
#
# * have a "translation-missing" class set,
# * contain the missing key as a title attribute and
@@ -54,7 +54,7 @@ module ActionView
end
alias :t :translate
- # Delegates to I18n.localize with no additional functionality.
+ # Delegates to <tt>I18n.localize</tt> with no additional functionality.
def localize(*args)
I18n.localize(*args)
end