aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-30 19:47:12 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-30 19:47:12 +0800
commitf36c475dd6ddf030743f73b0c563ad0165b00310 (patch)
tree067ed8d5541f06fd36ed2fb0a0529067b7f7e2ff
parenta390abcdd6b90810759a5178b8eae05fca0d7a6f (diff)
downloaddjango-skaschool-f36c475dd6ddf030743f73b0c563ad0165b00310.tar.bz2
* fixed attachments.short_description of UserProfileAdmin
* updated related zh_CN messages
-rw-r--r--account/admin.py1
-rw-r--r--locale/zh_CN/LC_MESSAGES/django.mobin5513 -> 5548 bytes
-rw-r--r--locale/zh_CN/LC_MESSAGES/django.po6
3 files changed, 6 insertions, 1 deletions
diff --git a/account/admin.py b/account/admin.py
index 04ebf3b..f491104 100644
--- a/account/admin.py
+++ b/account/admin.py
@@ -136,6 +136,7 @@ class UserProfileAdmin(admin.ModelAdmin):
else:
html = _("Null")
return format_html(html)
+ attachments.short_description = _("Attachments")
admin.site.register(UserProfile, UserProfileAdmin)
diff --git a/locale/zh_CN/LC_MESSAGES/django.mo b/locale/zh_CN/LC_MESSAGES/django.mo
index 9ce7111..9508add 100644
--- a/locale/zh_CN/LC_MESSAGES/django.mo
+++ b/locale/zh_CN/LC_MESSAGES/django.mo
Binary files differ
diff --git a/locale/zh_CN/LC_MESSAGES/django.po b/locale/zh_CN/LC_MESSAGES/django.po
index 8af31e4..315c787 100644
--- a/locale/zh_CN/LC_MESSAGES/django.po
+++ b/locale/zh_CN/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-04-30 19:28+0800\n"
+"POT-Creation-Date: 2014-04-30 19:46+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Weitian LI <liweitianux@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -104,6 +104,10 @@ msgstr "成绩单"
msgid "Null"
msgstr "无"
+#: account/admin.py:139
+msgid "Attachments"
+msgstr "附件"
+
#: account/extra.py:49
#, python-format
msgid "Please keep filesize under %(maxsize)s. Current filesize %(filesize)s"