1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00

modified 'More' 'Details'

This commit is contained in:
llj
2013-01-08 11:20:25 +08:00
parent ca5f21c585
commit 74e13a7a7d
4 changed files with 30 additions and 30 deletions

View File

@@ -7,7 +7,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: 2013-01-08 10:44+0800\n" "POT-Creation-Date: 2013-01-08 11:15+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"
@@ -460,7 +460,7 @@ msgstr "确认密码"
#: templates/add_user_form.html:17 templates/decrypt_repo_form.html:15 #: templates/add_user_form.html:17 templates/decrypt_repo_form.html:15
#: templates/file_edit.html:93 templates/file_edit.html.py:126 #: templates/file_edit.html:93 templates/file_edit.html.py:126
#: templates/file_view.html:94 templates/file_view.html.py:120 #: templates/file_view.html:94 templates/file_view.html.py:122
#: templates/repo.html:263 templates/repo.html.py:275 templates/repo.html:291 #: templates/repo.html:263 templates/repo.html.py:275 templates/repo.html:291
#: templates/repo.html.py:312 templates/repo.html:324 #: templates/repo.html.py:312 templates/repo.html:324
#: templates/repo.html.py:336 templates/userinfo.html:87 #: templates/repo.html.py:336 templates/userinfo.html:87
@@ -773,11 +773,11 @@ msgstr "发送"
msgid "Delete" msgid "Delete"
msgstr "删除" msgstr "删除"
#: templates/file_view.html:32 templates/file_view.html.py:187 #: templates/file_view.html:32 templates/file_view.html.py:189
msgid "Unstar" msgid "Unstar"
msgstr "取消星标" msgstr "取消星标"
#: templates/file_view.html:34 templates/file_view.html.py:184 #: templates/file_view.html:34 templates/file_view.html.py:186
msgid "Star" msgid "Star"
msgstr "添加星标" msgstr "添加星标"
@@ -838,19 +838,19 @@ msgstr "。"
msgid "Click to download" msgid "Click to download"
msgstr "点此下载" msgstr "点此下载"
#: templates/file_view.html:118 #: templates/file_view.html:120
msgid "Leave a message~" msgid "Leave a message~"
msgstr "评论一下~" msgstr "评论一下~"
#: templates/file_view.html:183 #: templates/file_view.html:185
msgid "Unstarred successfully" msgid "Unstarred successfully"
msgstr "星标取消成功" msgstr "星标取消成功"
#: templates/file_view.html:186 #: templates/file_view.html:188
msgid "Starred successfully" msgid "Starred successfully"
msgstr "星标添加成功" msgstr "星标添加成功"
#: templates/file_view.html:196 templates/file_view.html.py:359 #: templates/file_view.html:198 templates/file_view.html.py:363
#: templates/repo.html:407 templates/repo.html.py:643 templates/repo.html:680 #: templates/repo.html:407 templates/repo.html.py:643 templates/repo.html:680
#: templates/repo.html.py:819 templates/snippets/shared_link_js.html:43 #: templates/repo.html.py:819 templates/snippets/shared_link_js.html:43
#: templates/snippets/shared_link_js.html:62 #: templates/snippets/shared_link_js.html:62
@@ -858,40 +858,40 @@ msgstr "星标添加成功"
msgid "Failed. Please check the network." msgid "Failed. Please check the network."
msgstr "操作失败。请检查网络是否已连接。" msgstr "操作失败。请检查网络是否已连接。"
#: templates/file_view.html:226 #: templates/file_view.html:228
msgid "" msgid ""
"Failed to find an application to open the file. Seafile will open the folder." "Failed to find an application to open the file. Seafile will open the folder."
msgstr "找不到打开该类型文件的程序。Seafile 将为你打开该文件所在目录" msgstr "找不到打开该类型文件的程序。Seafile 将为你打开该文件所在目录"
#: templates/file_view.html:230 #: templates/file_view.html:232
msgid "The file is not synchronized, you can synchronize it manually." msgid "The file is not synchronized, you can synchronize it manually."
msgstr "本地文件尚未与服务器同步。请打开本地目录的自动同步,或者手动进行同步" msgstr "本地文件尚未与服务器同步。请打开本地目录的自动同步,或者手动进行同步"
#: templates/file_view.html:232 #: templates/file_view.html:234
msgid "The file is not synchronized, please retry later." msgid "The file is not synchronized, please retry later."
msgstr "本地文件尚未与服务器同步,请稍后再试" msgstr "本地文件尚未与服务器同步,请稍后再试"
#: templates/file_view.html:236 #: templates/file_view.html:238
msgid "An error occurred when open the local file." msgid "An error occurred when open the local file."
msgstr "打开本地文件时出错" msgstr "打开本地文件时出错"
#: templates/file_view.html:264 #: templates/file_view.html:266
msgid "" msgid ""
"You are running an old version of Seafile client, please <a target=\"_blank" "You are running an old version of Seafile client, please <a target=\"_blank"
"\">upgrade</a> it." "\">upgrade</a> it."
msgstr "您的 Seafile 客户端版本太低, 请先 <a target=\"_blank\">升级</a>。" msgstr "您的 Seafile 客户端版本太低, 请先 <a target=\"_blank\">升级</a>。"
#: templates/file_view.html:276 #: templates/file_view.html:280
msgid "" msgid ""
"Your Seafile client is not running or its version is too old. Please check " "Your Seafile client is not running or its version is too old. You can open "
"it." "the local file manually by clicking the following link:"
msgstr "您的 Seafile 客户端版本太低或者没有启动, 请检查下。" msgstr "您的 Seafile 客户端版本太低或者没有启动, 您可以点击下面的链接手动打开本地文件:"
#: templates/file_view.html:292 #: templates/file_view.html:296
msgid "Comment" msgid "Comment"
msgstr "评论" msgstr "评论"
#: templates/file_view.html:339 #: templates/file_view.html:343
msgid "Please input a message." msgid "Please input a message."
msgstr "请先输入评论。" msgstr "请先输入评论。"
@@ -1361,7 +1361,8 @@ msgid "None"
msgstr "无" msgstr "无"
#: templates/repo_history.html:39 templates/repo_view_snapshot.html:39 #: templates/repo_history.html:39 templates/repo_view_snapshot.html:39
msgid "More" #: templates/snippets/events_.html:19 templates/snippets/events_.html.py:21
msgid "Details"
msgstr "详情" msgstr "详情"
#: templates/repo_history.html:47 templates/repo_view_snapshot.html:51 #: templates/repo_history.html:47 templates/repo_view_snapshot.html:51
@@ -1803,17 +1804,13 @@ msgid "Loading..."
msgstr "加载中..." msgstr "加载中..."
#: templates/snippets/events.html:5 #: templates/snippets/events.html:5
msgid "<button id=\"events-more\" class=\"hide\">More</button>" msgid "More"
msgstr "<button id=\"events-more\" class=\"hide\">更多</button>" msgstr "更多"
#: templates/snippets/events_.html:16 #: templates/snippets/events_.html:16
msgid "Updated library" msgid "Updated library"
msgstr "更新了资料库" msgstr "更新了资料库"
#: templates/snippets/events_.html:19 templates/snippets/events_.html.py:21
msgid "Details"
msgstr "详情"
#: templates/snippets/events_.html:38 #: templates/snippets/events_.html:38
msgid "Created library" msgid "Created library"
msgstr "创建了资料库" msgstr "创建了资料库"
@@ -2037,6 +2034,9 @@ msgstr "名字(可选)"
msgid "Note(optional)" msgid "Note(optional)"
msgstr "备注(可选)" msgstr "备注(可选)"
#~ msgid "<button id=\"events-more\" class=\"hide\">More</button>"
#~ msgstr "<button id=\"events-more\" class=\"hide\">更多</button>"
#~ msgid "Failed:" #~ msgid "Failed:"
#~ msgstr "操作失败:" #~ msgstr "操作失败:"

View File

@@ -36,7 +36,7 @@
<td> <td>
{{ commit.props.desc|translate_commit_desc }} {{ commit.props.desc|translate_commit_desc }}
{% if page_next or not forloop.last %} {% if page_next or not forloop.last %}
<a class="lsch" href="{{ SITE_ROOT }}repo/history/changes/{{ repo.id }}/?commit_id={{ commit.id }}" data="{{ commit.props.ctime|tsstr_sec }}">{% trans "More"%}</a> <a class="lsch" href="{{ SITE_ROOT }}repo/history/changes/{{ repo.id }}/?commit_id={{ commit.id }}" data="{{ commit.props.ctime|tsstr_sec }}">{% trans "Details"%}</a>
{% endif %} {% endif %}
</td> </td>
</tr> </tr>

View File

@@ -36,7 +36,7 @@
<td> <td>
{{ commit.props.desc|translate_commit_desc }} {{ commit.props.desc|translate_commit_desc }}
{% if page_next or not forloop.last %} {% if page_next or not forloop.last %}
<a class="lsch" href="{{ SITE_ROOT }}repo/history/changes/{{ repo.id }}/?commit_id={{ commit.id }}" data="{{ commit.props.ctime|tsstr_sec }}">{% trans "More"%}</a> <a class="lsch" href="{{ SITE_ROOT }}repo/history/changes/{{ repo.id }}/?commit_id={{ commit.id }}" data="{{ commit.props.ctime|tsstr_sec }}">{% trans "Details"%}</a>
{% endif %} {% endif %}
</td> </td>
<td> <td>

View File

@@ -2,7 +2,7 @@
<h3>{% trans 'Recent Events' %}</h3> <h3>{% trans 'Recent Events' %}</h3>
<ul id="events" class="hide"></ul> <ul id="events" class="hide"></ul>
<div id="events-loading" class="hide"><img src="{{MEDIA_URL}}img/loading-icon.gif" alt="{% trans 'Loading...' %}" /></div> <div id="events-loading" class="hide"><img src="{{MEDIA_URL}}img/loading-icon.gif" alt="{% trans 'Loading...' %}" /></div>
{% trans '<button id="events-more" class="hide">More</button>' %} <button id="events-more" class="hide">{% trans 'More' %}</button>
<p id="events-error" class="error hide"></p> <p id="events-error" class="error hide"></p>
<form id="repo-decrypt-form" class="simple-input-popup hide"> <form id="repo-decrypt-form" class="simple-input-popup hide">
<h3>{% trans 'Library' %} <span class="op-target"></span> {% trans 'is encrypted' %}</h3> <h3>{% trans 'Library' %} <span class="op-target"></span> {% trans 'is encrypted' %}</h3>
@@ -14,4 +14,4 @@
<input type="submit" class="submit" value="{% trans 'Submit' %}" /> <input type="submit" class="submit" value="{% trans 'Submit' %}" />
<button class="simplemodal-close">{% trans 'Cancel' %}</button> <button class="simplemodal-close">{% trans 'Cancel' %}</button>
</form> </form>
<div id="ls-ch" class="hide"></div><!--list modification details of a commit--> <div id="ls-ch" class="hide"></div><!--for details of some events-->