Update Chinese translation

This commit is contained in:
lmath 2017-01-28 06:27:45 +08:00
parent a7f21f0680
commit 4559ee0d7f
4 changed files with 12 additions and 6 deletions

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()