mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
i18n for pub page
This commit is contained in:
Binary file not shown.
@@ -8,7 +8,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-10-27 20:22+0800\n"
|
"POT-Creation-Date: 2012-10-27 21:01+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"
|
||||||
@@ -55,12 +55,12 @@ msgstr "密码太长"
|
|||||||
msgid "Name %s is not valid"
|
msgid "Name %s is not valid"
|
||||||
msgstr "名称 %s 含有无效字符"
|
msgstr "名称 %s 含有无效字符"
|
||||||
|
|
||||||
#: settings.py:93
|
#: settings.py:94
|
||||||
msgid "English"
|
msgid "English"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: settings.py:94
|
#: settings.py:95
|
||||||
msgid "Simplified Chinese"
|
msgid "简体中文"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/base.html:59
|
#: templates/base.html:59
|
||||||
@@ -173,7 +173,7 @@ msgstr "我的页面"
|
|||||||
msgid "Public Library"
|
msgid "Public Library"
|
||||||
msgstr "公共资料"
|
msgstr "公共资料"
|
||||||
|
|
||||||
#: templates/myhome_base.html:16
|
#: templates/myhome_base.html:16 templates/pubinfo.html:22
|
||||||
msgid "Groups"
|
msgid "Groups"
|
||||||
msgstr "群组"
|
msgstr "群组"
|
||||||
|
|
||||||
@@ -189,6 +189,102 @@ msgstr "通讯录"
|
|||||||
msgid "Public Info"
|
msgid "Public Info"
|
||||||
msgstr "公共信息"
|
msgstr "公共信息"
|
||||||
|
|
||||||
|
#: templates/pubinfo.html:8
|
||||||
|
msgid "Users"
|
||||||
|
msgstr "成员列表"
|
||||||
|
|
||||||
|
#: templates/pubinfo.html:16 templates/snippets/my_groups.html:16
|
||||||
|
msgid "Empty"
|
||||||
|
msgstr "暂无"
|
||||||
|
|
||||||
|
#: templates/pubinfo.html:33
|
||||||
|
msgid "Creator: "
|
||||||
|
msgstr "创建者:"
|
||||||
|
|
||||||
|
#: templates/pubinfo.html:34
|
||||||
|
msgid "Create Time: "
|
||||||
|
msgstr "创建时间:"
|
||||||
|
|
||||||
|
#: templates/pubinfo.html:40
|
||||||
|
msgid ""
|
||||||
|
"No one has created any groups, you can click \"Add Group\" button under "
|
||||||
|
"\"Group\" label to create a group. "
|
||||||
|
msgstr "现在还没有人创建群组,您可以通过“群组”标签下的“添加群组”按钮创建。"
|
||||||
|
|
||||||
|
#: templates/public_home.html:9
|
||||||
|
msgid "Tips"
|
||||||
|
msgstr "小提示"
|
||||||
|
|
||||||
|
#: templates/public_home.html:10
|
||||||
|
msgid "Libraries mark as read-only can only be viewing, can not be downloaded."
|
||||||
|
msgstr "标记为只读的资料库只能查看,无法整个下载。"
|
||||||
|
|
||||||
|
#: templates/public_home.html:15
|
||||||
|
msgid "Public Libraries"
|
||||||
|
msgstr "公开的资料库"
|
||||||
|
|
||||||
|
#: templates/public_home.html:16 templates/snippets/my_owned_repos.html:11
|
||||||
|
#: templates/snippets/repo_create_form.html:3
|
||||||
|
msgid "New Library"
|
||||||
|
msgstr "新建资料库"
|
||||||
|
|
||||||
|
#: templates/public_home.html:21 templates/repo.html:97
|
||||||
|
#: templates/repo_history_view.html:50
|
||||||
|
#: templates/snippets/my_owned_repos.html:18
|
||||||
|
#: templates/snippets/my_owned_repos.html:50
|
||||||
|
#: templates/snippets/repo_create_form.html:4
|
||||||
|
msgid "Name"
|
||||||
|
msgstr "名称"
|
||||||
|
|
||||||
|
#: templates/public_home.html:22 templates/repo_history.html:18
|
||||||
|
#: templates/snippets/my_owned_repos.html:19
|
||||||
|
#: templates/snippets/my_owned_repos.html:51
|
||||||
|
#: templates/snippets/repo_create_form.html:6
|
||||||
|
msgid "Description"
|
||||||
|
msgstr "描述"
|
||||||
|
|
||||||
|
#: templates/public_home.html:23 templates/repo_history.html:16
|
||||||
|
#: templates/snippets/my_owned_repos.html:20
|
||||||
|
#: templates/snippets/my_owned_repos.html:52
|
||||||
|
msgid "Last Update"
|
||||||
|
msgstr "更新时间"
|
||||||
|
|
||||||
|
#: templates/public_home.html:24 templates/snippets/my_owned_repos.html:53
|
||||||
|
msgid "Share From"
|
||||||
|
msgstr "共享来源"
|
||||||
|
|
||||||
|
#: templates/public_home.html:25 templates/repo.html:99
|
||||||
|
#: templates/repo_view_snapshot.html:18
|
||||||
|
#: templates/snippets/my_owned_repos.html:21
|
||||||
|
#: templates/snippets/my_owned_repos.html:54
|
||||||
|
msgid "Operations"
|
||||||
|
msgstr "操作"
|
||||||
|
|
||||||
|
#: templates/public_home.html:31 templates/snippets/my_owned_repos.html:25
|
||||||
|
#: templates/snippets/my_owned_repos.html:61
|
||||||
|
#: templates/snippets/repo_create_form.html:11
|
||||||
|
#: templates/snippets/repo_share_form.html:13
|
||||||
|
msgid "Read-Write"
|
||||||
|
msgstr "可读写"
|
||||||
|
|
||||||
|
#: templates/public_home.html:33 templates/snippets/my_owned_repos.html:63
|
||||||
|
#: templates/snippets/repo_create_form.html:12
|
||||||
|
#: templates/snippets/repo_share_form.html:14
|
||||||
|
msgid "Read-Only"
|
||||||
|
msgstr "只读"
|
||||||
|
|
||||||
|
#: templates/public_home.html:46 templates/repo.html:21
|
||||||
|
#: templates/repo.html.py:137 templates/repo_view_file.html:123
|
||||||
|
#: templates/snippets/my_owned_repos.html:34
|
||||||
|
#: templates/snippets/my_owned_repos.html:76
|
||||||
|
msgid "Download"
|
||||||
|
msgstr "下载"
|
||||||
|
|
||||||
|
#: templates/public_home.html:53
|
||||||
|
msgid ""
|
||||||
|
"You can create a public library, others can view and download this library."
|
||||||
|
msgstr "您可以新建一个公开的资料库,网站内的其他人都可以查看下载这个资料库。"
|
||||||
|
|
||||||
#: templates/repo.html:11
|
#: templates/repo.html:11
|
||||||
msgid ""
|
msgid ""
|
||||||
"Current page will be gone shortly, welcome joining <a href=\"http://seafile."
|
"Current page will be gone shortly, welcome joining <a href=\"http://seafile."
|
||||||
@@ -197,12 +293,6 @@ msgstr ""
|
|||||||
"当前链接会在短期内失效,欢迎您 <a href=\"http://seafile.com/\" target="
|
"当前链接会在短期内失效,欢迎您 <a href=\"http://seafile.com/\" target="
|
||||||
"\"_blank\">加入Seafile </a>体验更多功能。"
|
"\"_blank\">加入Seafile </a>体验更多功能。"
|
||||||
|
|
||||||
#: templates/repo.html:21 templates/repo.html.py:137
|
|
||||||
#: templates/repo_view_file.html:123 templates/snippets/my_owned_repos.html:34
|
|
||||||
#: templates/snippets/my_owned_repos.html:76
|
|
||||||
msgid "Download"
|
|
||||||
msgstr "下载"
|
|
||||||
|
|
||||||
#: templates/repo.html:22
|
#: templates/repo.html:22
|
||||||
msgid "Trash"
|
msgid "Trash"
|
||||||
msgstr "文件回收站"
|
msgstr "文件回收站"
|
||||||
@@ -211,6 +301,11 @@ msgstr "文件回收站"
|
|||||||
msgid "This library is read only, you can only view files."
|
msgid "This library is read only, you can only view files."
|
||||||
msgstr "这个资料库设置了只读共享,您只能在线浏览文件。"
|
msgstr "这个资料库设置了只读共享,您只能在线浏览文件。"
|
||||||
|
|
||||||
|
#: templates/repo.html:42 templates/repo_history.html:39
|
||||||
|
#: templates/repo_view_file.html:91 templates/repo_view_snapshot.html:39
|
||||||
|
msgid "More"
|
||||||
|
msgstr "详情"
|
||||||
|
|
||||||
#: templates/repo.html:45
|
#: templates/repo.html:45
|
||||||
msgid "Histories"
|
msgid "Histories"
|
||||||
msgstr "更多历史"
|
msgstr "更多历史"
|
||||||
@@ -244,23 +339,10 @@ msgstr "新建目录"
|
|||||||
msgid "New File"
|
msgid "New File"
|
||||||
msgstr "新建文件"
|
msgstr "新建文件"
|
||||||
|
|
||||||
#: templates/repo.html:97 templates/repo_history_view.html:50
|
|
||||||
#: templates/snippets/my_owned_repos.html:18
|
|
||||||
#: templates/snippets/my_owned_repos.html:50
|
|
||||||
#: templates/snippets/repo_create_form.html:4
|
|
||||||
msgid "Name"
|
|
||||||
msgstr "名称"
|
|
||||||
|
|
||||||
#: templates/repo.html:98 templates/repo_history_view.html:51
|
#: templates/repo.html:98 templates/repo_history_view.html:51
|
||||||
msgid "Size"
|
msgid "Size"
|
||||||
msgstr "大小"
|
msgstr "大小"
|
||||||
|
|
||||||
#: templates/repo.html:99 templates/repo_view_snapshot.html:18
|
|
||||||
#: templates/snippets/my_owned_repos.html:21
|
|
||||||
#: templates/snippets/my_owned_repos.html:54
|
|
||||||
msgid "Operations"
|
|
||||||
msgstr "操作"
|
|
||||||
|
|
||||||
#: templates/repo.html:104
|
#: templates/repo.html:104
|
||||||
msgid "Folder"
|
msgid "Folder"
|
||||||
msgstr "目录"
|
msgstr "目录"
|
||||||
@@ -350,21 +432,10 @@ msgstr "Tip:在每次修改后会生成一个镜像,记录修改之前的目
|
|||||||
msgid "View Snapshot"
|
msgid "View Snapshot"
|
||||||
msgstr "查看镜像"
|
msgstr "查看镜像"
|
||||||
|
|
||||||
#: templates/repo_history.html:16 templates/snippets/my_owned_repos.html:20
|
|
||||||
#: templates/snippets/my_owned_repos.html:52
|
|
||||||
msgid "Last Update"
|
|
||||||
msgstr "更新时间"
|
|
||||||
|
|
||||||
#: templates/repo_history.html:17
|
#: templates/repo_history.html:17
|
||||||
msgid "Modifier"
|
msgid "Modifier"
|
||||||
msgstr "修改者"
|
msgstr "修改者"
|
||||||
|
|
||||||
#: templates/repo_history.html:18 templates/snippets/my_owned_repos.html:19
|
|
||||||
#: templates/snippets/my_owned_repos.html:51
|
|
||||||
#: templates/snippets/repo_create_form.html:6
|
|
||||||
msgid "Description"
|
|
||||||
msgstr "描述"
|
|
||||||
|
|
||||||
#: templates/repo_history.html:30 templates/repo_view_snapshot.html:30
|
#: templates/repo_history.html:30 templates/repo_view_snapshot.html:30
|
||||||
msgid "None"
|
msgid "None"
|
||||||
msgstr "无"
|
msgstr "无"
|
||||||
@@ -429,10 +500,6 @@ msgstr "添加星标"
|
|||||||
msgid "update this library"
|
msgid "update this library"
|
||||||
msgstr "做了最新修改"
|
msgstr "做了最新修改"
|
||||||
|
|
||||||
#: templates/repo_view_file.html:91 templates/repo_view_snapshot.html:39
|
|
||||||
msgid "More"
|
|
||||||
msgstr "详情"
|
|
||||||
|
|
||||||
#: templates/repo_view_file.html:95
|
#: templates/repo_view_file.html:95
|
||||||
msgid "More Histories"
|
msgid "More Histories"
|
||||||
msgstr "更多历史"
|
msgstr "更多历史"
|
||||||
@@ -580,10 +647,6 @@ msgstr "推荐语"
|
|||||||
msgid "My Groups"
|
msgid "My Groups"
|
||||||
msgstr "我的群组"
|
msgstr "我的群组"
|
||||||
|
|
||||||
#: templates/snippets/my_groups.html:16
|
|
||||||
msgid "Empty"
|
|
||||||
msgstr "暂无"
|
|
||||||
|
|
||||||
#: templates/snippets/my_owned_repos.html:3
|
#: templates/snippets/my_owned_repos.html:3
|
||||||
msgid "Libraries"
|
msgid "Libraries"
|
||||||
msgstr "资料库"
|
msgstr "资料库"
|
||||||
@@ -600,18 +663,6 @@ msgstr "共享给我的"
|
|||||||
msgid "Starred"
|
msgid "Starred"
|
||||||
msgstr "星标文件"
|
msgstr "星标文件"
|
||||||
|
|
||||||
#: templates/snippets/my_owned_repos.html:11
|
|
||||||
#: templates/snippets/repo_create_form.html:3
|
|
||||||
msgid "New Library"
|
|
||||||
msgstr "新建资料库"
|
|
||||||
|
|
||||||
#: templates/snippets/my_owned_repos.html:25
|
|
||||||
#: templates/snippets/my_owned_repos.html:61
|
|
||||||
#: templates/snippets/repo_create_form.html:11
|
|
||||||
#: templates/snippets/repo_share_form.html:13
|
|
||||||
msgid "Read-Write"
|
|
||||||
msgstr "可读写"
|
|
||||||
|
|
||||||
#: templates/snippets/my_owned_repos.html:25
|
#: templates/snippets/my_owned_repos.html:25
|
||||||
#: templates/snippets/my_owned_repos.html:61
|
#: templates/snippets/my_owned_repos.html:61
|
||||||
#: templates/snippets/my_owned_repos.html:63
|
#: templates/snippets/my_owned_repos.html:63
|
||||||
@@ -627,16 +678,6 @@ msgstr ""
|
|||||||
"您可以新建一个资料库来组织您的文件资料,比如为每个项目创建一个资料库,每个资"
|
"您可以新建一个资料库来组织您的文件资料,比如为每个项目创建一个资料库,每个资"
|
||||||
"料库可以单独地同步和共享。"
|
"料库可以单独地同步和共享。"
|
||||||
|
|
||||||
#: templates/snippets/my_owned_repos.html:53
|
|
||||||
msgid "Share From"
|
|
||||||
msgstr "共享来源"
|
|
||||||
|
|
||||||
#: templates/snippets/my_owned_repos.html:63
|
|
||||||
#: templates/snippets/repo_create_form.html:12
|
|
||||||
#: templates/snippets/repo_share_form.html:14
|
|
||||||
msgid "Read-Only"
|
|
||||||
msgstr "只读"
|
|
||||||
|
|
||||||
#: templates/snippets/my_owned_repos.html:78
|
#: templates/snippets/my_owned_repos.html:78
|
||||||
msgid "Remove Share"
|
msgid "Remove Share"
|
||||||
msgstr "取消共享"
|
msgstr "取消共享"
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
# encoding: utf-8
|
||||||
# Django settings for seahub project.
|
# Django settings for seahub project.
|
||||||
import os
|
import os
|
||||||
|
|
||||||
@@ -91,7 +92,7 @@ TEMPLATE_DIRS = (
|
|||||||
gettext_noop = lambda s: s
|
gettext_noop = lambda s: s
|
||||||
LANGUAGES = (
|
LANGUAGES = (
|
||||||
('en', gettext_noop('English')),
|
('en', gettext_noop('English')),
|
||||||
('zh-cn', gettext_noop('Simplified Chinese')),
|
('zh-cn', gettext_noop(u'简体中文')),
|
||||||
)
|
)
|
||||||
LOCALE_PATHS = (
|
LOCALE_PATHS = (
|
||||||
os.path.join(os.path.dirname(__file__), 'locale'),
|
os.path.join(os.path.dirname(__file__), 'locale'),
|
||||||
|
@@ -131,7 +131,7 @@
|
|||||||
<a href="#" id="lang-context" data="no-popup">{{ LANGUAGE_CODE|language_name_local }}<span class="tri-bg tri-down-bg"></span></a>
|
<a href="#" id="lang-context" data="no-popup">{{ LANGUAGE_CODE|language_name_local }}<span class="tri-bg tri-down-bg"></span></a>
|
||||||
<ul class="hide" id="lang-context-selector">
|
<ul class="hide" id="lang-context-selector">
|
||||||
{% for LANG in LANGUAGES %}
|
{% for LANG in LANGUAGES %}
|
||||||
<li><a href="{% url 'i18n' %}?lang={{ LANG.0 }}">{% trans LANG.1 %}</a></li>
|
<li><a href="{% url 'i18n' %}?lang={{ LANG.0 }}">{{ LANG.1 }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
{% extends "myhome_base.html" %}
|
{% extends "myhome_base.html" %}
|
||||||
{% load seahub_tags avatar_tags group_avatar_tags %}
|
{% load seahub_tags avatar_tags group_avatar_tags i18n %}
|
||||||
{% load url from future %}
|
{% load url from future %}
|
||||||
|
|
||||||
{% block nav_pubinfo_class %}class="cur"{% endblock %}
|
{% block nav_pubinfo_class %}class="cur"{% endblock %}
|
||||||
|
|
||||||
{% block left_panel %}
|
{% block left_panel %}
|
||||||
<h3>成员列表</h3>
|
<h3>{% trans "Users" %}</h3>
|
||||||
{% if users %}
|
{% if users %}
|
||||||
<ul class="pubinfo-members">
|
<ul class="pubinfo-members">
|
||||||
{% for member in users %}
|
{% for member in users %}
|
||||||
@@ -13,13 +13,13 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>暂无</p>
|
<p>{% trans "Empty"%}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block right_panel %}
|
{% block right_panel %}
|
||||||
{% if groups %}
|
{% if groups %}
|
||||||
<h3>所有群组</h3>
|
<h3>{% trans "Groups"%}</h3>
|
||||||
<ul class="group-list w100 ovhd">
|
<ul class="group-list w100 ovhd">
|
||||||
{% for group in groups %}
|
{% for group in groups %}
|
||||||
<li class="group fleft">
|
<li class="group fleft">
|
||||||
@@ -30,14 +30,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="txt fright">
|
<div class="txt fright">
|
||||||
<h4><a href="{{ SITE_ROOT }}group/{{ group.props.id }}/">{{ group.props.group_name }}</a></h4>
|
<h4><a href="{{ SITE_ROOT }}group/{{ group.props.id }}/">{{ group.props.group_name }}</a></h4>
|
||||||
<p><span class="item-name">创建者:</span>{{ group.props.creator_name }}</p>
|
<p><span class="item-name">{% trans "Creator: "%}</span>{{ group.props.creator_name }}</p>
|
||||||
<p><span class="item-name">创建时间:</span>{{ group.props.timestamp|tsstr_sec }}</p>
|
<p><span class="item-name">{% trans "Create Time: "%}</span>{{ group.props.timestamp|tsstr_sec }}</p>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="empty-repo-tips">现在还没有人创建群组,您可以通过“群组”标签下的“添加群组”按钮创建。</p>
|
<p class="empty-repo-tips">{% blocktrans %}No one has created any groups, you can click "Add Group" button under "Group" label to create a group. {% endblocktrans %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- user profile -->
|
<!-- user profile -->
|
||||||
{% include "snippets/user_profile_html.html" %}
|
{% include "snippets/user_profile_html.html" %}
|
||||||
|
@@ -1,36 +1,36 @@
|
|||||||
{% extends "myhome_base.html" %}
|
{% extends "myhome_base.html" %}
|
||||||
{% load seahub_tags avatar_tags %}
|
{% load seahub_tags avatar_tags i18n %}
|
||||||
{% load url from future %}
|
{% load url from future %}
|
||||||
|
|
||||||
{% block nav_publichome_class %}class="cur"{% endblock %}
|
{% block nav_publichome_class %}class="cur"{% endblock %}
|
||||||
|
|
||||||
{% block left_panel %}
|
{% block left_panel %}
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<h3 class="info-item-top">小提示</h3>
|
<h3 class="info-item-top">{% trans "Tips"%}</h3>
|
||||||
<p class="info-item-bottom">标记为只读的资料库只能查看,无法整个下载。</p>
|
<p class="info-item-bottom">{% trans "Libraries mark as read-only can only be viewing, can not be downloaded."%}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block right_panel %}
|
{% block right_panel %}
|
||||||
<h3>公开的资料库</h3>
|
<h3>{% trans "Public Libraries"%}</h3>
|
||||||
<button id="repo-create">新建资料库</button>
|
<button id="repo-create">{% trans "New Library"%}</button>
|
||||||
{% if public_repos %}
|
{% if public_repos %}
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th width="4%"><!--icon--></th>
|
<th width="4%"><!--icon--></th>
|
||||||
<th width="20%">名字</th>
|
<th width="20%">{% trans "Name"%}</th>
|
||||||
<th width="36%">描述</th>
|
<th width="36%">{% trans "Description"%}</th>
|
||||||
<th width="15%">更新时间</th>
|
<th width="15%">{% trans "Last Update"%}</th>
|
||||||
<th width="15%">共享来源</th>
|
<th width="15%">{% trans "Share From"%}</th>
|
||||||
<th width="10%">操作</th>
|
<th width="10%">{% trans "Operations"%}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for repo in public_repos %}
|
{% for repo in public_repos %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{% if repo.user_perm == 'rw' %}
|
{% if repo.user_perm == 'rw' %}
|
||||||
<img src="{{MEDIA_URL}}img/sync-folder-20.png" title="可读写" alt="目录icon" />
|
<img src="{{MEDIA_URL}}img/sync-folder-20.png" title="{% trans "Read-Write"%}" alt="目录icon" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{MEDIA_URL}}img/folder-no-write-20.png" title="只读" alt="目录icon" />
|
<img src="{{MEDIA_URL}}img/folder-no-write-20.png" title="{% trans "Read-Only"%}" alt="目录icon" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td><a href="{% url 'repo' repo.props.repo_id %}">{{ repo.props.repo_name }}</a></td>
|
<td><a href="{% url 'repo' repo.props.repo_id %}">{{ repo.props.repo_name }}</a></td>
|
||||||
@@ -43,14 +43,14 @@
|
|||||||
<td>{{ repo.props.user|email2nickname }}</td>
|
<td>{{ repo.props.user|email2nickname }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if repo.user_perm == 'rw' %}
|
{% if repo.user_perm == 'rw' %}
|
||||||
<img src="{{ MEDIA_URL }}img/download-20.png" data="{{ repo.props.repo_id }}" class="download-btn op-icon vh" title="下载到本地" alt="下载" />
|
<img src="{{ MEDIA_URL }}img/download-20.png" data="{{ repo.props.repo_id }}" class="download-btn op-icon vh" title="{% trans "Download"%}" alt="{% trans "Download"%}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="empty-repo-tips">您可以新建一个公开的资料库,网站内的其他人都可以查看下载这个资料库。</p>
|
<p class="empty-repo-tips">{% trans "You can create a public library, others can view and download this library."%}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- /.main -->
|
<!-- /.main -->
|
||||||
{% include "snippets/repo_create_form.html" %}
|
{% include "snippets/repo_create_form.html" %}
|
||||||
|
Reference in New Issue
Block a user