Created
March 30, 2009 20:36
-
-
Save kurowski/87876 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb | |
index 4ec2ddb..6203dcb 100644 | |
--- a/app/helpers/application_helper.rb | |
+++ b/app/helpers/application_helper.rb | |
@@ -1,9 +1,9 @@ | |
module ApplicationHelper | |
def logged_in_user | |
if @user | |
- content_tag 'p', "You are logged in as #{@user.username}" | |
+ content_tag 'p', t('messages.logged_in_as', :name => @user.username) | |
else | |
- content_tag 'p', "You are not logged in" | |
+ content_tag 'p', t('messages.not_logged_in') | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment