mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-31 06:40:39 +00:00
Update a few strings
This commit is contained in:
parent
2c04a75881
commit
42eaa94dc4
@ -4,7 +4,7 @@
|
||||
|
||||
{% block left_panel %}{{block.super}}
|
||||
<form action="{% url 'sys_org_search' %}" method="get" class="side-search-form">
|
||||
<input type="text" name="name" class="input" value="" placeholder="{% trans "Search orgs by name..." %}" />
|
||||
<input type="text" name="name" class="input" value="" placeholder="Search orgs by name..." />
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<ul class="tabnav-tabs">
|
||||
<li class="tabnav-tab {% if all_page %}tabnav-tab-cur{% endif %}"><a href="{% url 'sys_org_admin' %}">{% trans "All" %}</a></li>
|
||||
{% if enable_org_plan %}
|
||||
<li class="tabnav-tab {% if paid_page %}tabnav-tab-cur{% endif %}"><a href="{% url 'sys_org_admin' %}?filter=paid">{% trans "Paid" %}</a></li>
|
||||
<li class="tabnav-tab {% if paid_page %}tabnav-tab-cur{% endif %}"><a href="{% url 'sys_org_admin' %}?filter=paid">Paid</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
<button id="add-btn" class="fright">{% trans "Add organization" %}</button>
|
||||
@ -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
|
||||
});
|
||||
|
@ -3,7 +3,7 @@
|
||||
{% block cur_org %}tab-cur{% endblock %}
|
||||
|
||||
{% block right_panel %}
|
||||
<h3>{% trans "Search Org"%}</h3>
|
||||
<h3>Search Org</h3>
|
||||
|
||||
<form id="search-repo-form" method="get" action="{% url "sys_org_search" %}">
|
||||
<p class="tip">{% trans "Tip: you can search by keyword in name or creator or both." %}</p>
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user