Merge pull request #798 from l5h5t7/master

Update Chinese translation
This commit is contained in:
ZeroNet 2017-02-05 23:19:13 +01:00 committed by GitHub
commit c9fa29c562
5 changed files with 13 additions and 7 deletions

View file

@ -42,7 +42,7 @@
* 如果站点的所有者 (拥有私钥的那个人) 修改了站点, 并且他/她签名了新的 `content.json` 然后推送至其他节点,
那么所有节点将会在验证 `content.json` 的真实性 (使用签名)后, 下载修改后的文件并推送至其他节点。
#### [有关于 ZeroNet 加密, 站点更新, 多用户站点的幻灯片 »](https://docs.google.com/presentation/d/1_2qK1IuOKJ51pgBvllZ9Yu7Au2l551t3XBgyTSvilew/pub?start=false&loop=false&delayms=3000)
#### [有关于 ZeroNet 加密, 站点更新, 多用户站点的幻灯片 »](https://docs.google.com/presentation/d/1qBxkroB_iiX2zHEn0dt-N-qRZgyEzui46XS2hEa3AA4/pub?start=false&loop=false&delayms=3000)
#### [常见问题 »](https://zeronet.readthedocs.org/en/latest/faq/)
#### [ZeroNet开发者文档 »](https://zeronet.readthedocs.org/en/latest/site_development/getting_started/)

View file

@ -573,7 +573,7 @@ class UiWebsocketPlugin(object):
permissions = self.getPermissions(to)
if "Multiuser" in PluginManager.plugin_manager.plugin_names:
self.cmd("notification", ["info", "This function is disabled on this proxy"])
self.cmd("notification", ["info", _["This function is disabled on this proxy"]])
return False
if "ADMIN" not in permissions:

View file

@ -12,12 +12,13 @@
"Unique to site": "網站獨有身份",
"Content signing failed": "內容簽署失敗",
"Content publish queued for {0:.0f} seconds.": "內容已加入 {0:.0f} 秒後的發布隊列。",
"Content published to {0} peers.": "內容已發布到 {0} 個節點。",
"Content publish queued for {0:.0f} seconds.": "內容已加入 {0:.0f} 秒後的發佈隊列。",
"Content published to {0}/{1} peers.": "內容已發佈到 {0}/{1} 個節點。",
"Content published to {0} peers.": "內容已發佈到 {0} 個節點。",
"No peers found, but your content is ready to access.": "找不到節點,但是你的內容已經準備好被訪問。",
"Your network connection is restricted. Please, open <b>{0}</b> port": "你的網路連接受限制。請在你的路由器上打開 <b>{0}</b> 埠",
"on your router to make your site accessible for everyone.": "確保你的網站能被每一個人訪問。",
"Content publish failed.": "內容發失敗。",
"Content publish failed.": "內容發失敗。",
"This file still in sync, if you write it now, then the previous content may be lost.": "這個檔仍然在同步中,如果你現在寫入它,之前的內容可能會被丟失。",
"Write content anyway": "強制寫入內容",
"New certificate added:": "新證書:",
@ -43,8 +44,10 @@
"No peers found": "找不到節點",
"Running out of size limit (": "超出大小限制",
"Set limit to \" + site_info.next_size_limit + \"MB": "設定限制到 \" + site_info.next_size_limit + \"MB",
"Cloning site...": "複製網站中...",
"Site cloned": "網站已複製",
"Site size limit changed to {0}MB": "網站大小限制已改變到 {0}MB",
" New version of this page has just released.<br>Reload to see the modified content.": " 本頁面的新版本已經發布。<br>重新載入來查看更改後的內容。",
" New version of this page has just released.<br>Reload to see the modified content.": " 本頁面的新版本已經發。<br>重新載入來查看更改後的內容。",
"This site requests permission:": "這個網站的請求許可權:",
"Grant": "授權"

View file

@ -13,6 +13,7 @@
"Content signing failed": "内容签名失败",
"Content publish queued for {0:.0f} seconds.": "内容已加入 {0:.0f} 秒后的发布队列。",
"Content published to {0}/{1} peers.": "内容已发布到 {0}/{1} 个节点。",
"Content published to {0} peers.": "内容已发布到 {0} 个节点。",
"No peers found, but your content is ready to access.": "找不到节点,但是你的内容已经准备好被访问。",
"Your network connection is restricted. Please, open <b>{0}</b> port": "你的网络连接受限制。请在你的路由器上打开 <b>{0}</b> 端口",
@ -43,6 +44,8 @@
"No peers found": "找不到节点",
"Running out of size limit (": "超出大小限制",
"Set limit to \" + site_info.next_size_limit + \"MB": "设置限制到 \" + site_info.next_size_limit + \"MB",
"Cloning site...": "克隆站点中...",
"Site cloned": "站点已克隆",
"Site size limit changed to {0}MB": "站点大小限制已更改到 {0}MB",
" New version of this page has just released.<br>Reload to see the modified content.": " 本页面的新版本已经发布。<br>重新加载来查看更改后的内容。",
"This site requests permission:": "这个站点的请求权限:",

View file

@ -723,7 +723,7 @@ class UiWebsocket(object):
self.response(to, {"error": "Unknown site: %s" % address})
def actionSiteClone(self, to, address, root_inner_path=""):
self.cmd("notification", ["info", "Cloning site..."])
self.cmd("notification", ["info", _["Cloning site..."]])
site = self.server.sites.get(address)
# Generate a new site from user's bip32 seed
new_address, new_address_index, new_site_data = self.user.getNewSiteData()