diff --git a/README-zh-cn.md b/README-zh-cn.md index 5bd62771..1f1aba4f 100644 --- a/README-zh-cn.md +++ b/README-zh-cn.md @@ -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/) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index 08ed66df..7930a88d 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -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: diff --git a/src/Translate/languages/zh-tw.json b/src/Translate/languages/zh-tw.json index 3327e48a..a30dd023 100644 --- a/src/Translate/languages/zh-tw.json +++ b/src/Translate/languages/zh-tw.json @@ -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 {0} port": "你的網路連接受限制。請在你的路由器上打開 {0} 埠", "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.
Reload to see the modified content.": " 本頁面的新版本已經發布。
重新載入來查看更改後的內容。", + " New version of this page has just released.
Reload to see the modified content.": " 本頁面的新版本已經發佈。
重新載入來查看更改後的內容。", "This site requests permission:": "這個網站的請求許可權:", "Grant": "授權" diff --git a/src/Translate/languages/zh.json b/src/Translate/languages/zh.json index 230fcec4..e0b1232f 100644 --- a/src/Translate/languages/zh.json +++ b/src/Translate/languages/zh.json @@ -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 {0} port": "你的网络连接受限制。请在你的路由器上打开 {0} 端口", @@ -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.
Reload to see the modified content.": " 本页面的新版本已经发布。
重新加载来查看更改后的内容。", "This site requests permission:": "这个站点的请求权限:", diff --git a/src/Ui/UiWebsocket.py b/src/Ui/UiWebsocket.py index 393ab91c..d3aa3a7a 100644 --- a/src/Ui/UiWebsocket.py +++ b/src/Ui/UiWebsocket.py @@ -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()