Permalink
Browse files

Note on preceding dots

  • Loading branch information...
1 parent aa5f03f commit 64168975a77d2d6a235e81c3ae00d6b25a31cfde @jferris jferris committed Jan 31, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
@@ -57,6 +57,8 @@ You can access blurbs from Copycopter by using `I18n.translate`. This is also al
# Interpolation
I18n.translate("mailer.welcome", :default => "Welcome, %{name}!", :name => @user.name)
+Note that using a preceding dot (such as ".welcome") will only work when calling t or translate from a view. The full key must be used from controllers and other places.
+
See the [I18n documentation](http://rdoc.info/github/svenfuchs/i18n/master/file/README.textile) documentation for more examples.
Deploys

0 comments on commit 6416897

Please sign in to comment.