summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html9
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)">&times;</a>
</div>
{% include "header.html" %}