From f36c475dd6ddf030743f73b0c563ad0165b00310 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Wed, 30 Apr 2014 19:47:12 +0800 Subject: * fixed attachments.short_description of UserProfileAdmin * updated related zh_CN messages --- account/admin.py | 1 + locale/zh_CN/LC_MESSAGES/django.mo | Bin 5513 -> 5548 bytes locale/zh_CN/LC_MESSAGES/django.po | 6 +++++- 3 files changed, 6 insertions(+), 1 deletion(-) 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 Binary files a/locale/zh_CN/LC_MESSAGES/django.mo and b/locale/zh_CN/LC_MESSAGES/django.mo 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 \n" "Language-Team: LANGUAGE \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" -- cgit v1.2.2