diff options
author | Mike Chen <chagel@gmail.com> | 2009-07-09 23:44:48 +0800 |
---|---|---|
committer | Mike Chen <chagel@gmail.com> | 2009-07-09 23:44:48 +0800 |
commit | 43792515ba6b4093b2b479e4bdb274c670c15d56 (patch) | |
tree | aeab43fb342fdfe16c4401507294ebf07e24d91d /templates/base.html | |
parent | afc6db631fd54050a49a3f7362f8c79202209a4e (diff) | |
download | askbot-43792515ba6b4093b2b479e4bdb274c670c15d56.tar.gz askbot-43792515ba6b4093b2b479e4bdb274c670c15d56.tar.bz2 askbot-43792515ba6b4093b2b479e4bdb274c670c15d56.zip |
translate header, index and footer pages
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html index 3ed3b3f4..90b40612 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,8 +1,9 @@ {% load extra_filters %} +{% load i18n %} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> - <title>{% block title %}{% endblock %} - CNProg.com 程序员问答社区</title> + <title>{% block title %}{% endblock %} - {{ APP_TITLE }}</title> {% spaceless %} {% block meta %}{% endblock %} {% endspaceless %} @@ -49,9 +50,9 @@ <body> <div class="notify" style="display:none"> <span>{% if request.user.get_messages %} - 恭喜您,社区给您颁发了奖牌:{% for message in request.user.get_messages %} - <font class="darkred">{{ message }}</font>, {% endfor %}查看 - <a href="{{ request.user.get_profile_url }}">个人资料</a>{% endif %}</span> + {% trans "Congratulations! You have new badges: " %}{% for message in request.user.get_messages %} + <font class="darkred">{{ message }}</font>, {% endfor %}{% trans "go to see" %} + <a href="{{ request.user.get_profile_url }}">{% trans "Profile" %}</a>{% endif %}</span> <a class="close-notify" onclick="notify.close(true)">×</a> </div> {% include "header.html" %} |