1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +00:00

[myhome]translation

This commit is contained in:
llj 2012-10-27 11:21:31 +08:00
parent 1805b6a262
commit 21de42fd7b
3 changed files with 78 additions and 34 deletions

Binary file not shown.

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-26 19:51+0800\n"
"POT-Creation-Date: 2012-10-27 11:11+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -101,7 +101,7 @@ msgid "Edit"
msgstr "编辑"
#: templates/myhome.html:22
msgid "Reminders..."
msgid "Reminding..."
msgstr "提醒..."
#: templates/myhome.html:26
@ -217,72 +217,116 @@ msgstr "我的群组"
msgid "Empty"
msgstr "暂无"
#: templates/snippets/my_owned_repos.html:2
#: templates/snippets/my_owned_repos.html:3
msgid "Libraries"
msgstr "资料库"
#: templates/snippets/my_owned_repos.html:6
#: templates/snippets/my_owned_repos.html:7
msgid "I owned"
msgstr "我拥有的"
#: templates/snippets/my_owned_repos.html:7
msgid "Share to me"
#: templates/snippets/my_owned_repos.html:8
msgid "Shared to me"
msgstr "共享给我的"
#: templates/snippets/my_owned_repos.html:9
msgid "Starred Files"
msgstr "星标文件"
#: templates/snippets/my_owned_repos.html:11
msgid "New Library"
msgstr "新建资料库"
#: templates/snippets/my_owned_repos.html:16
#: templates/snippets/my_owned_repos.html:48
#: templates/snippets/my_owned_repos.html:18
#: templates/snippets/my_owned_repos.html:50
msgid "Name"
msgstr "名字"
#: templates/snippets/my_owned_repos.html:17
#: templates/snippets/my_owned_repos.html:49
#: templates/snippets/my_owned_repos.html:19
#: templates/snippets/my_owned_repos.html:51
msgid "Description"
msgstr "描述"
#: templates/snippets/my_owned_repos.html:18
#: templates/snippets/my_owned_repos.html:50
#: templates/snippets/my_owned_repos.html:20
#: templates/snippets/my_owned_repos.html:52
msgid "Update Time"
msgstr "更新时间"
#: templates/snippets/my_owned_repos.html:19
#: templates/snippets/my_owned_repos.html:52
#: templates/snippets/my_owned_repos.html:21
#: templates/snippets/my_owned_repos.html:54
msgid "Operations"
msgstr "操作"
#: templates/snippets/my_owned_repos.html:23
#: templates/snippets/my_owned_repos.html:59
#: templates/snippets/my_owned_repos.html:25
#: templates/snippets/my_owned_repos.html:61
msgid "Read-Write"
msgstr "可读写"
#: templates/snippets/my_owned_repos.html:32
#: templates/snippets/my_owned_repos.html:74
#: templates/snippets/my_owned_repos.html:25
#: templates/snippets/my_owned_repos.html:61
#: templates/snippets/my_owned_repos.html:63
msgid "directory icon"
msgstr "目录图标"
#: templates/snippets/my_owned_repos.html:34
#: templates/snippets/my_owned_repos.html:76
msgid "Download"
msgstr "下载"
#: templates/snippets/my_owned_repos.html:33
#: templates/snippets/my_owned_repos.html:35
msgid "Share"
msgstr "共享"
#: templates/snippets/my_owned_repos.html:34
#: templates/snippets/my_owned_repos.html:36
msgid "Delete"
msgstr "删除"
#: templates/snippets/my_owned_repos.html:51
#: templates/snippets/my_owned_repos.html:42
msgid ""
"You can create a library to organize your files. For example, you can create "
"one for each of your projects. Every library can be synchronized and shared "
"respectively."
msgstr ""
"您可以新建一个资料库来组织您的文件资料,比如为每个项目创建一个资料库,每个资"
"料库可以单独地同步和共享。"
#: templates/snippets/my_owned_repos.html:53
msgid "Share From"
msgstr "共享来源"
#: templates/snippets/my_owned_repos.html:61
#: templates/snippets/my_owned_repos.html:63
msgid "Read-Only"
msgstr "只读"
#: templates/snippets/my_owned_repos.html:76
#: templates/snippets/my_owned_repos.html:78
msgid "Remove Share"
msgstr "取消共享"
#: templates/snippets/my_owned_repos.html:84
msgid ""
"Libraries shared to you (for example, by your friends) will be shown here."
msgstr "您的朋友可以将他的资料库共享给您,这些资料库会显示在这里。"
#: templates/snippets/my_owned_repos.html:92
msgid "File"
msgstr "文件名"
#: templates/snippets/my_owned_repos.html:93
msgid "Library"
msgstr "所属资料库"
#: templates/snippets/my_owned_repos.html:94
msgid "UpdateTime"
msgstr "更新时间"
#: templates/snippets/my_owned_repos.html:98
msgid "icon"
msgstr "图标"
#: templates/snippets/my_owned_repos.html:108
msgid "You can star the important files, and they will be shown here."
msgstr "您可以给那些重要的文件加上星标,然后它们将在这里显示。"
#~ msgid "Public Repo"
#~ msgstr "公共资料"

View File

@ -6,7 +6,7 @@
<ul class="fleft">
<li><a href="#my-own-repos" onfocus="this.blur()">{% trans "I owned" %}</a></li>
<li><a href="#repos-shared-to-me" onfocus="this.blur()">{% trans "Shared to me" %}</a></li>
<li><a href="#starred-files" onfocus="this.blur()">{% trans "starred" %}</a></li>
<li><a href="#starred-files" onfocus="this.blur()">{% trans "Starred Files" %}</a></li>
</ul>
<button id="repo-create" class="fright">{% trans "New Library" %}</button>
</div>
@ -22,7 +22,7 @@
</tr>
{% for repo in owned_repos %}
<tr>
<td><img src="{{MEDIA_URL}}img/sync-folder-20.png" title="{% trans "Read-Write" %}" alt="目录icon" /></td>
<td><img src="{{MEDIA_URL}}img/sync-folder-20.png" title="{% trans "Read-Write" %}" alt="{% trans "directory icon" %}" /></td>
<td><a href="{{ SITE_ROOT }}repo/{{ repo.props.id }}/">{{ repo.props.name }}</a></td>
<td>{{ repo.props.desc }}</td>
{% if repo.latest_modify %}
@ -39,7 +39,7 @@
{% endfor %}
</table>
{% else %}
<p class="empty-repo-tips">您可以新建一个资料库来组织您的文件资料,比如为每个项目创建一个资料库,每个资料库可以单独地同步和共享。</p>
<p class="empty-repo-tips">{% trans "You can create a library to organize your files. For example, you can create one for each of your projects. Every library can be synchronized and shared respectively." %}</p>
{% endif %}
</div>
<div id="repos-shared-to-me">
@ -58,9 +58,9 @@
<tr>
<td>
{% if repo.user_perm == 'rw' %}
<img src="{{MEDIA_URL}}img/sync-folder-20.png" title="{% trans "Read-Write" %}" alt="目录icon" />
<img src="{{MEDIA_URL}}img/sync-folder-20.png" title="{% trans "Read-Write" %}" alt="{% trans "directory icon" %}" />
{% else %}
<img src="{{MEDIA_URL}}img/folder-no-write-20.png" title="{% trans "Read-Only" %}" alt="目录icon" />
<img src="{{MEDIA_URL}}img/folder-no-write-20.png" title="{% trans "Read-Only" %}" alt="{% trans "directory icon" %}" />
{% endif %}
</td>
<td><a href="{{ SITE_ROOT }}repo/{{ repo.props.repo_id }}">{{ repo.props.repo_name }}</a></td>
@ -81,7 +81,7 @@
{% endfor %}
</table>
{% else %}
<p class="empty-repo-tips">您的朋友可以将他的资料库共享给您,这些资料库会显示在这里。</p>
<p class="empty-repo-tips">{% trans "Libraries shared to you (for example, by your friends) will be shown here." %}</p>
{% endif %}
</div>
<div id="starred-files">
@ -89,13 +89,13 @@
<table>
<tr>
<th width="5%"></th>
<th width="45%">文件名</th>
<th width="30%">所属资料库</th>
<th width="20%">更新时间</th>
<th width="45%">{% trans "File" %}</th>
<th width="30%">{% trans "Library" %}</th>
<th width="20%">{% trans "UpdateTime" %}</th>
</tr>
{% for sfile in starred_files %}
<tr>
<td class="icon-container"><img src="{{ MEDIA_URL }}img/file/{{ sfile.path|file_icon_filter }}" alt="文件" /></td>
<td class="icon-container"><img src="{{ MEDIA_URL }}img/file/{{ sfile.path|file_icon_filter }}" alt="{% trans "icon" %}" /></td>
<td>
<a href="{% url 'repo_view_file' sfile.repo.id %}?p={{ sfile.path|urlencode }}">{{ sfile.formatted_path }}</a>
</td>
@ -105,7 +105,7 @@
{% endfor %}
</table>
{% else %}
<p class="no-starred-file-tips">您可以把重要的文件加上星标,这样它们就能显示在这里</p>
<p class="no-starred-file-tips">{% trans "You can star the important files, and they will be shown here." %}</p>
{% endif %}
</div>
</div>