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
@@ -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 =>
+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]( documentation for more examples.

0 comments on commit 6416897

Please sign in to comment.