1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 06:11:16 +00:00

Modified remame/move file translation

This commit is contained in:
zhengxie
2012-12-06 11:08:45 +08:00
parent d252d5eed5
commit 9b461e1134
3 changed files with 14 additions and 8 deletions

View File

@@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 "点此取消"

View File

@@ -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 + ' <span class="op-target">' + obj_name + '</span> {% trans "to:" %}');
$('#mv-hd').html(mv_type + file_type + ' <span class="op-target">' + obj_name + '</span> {% trans "to..." %}');
$('#mv-form').modal({appendTo:'#main', autoResize:true});
renderDirTree($('#current-repo-dirs'), current_repo);
return false;

View File

@@ -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)