mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
Modified remame/move file translation
This commit is contained in:
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \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"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -327,7 +327,9 @@ msgstr "成功将重置密码为 %(passwd)s, 一封通知邮件已经发送给 %
|
|||||||
msgid ""
|
msgid ""
|
||||||
"Successfully resetting password to %(passwd)s, but failed to send email to "
|
"Successfully resetting password to %(passwd)s, but failed to send email to "
|
||||||
"%(user)s, please check your email configuration."
|
"%(user)s, please check your email configuration."
|
||||||
msgstr "成功将重置密码为 %(passwd)s, 发送通知邮件到 %(user)s 失败,请检查你的邮件配置。"
|
msgstr ""
|
||||||
|
"成功将重置密码为 %(passwd)s, 发送通知邮件到 %(user)s 失败,请检查你的邮件配"
|
||||||
|
"置。"
|
||||||
|
|
||||||
#: views.py:1894
|
#: views.py:1894
|
||||||
#, python-format
|
#, python-format
|
||||||
@@ -352,7 +354,7 @@ msgstr "邮件发送失败"
|
|||||||
|
|
||||||
#: views.py:2135
|
#: views.py:2135
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Successfully rename %(old)s to %(new)s。"
|
msgid "Successfully rename %(old)s to %(new)s"
|
||||||
msgstr "%(old)s 已重命名为 %(new)s"
|
msgstr "%(old)s 已重命名为 %(new)s"
|
||||||
|
|
||||||
#: views.py:2191
|
#: views.py:2191
|
||||||
@@ -876,7 +878,7 @@ msgstr "新建文件"
|
|||||||
msgid "Directory icon"
|
msgid "Directory icon"
|
||||||
msgstr "目录图标"
|
msgstr "目录图标"
|
||||||
|
|
||||||
#: templates/repo.html:114
|
#: templates/repo.html:115
|
||||||
msgid "More operations"
|
msgid "More operations"
|
||||||
msgstr "更多操作"
|
msgstr "更多操作"
|
||||||
|
|
||||||
@@ -1009,9 +1011,9 @@ msgstr "目录"
|
|||||||
msgid "Rename "
|
msgid "Rename "
|
||||||
msgstr "重命名"
|
msgstr "重命名"
|
||||||
|
|
||||||
#: templates/repo.html:349 templates/repo.html.py:411
|
#: templates/repo.html:349
|
||||||
msgid "to:"
|
msgid "to:"
|
||||||
msgstr "到:"
|
msgstr "为:"
|
||||||
|
|
||||||
#: templates/repo.html:396
|
#: templates/repo.html:396
|
||||||
msgid "Copy "
|
msgid "Copy "
|
||||||
@@ -1029,6 +1031,10 @@ msgstr "文件"
|
|||||||
msgid "directory "
|
msgid "directory "
|
||||||
msgstr "目录"
|
msgstr "目录"
|
||||||
|
|
||||||
|
#: templates/repo.html:411
|
||||||
|
msgid "to..."
|
||||||
|
msgstr "到..."
|
||||||
|
|
||||||
#: templates/repo.html:612
|
#: templates/repo.html:612
|
||||||
msgid "Click to remove"
|
msgid "Click to remove"
|
||||||
msgstr "点此取消"
|
msgstr "点此取消"
|
||||||
|
@@ -408,7 +408,7 @@ $('.file-cp, .file-mv, .dir-cp, .dir-mv').click(function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('input[name="obj_name"]').val(obj_name);
|
$('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});
|
$('#mv-form').modal({appendTo:'#main', autoResize:true});
|
||||||
renderDirTree($('#current-repo-dirs'), current_repo);
|
renderDirTree($('#current-repo-dirs'), current_repo);
|
||||||
return false;
|
return false;
|
||||||
|
2
views.py
2
views.py
@@ -2132,7 +2132,7 @@ def repo_rename_file(request):
|
|||||||
try:
|
try:
|
||||||
seafserv_threaded_rpc.rename_file (repo_id, parent_dir,
|
seafserv_threaded_rpc.rename_file (repo_id, parent_dir,
|
||||||
oldname, newname, user)
|
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})
|
{"old":oldname, "new":newname})
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
result['error'] = str(e)
|
result['error'] = str(e)
|
||||||
|
Reference in New Issue
Block a user