# HG changeset patch # User Sylvain Beucler # Date 1280647674 -7200 # Node ID d2be34f42ca846105770ad9340fc6a7f1f3be390 # Parent 06eaae5b08978148b839323c839d2cdbe3e4454b More i18n diff --git a/savane/svmain/urls.py b/savane/svmain/urls.py --- a/savane/svmain/urls.py +++ b/savane/svmain/urls.py @@ -53,13 +53,13 @@ { 'queryset': auth_models.User.objects.all(), 'paginate_by': 20, 'model_admin': UserAdmin, - 'extra_context' : { 'title' : 'Users' }, + 'extra_context' : { 'title' : _("Users") }, 'template_name' : 'svmain/user_list.html' }, name='user_list'), url(r'^u/(?P[-\w]+)/$', object_detail, { 'queryset' : auth_models.User.objects.all(), 'slug_field' : 'username', - 'extra_context' : { 'title' : 'User detail' }, + 'extra_context' : { 'title' : _("User detail") }, 'template_name' : 'svmain/user_detail.html', }, name='user_detail'), url(r'^us/(?P[-\w]+)/$', views.user_redir), diff --git a/templates/my/contact.html b/templates/my/contact.html --- a/templates/my/contact.html +++ b/templates/my/contact.html @@ -2,7 +2,7 @@ {% load i18n %} {% block title %} -{% trans "My account configuration" %}{% trans ": " %} {{title}} +{% trans "My account configuration" %}{% trans ": " %}{{title}} {% endblock %} {% block content %} diff --git a/templates/my/i18n.html b/templates/my/i18n.html --- a/templates/my/i18n.html +++ b/templates/my/i18n.html @@ -2,7 +2,7 @@ {% load i18n %} {% block title %} -{% trans "My account configuration" %}{% trans ": " %} {{title}} +{% trans "My account configuration" %}{% trans ": " %}{{title}} {% endblock %} {% comment %} diff --git a/templates/my/resume_skill.html b/templates/my/resume_skill.html --- a/templates/my/resume_skill.html +++ b/templates/my/resume_skill.html @@ -2,7 +2,7 @@ {% load i18n %} {% block title %} -{% trans "My account configuration" %}{% trans ": " %} {{title}} +{% trans "My account configuration" %}{% trans ": " %}{{title}} {% endblock %} {% block content %} diff --git a/templates/my/ssh.html b/templates/my/ssh.html --- a/templates/my/ssh.html +++ b/templates/my/ssh.html @@ -2,7 +2,7 @@ {% load i18n %} {% block title %} -{% trans "My account configuration" %}{% trans ": " %} {{title}} +{% trans "My account configuration" %}{% trans ": " %}{{title}} {% endblock %} {% block content %}