1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

[i18n] translation. fixed some bugs

This commit is contained in:
llj
2014-02-28 16:05:07 +08:00
parent 127ecedfa9
commit 5c1e83b5d0
5 changed files with 876 additions and 773 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -645,7 +645,7 @@ def group_manage(request, group_id):
'group': group,
}
try:
subject = _(u'You are invited to join a group on %s.') % SITE_NAME
subject = _(u'You are invited to join a group on %s') % SITE_NAME
send_html_email(subject, 'group/add_member_email.html', c, None, [email])
mail_sended_list.append(email)

View File

@@ -1,8 +1,8 @@
{% extends "profile/profile_base.html" %}
{% extends "myhome_base.html" %}
{% load avatar_tags i18n %}
{% load url from future %}
{% block sub_title %}{% trans "Profile Setting" %} - {% endblock %}
{% block sub_title %}{% trans "Settings" %} - {% endblock %}
{% block left_panel %}
<div class="side-textnav">

View File

@@ -11,7 +11,7 @@
<ul class="side-tabnav-tabs">
<li class="tab {% block cur_lib %}{% endblock %}"><a href="{% url 'pubrepo' %}" class="lib">{% trans "Libraries" %}</a></li>
<li class="tab {% block cur_grp %}{% endblock %}"><a href="{% url 'pubgrp' %}" class="group">{% trans "Groups" %}</a></li>
<li class="tab {% block cur_user %}{% endblock %}"><a href="{% url 'pubuser' %}" class="members">{% trans "Users" %}</a></li>
<li class="tab {% block cur_user %}{% endblock %}"><a href="{% url 'pubuser' %}" class="members">{% trans "Members" %}</a></li>
</ul>
</div>
{% endblock %}

View File

@@ -7,13 +7,13 @@
{% block left_panel %}{{block.super}}
{% if has_file_search %}
<form action="{% url "pubuser_search" %}" method="get" class="side-search-form">
<input type="text" name="search" value="{{search}}" placeholder="{% trans "Find users..." %}" class="input" />
<input type="text" name="search" value="{{search}}" placeholder="{% trans "Search members..." %}" class="input" />
</form>
{% endif %}
{% endblock %}
{% block right_panel %}
<h3 class="hd">{% trans "Users" %}</h3>
<h3 class="hd">{% trans "Members" %}</h3>
{% if users %}
<ul class="user-list">
{% for u in users %}