Mark two strings for translation
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 13 Nov 2011 18:51:11 +0000 (19:51 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 13 Nov 2011 18:51:11 +0000 (19:51 +0100)
mediagoblin/edit/views.py
mediagoblin/templates/mediagoblin/base.html

index a6ddb553844b188181448e46ec4817dff137d156..17244831cead28754aba7488559bb6a5ed2d68dc 100644 (file)
@@ -170,7 +170,7 @@ def edit_profile(request):
 
             messages.add_message(request,
                                  messages.SUCCESS,
-                                 'Profile edited!')
+                                 _("Profile edited!"))
             return redirect(request,
                            'mediagoblin.user_pages.user_home',
                             user=edit_username)
index b4c4dcf33539f7aa04d0284534761e8b63052c50..925386e550e074ac3330e7fddf92f9822a950d43 100644 (file)
@@ -67,7 +67,7 @@
                                             user= request.user['username']) }}">
                   {{ request.user['username'] }}</a>
 
-                (<a href="{{ request.urlgen('mediagoblin.auth.logout') }}">log out</a>)
+                (<a href="{{ request.urlgen('mediagoblin.auth.logout') }}">{% trans %}log out{% endtrans %}</a>)
               {% else %}
                 <a href="{{ request.urlgen('mediagoblin.auth.login') }}">
                   {% trans %}Log in{% endtrans %}</a>