From 42eaa94dc4963b1d1749f77d46cbdc17fdb44a9d Mon Sep 17 00:00:00 2001 From: zhengxie Date: Tue, 3 Nov 2015 11:06:04 +0800 Subject: [PATCH] Update a few strings --- seahub/templates/sysadmin/sys_org_admin.html | 6 +++--- seahub/templates/sysadmin/sys_org_search.html | 2 +- seahub/views/ajax.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/seahub/templates/sysadmin/sys_org_admin.html b/seahub/templates/sysadmin/sys_org_admin.html index a32072eccd..abb990a07e 100644 --- a/seahub/templates/sysadmin/sys_org_admin.html +++ b/seahub/templates/sysadmin/sys_org_admin.html @@ -4,7 +4,7 @@ {% block left_panel %}{{block.super}}
- +
{% endblock %} @@ -13,7 +13,7 @@ @@ -59,7 +59,7 @@ $('#add-btn').click(function() { }); addConfirmTo($('.remove-btn'), { - 'title':"{% trans "Delete org" %}", + 'title':"Delete org", 'con':"{% trans "Are you sure you want to delete %s ?" %}", 'post': true // post request }); diff --git a/seahub/templates/sysadmin/sys_org_search.html b/seahub/templates/sysadmin/sys_org_search.html index 58d3fb8c55..eb704936e8 100644 --- a/seahub/templates/sysadmin/sys_org_search.html +++ b/seahub/templates/sysadmin/sys_org_search.html @@ -3,7 +3,7 @@ {% block cur_org %}tab-cur{% endblock %} {% block right_panel %} -

{% trans "Search Org"%}

+

Search Org

{% trans "Tip: you can search by keyword in name or creator or both." %}

diff --git a/seahub/views/ajax.py b/seahub/views/ajax.py index 172aeadd0a..eddd47e25d 100644 --- a/seahub/views/ajax.py +++ b/seahub/views/ajax.py @@ -1085,7 +1085,7 @@ def cp_dirents(request, src_repo_id, src_path, dst_repo_id, dst_path, obj_file_n username = request.user.username if check_folder_permission(request, src_repo_id, src_path) is None: - error_msg = _(u'You do not have permission to copy files/dirs in this directory') + error_msg = _(u'You do not have permission to copy files/folders in this directory') result['error'] = error_msg return HttpResponse(json.dumps(result), status=403, content_type=content_type)