diff --git a/locale/zh_CN/LC_MESSAGES/django.po b/locale/zh_CN/LC_MESSAGES/django.po index 1365cbb619..70b5159f8b 100644 --- a/locale/zh_CN/LC_MESSAGES/django.po +++ b/locale/zh_CN/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-12-05 20:49+0800\n" +"POT-Creation-Date: 2012-12-06 11:06+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -327,7 +327,9 @@ msgstr "成功将重置密码为 %(passwd)s, 一封通知邮件已经发送给 % msgid "" "Successfully resetting password to %(passwd)s, but failed to send email to " "%(user)s, please check your email configuration." -msgstr "成功将重置密码为 %(passwd)s, 发送通知邮件到 %(user)s 失败,请检查你的邮件配置。" +msgstr "" +"成功将重置密码为 %(passwd)s, 发送通知邮件到 %(user)s 失败,请检查你的邮件配" +"置。" #: views.py:1894 #, python-format @@ -352,7 +354,7 @@ msgstr "邮件发送失败" #: views.py:2135 #, python-format -msgid "Successfully rename %(old)s to %(new)s。" +msgid "Successfully rename %(old)s to %(new)s" msgstr "%(old)s 已重命名为 %(new)s" #: views.py:2191 @@ -876,7 +878,7 @@ msgstr "新建文件" msgid "Directory icon" msgstr "目录图标" -#: templates/repo.html:114 +#: templates/repo.html:115 msgid "More operations" msgstr "更多操作" @@ -1009,9 +1011,9 @@ msgstr "目录" msgid "Rename " msgstr "重命名" -#: templates/repo.html:349 templates/repo.html.py:411 +#: templates/repo.html:349 msgid "to:" -msgstr "到:" +msgstr "为:" #: templates/repo.html:396 msgid "Copy " @@ -1029,6 +1031,10 @@ msgstr "文件" msgid "directory " msgstr "目录" +#: templates/repo.html:411 +msgid "to..." +msgstr "到..." + #: templates/repo.html:612 msgid "Click to remove" msgstr "点此取消" diff --git a/templates/repo.html b/templates/repo.html index 5d1c03f78b..73231a6ca4 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -408,7 +408,7 @@ $('.file-cp, .file-mv, .dir-cp, .dir-mv').click(function () { } $('input[name="obj_name"]').val(obj_name); - $('#mv-hd').html(mv_type + file_type + ' ' + obj_name + ' {% trans "to:" %}'); + $('#mv-hd').html(mv_type + file_type + ' ' + obj_name + ' {% trans "to..." %}'); $('#mv-form').modal({appendTo:'#main', autoResize:true}); renderDirTree($('#current-repo-dirs'), current_repo); return false; diff --git a/views.py b/views.py index 97f939a128..5ef3399e81 100644 --- a/views.py +++ b/views.py @@ -2132,7 +2132,7 @@ def repo_rename_file(request): try: seafserv_threaded_rpc.rename_file (repo_id, parent_dir, oldname, newname, user) - messages.success(request, _(u'Successfully rename %(old)s to %(new)s。') % \ + messages.success(request, _(u'Successfully rename %(old)s to %(new)s') % \ {"old":oldname, "new":newname}) except Exception, e: result['error'] = str(e)