diff --git a/js/interface_localization.js b/js/interface_localization.js index faaa752..83626bc 100644 --- a/js/interface_localization.js +++ b/js/interface_localization.js @@ -4,7 +4,7 @@ // uses Polyglot.js ( https://github.com/airbnb/polyglot.js ) to translate interface // translators: add your language code here such as "es" for Spanish, "ru" for Russian -var knownLanguages = ["en","es","nl","it","fr","ru","de","zh","ja","pt-BR","tr","uk","cs"]; +var knownLanguages = ["en","es","nl","it","fr","ru","de","zh-CN","ja","pt-BR","tr","uk","cs"]; if( $.Options.getOption('locLang','auto') == 'auto'){ // detect language with JavaScript @@ -845,95 +845,95 @@ if(preferredLanguage == "uk"){ }; } -if(preferredLanguage == "zh"){ - polyglot.locale("zh"); +if(preferredLanguage == "zh-CN"){ + polyglot.locale("zh-CN"); wordset = { "Actions ▼": "操作 ▼", "Active DHT nodes:": "活动的DHT节点: ", "Add DNS": "添加DNS", "Add peer": "添加节点", - "ajax_error": "Ajax错误: %{error}", // JavaScript error - "All users publicly followed by": "所有用户均被关注", + "ajax_error": "AJAX错误:%{error}", // JavaScript error + "All users publicly followed by": "公开关注的所有用户,被", "Available": "可用", // username is available "Appearance": "外观", - "Block chain information": "块链信息", - "Block chain is up-to-date, twister is ready to use!": "块链已经更新,Twister已经可以使用!", - "Block generation": "块生成器 ", + "Block chain information": "区块链信息", + "Block chain is up-to-date, twister is ready to use!": "区块链已经更新,Twister 已经可以使用!", + "Block generation": "区块生成器", "Cancel": "取消", "Change user": "切换用户", "Checking...": "检查中...", // checking if username is available - "Collapse": "Collapse", // smaller view of a post - "Configure block generation": "配置块生成器", + "Collapse": "折叠", // smaller view of a post + "Configure block generation": "配置区块生成器", "Connections:": "连接数:", // to network - "Connection lost.": "链接中断。", + "Connection lost.": "连接中断。", "days": "%{smart_count} 天", "Detailed information": "详细信息", "DHT network down.": "DHT网络中断。", - "Direct Messages": "即时消息", + "Direct Messages": "私信", "Disable": "关闭", "Display mentions to @": "显示@", "Display retransmissions": "显示转发", - "DNS to obtain list of peers:": "获取节点列表的DNS:", - "downloading_block_chain": "下载块链中,请等待下载完成(块链已经落后 %{days} 天)。", + "DNS to obtain list of peers:": "用DNS获取节点列表:", + "downloading_block_chain": "区块链下载中,请等待下载完成(区块链仍落后 %{days} 天)。", "download_posts_status": "已下载 %{portion} 推文", // Downloaded 10/30 posts "Enable": "开启", "error": "错误:%{error}", - "error_connecting_to_daemon": "连接本地Twister守护进程错误", - "Error in 'createwalletuser' RPC.": "PRC 'createwalletuser' 错误", - "Error in 'importprivkey'": "'importprivkey' 错误 RPC: %{rpc}", - "Error in 'sendnewusertransaction' RPC.": "RPC 'sendnewusertransaction' 错误。", - "Expand": "扩展", // larger view of a post + "error_connecting_to_daemon": "连接本地的 Twister 后台进程时出错", + "Error in 'createwalletuser' RPC.": "'createwalletuser' RPC 错误", + "Error in 'importprivkey'": "'importprivkey' 错误:%{rpc}", + "Error in 'sendnewusertransaction' RPC.": "'sendnewusertransaction' RPC 错误。", + "Expand": "展开", // larger view of a post "Favorite": "收藏", - "File APIs not supported in this browser.": "这个浏览器不支持文件APIs", + "File APIs not supported in this browser.": "这个浏览器不支持 File API。", "Follow": "关注", - "Following config": "Following config", - "Which way do you want to follow": "Which way do you want to follow", - "Followed by": "被关注", + "Following config": "关注配置", + "Which way do you want to follow": "你想以哪种方式关注", + "Followed by": "关注者", "followed_by": "被 %{username} 关注", "Followers": "粉丝", - "Following": "关注中", - "Following users": "关注的人", + "Following": "关注", + "Following users": "关注的用户", "Force connection to peer:": "强制连接到节点:", "General information": "常规信息", - "Generate blocks (send promoted messages)": "生成块(发送广告信息)", + "Generate blocks (send promoted messages)": "生成区块(发送推广信息)", "Home": "主页", // homepage - "hours": "%{smart_count} hour |||| %{smart_count} 小时", - "Internal error: lastPostId unknown (following yourself may fix!)": "内部错误:最后推文Id位置(尝试关注你自己进行修复!)", + "hours": "%{smart_count} 小时", + "Internal error: lastPostId unknown (following yourself may fix!)": "内部错误:最后推文ID未知(关注你自己也许能修复!)", "Known peers:": "已知节点:", - "Last block is ahead of your computer time, check your clock.": "最后的块已经慢于你的系统时间,请检查你的系统时间。", - "mentions_at": "提到 @%{user}", + "Last block is ahead of your computer time, check your clock.": "最后的区块已经超前于你的系统时间,请检查你的时钟系统。", + "mentions_at": "提及 @%{user}", "minutes": "%{smart_count} 分钟", "Must be 16 characters or less.": "必须少于16个字符", // username "Network": "网络", "Network config": "网络配置", "Network status": "网络状态", - "New direct message...": "新的即时信息...", + "New direct message...": "新私信...", "New Post...": "新推文...", "You got": "你收到", "in postboard": "在时间线里", "in search result": "在搜索结果里", "in top trends": "在热词趋势里", - "new_posts": "%{smart_count} 新推文", - "new_mentions": "%{smart_count} 新的提及 |||| %{smart_count} 新的提及", - "new_direct_messages": "%{smart_count} 新私信 |||| %{smart_count} 新私信", - "nobody": "nobody", // used to promote a post without attaching the user + "new_posts": "%{smart_count} 篇新推文", + "new_mentions": "%{smart_count} 次新的提及", + "new_direct_messages": "%{smart_count} 封新私信", + "nobody": "无名", // used to promote a post without attaching the user "Not available": "用户名不可用", // username is not available - "notify_desktop_error": "Twister 无法发出桌面提醒: 发生未知错误.", - "notify_desktop_perm_denied": "Twister 无法发出桌面提醒: 权限被拒绝.\n\n如果你想收到提醒, 在你的浏览器设置中允许 %{this_domain} 发出提醒.", - "notify_desktop_test": "我们都用 Twister.\n欢迎你加入.", - "notify_desktop_title": "注意, twister 在这!", - "Number of blocks in block chain:": "块链中的块数:", - "Number of CPUs to use": "使用CPU数目 ", - "Only alphanumeric and underscore allowed.": "只允许字母和下划线", + "notify_desktop_error": "Twister 无法发出桌面提醒:发生未知错误。", + "notify_desktop_perm_denied": "Twister 无法发出桌面提醒:权限被拒绝。\n\n如果你想收到提醒,请在你的浏览器设置中允许 %{this_domain} 发出提醒。", + "notify_desktop_test": "我们都在用 Twister。\n欢迎你的加入。", + "notify_desktop_title": "注意,Twister 在这里!", + "Number of blocks in block chain:": "区块链中的区块数:", + "Number of CPUs to use": "使用CPU数目", + "Only alphanumeric and underscore allowed.": "只允许字母和下划线。", "peer address": "节点地址", - "Private": "私人", + "Private": "私密", "Profile": "个人信息", "Postboard": "信息流", "post": "发送", // verb - button to post a message - "Post to promote:": "要发布的广告信息:", + "Post to promote:": "要发送的推广信息:", "Posts": "推文", - "propagating_nickname": "Propagating nickname %{username} to the network...", - "Public": "公共", + "propagating_nickname": "正在传播昵称 %{username} 到网络中...", + "Public": "公开", "Refresh": "刷新", "retransmit_this": "转发推文给你的粉丝?", "Reply": "回复", @@ -945,115 +945,115 @@ if(preferredLanguage == "zh"){ "search": "搜索", "seconds": "%{smart_count} 秒", "send": "发送", - "Send post with username": "发送推文的用户名 ", - "Sent Direct Message": "发送即时消息", + "Send post with username": "发送推文的用户名", + "Sent Direct Message": "发送私信", "Sent Post to @": "发送推文 @", - "Setup account": "设置帐号", - "switch_to_network": "本地守护进程没有连接网络或\n" + - "块链已经过时。如果你留在此页\n" + + "Setup account": "设置账号", + "switch_to_network": "本地的后台进程没有连接到网络,或者\n" + + "区块链已经过时。如果你留在此页面\n" + "你的操作将不会生效\n" + - "你要马上跳转到网络状态页吗?", - "The File APIs are not fully supported in this browser.": "这个浏览器不能完全支持文件APIs", + "你要跳转到网络状态页吗?", + "The File APIs are not fully supported in this browser.": "这个浏览器不能完全支持 File API。", "time_ago": "%{time} 之前", // 5 minutes ago - "Time of the last block:": "最新块的时间:", + "Time of the last block:": "最新区块的时间:", "Type message here": "输入消息内容", "Unfollow": "取消关注", "Update": "更新", "Auto updating": "自动更新", - "Updating status...": "更新状态中...", // status of block chain - "user_not_yet_accepted": "其他节点还没有接受新用户。\n" + + "Updating status...": "状态更新中...", // status of block chain + "user_not_yet_accepted": "其他节点还没有接受这个新用户。\n" + "很抱歉,现在你还不能保存你的个人简介\n" + "或发送新的推文。\n\n" + "请稍等几分钟再试试。\n\n" + - "当节点接受用户操作完成后\n" + - "“保存”将会自动转换为可以。(我保证这是\n"+ - "在你使用Twister前的最后一次等待。\n\n" + - "提示:现在先选好你的头像! ", - "users_mentions": "提到 @%{username}", - "users_profile": "%{username} 的简介", - "username_undefined": "用户名未设置,请先登录!", + "当相应操作完成后\n" + + "“保存更改”按钮将会自动转换为可用。(我保证这是\n"+ + "在你使用 Twister 前的最后一次等待。\n\n" + + "小提示:在这时你可以先选好你的头像!", + "users_mentions": "提及 @%{username}", + "users_profile": "%{username} 的个人简介", + "username_undefined": "用户名未定义,请先登录!", "View": "查看", "View All": "查看全部", "Who to Follow": "推荐关注", - "Your message was sent!": "你的信息已经发送!", - "twister login": "登录Twister", - "Existing local users": "已有本地用户", + "Your message was sent!": "你的信息已发送!", + "twister login": "登录 Twister", + "Existing local users": "现有本地用户", "Or...": "或...", - "Create a new user": "创建一个新用户", + "Create a new user": "创建新用户", "Login": "登录", "Check availability": "检查是否可用", "Create this nickname": "使用这个昵称", "Type nickname here": "输入你的昵称", - "Import secret key": "导入密钥", - "52-characters secret": "52位密钥串", - "With nickname": "With nickname", + "Import secret key": "导入私钥", + "52-characters secret": "52位私钥字符串", + "With nickname": "昵称", "Import key": "导入密钥", "Client Version:": "客户端版本:", "Mining difficulty:": "挖矿难度:", - "Block generation status": "块链状态", + "Block generation status": "区块链生成器状态", "Current hash rate:": "当前hash速率:", - "Terminate Daemon:": "断开守护进程数:", + "Terminate Daemon:": "终止后台进程:", "Exit": "退出", - "Save Changes": "保存设置", - "Secret key:": "密钥:", - "You have to log in to post messages.": "You have to log in to post messages.", - "You have to log in to post replies.": "You have to log in to post replies.", - "You have to log in to retransmit messages.": "You have to log in to retransmit messages.", - "You have to log in to use direct messages.": "You have to log in to use direct messages.", - "You have to log in to follow users.": "You have to log in to follow users.", - "You are not following anyone because you are not logged in.": "You are not following anyone because you are not logged in.", - "You don't have any followers because you are not logged in.": "You don't have any followers because you are not logged in.", - "No one can mention you because you are not logged in.": "No one can mention you because you are not logged in.", - "You don't have any profile because you are not logged in.": "You don't have any profile because you are not logged in.", - "Options": "Options", - "Switch to Promoted posts": "Switch to Promoted posts", - "Switch to Normal posts": "Switch to Normal posts", - "Use language": "Use language", - "Ignore": "Ignore", - "Theme": "Theme", - "Keys": "Keys", - "Notifications": "Notifications", - "Desktop notifications": "Desktop notifications", - "Sound notifications": "Sound notifications", - "Volume": "Volume", - "Test": "Test", - "Send key": "Send key", - "Posts display": "Posts display", - "Post editor": "Post editor", - "Inline image preview": "Inline image preview", - "Display": "Display", + "Save Changes": "保存更改", + "Secret key:": "私钥:", + "You have to log in to post messages.": "你必须登录才能发送信息。", + "You have to log in to post replies.": "你必须登录才能发送回复。", + "You have to log in to retransmit messages.": "你必须登录才能转发信息", + "You have to log in to use direct messages.": "你必须登录才能进行私信。", + "You have to log in to follow users.": "你必须登录才能关注用户。", + "You are not following anyone because you are not logged in.": "你没有关注任何人,因为你还没登录", + "You don't have any followers because you are not logged in.": "你没有任何粉丝,因为你还没登录", + "No one can mention you because you are not logged in.": "没人能提及你,因为你还没登录", + "You don't have any profile because you are not logged in.": "你没有任何个人简介,因为你还没登录", + "Options": "选项", + "Switch to Promoted posts": "切换到推广发送", + "Switch to Normal posts": "切换到普通发送", + "Use language": "界面语言", + "Ignore": "忽略", + "Theme": "主题", + "Keys": "按键", + "Notifications": "通知", + "Desktop notifications": "桌面通知", + "Sound notifications": "声音通知", + "Volume": "音量", + "Test": "测试", + "Send key": "发送键", + "Posts display": "推文显示", + "Post editor": "信息编辑器", + "Inline image preview": "内嵌图像预览", + "Display": "显示", "Line feeds": "Line feeds", - "Supported punctuations:": "Supported punctuations:", - "Supported emotions:": "Supported emotions:", - "Supported signs:": "Supported signs:", - "Supported fractions:": "Supported fractions:", - "Automatic unicode conversion options": "Automatic unicode conversion options", - "Convert punctuations to unicode": "Convert punctuations to unicode", - "Convert emotions codes to unicode symbols": "Convert emotions codes to unicode symbols", - "Convert common signs to unicode": "Convert common signs to unicode", - "Convert fractions to unicode": "Convert fractions to unicode", - "Convert all": "Convert all", - "Auto": "Auto", - "Original": "Original", - "none": "none", - "Custom": "Custom", - "Mentions": "Mentions", - "Use proxy for image preview only": "Use proxy for image preview only", - "Use external links behind a proxy": "Use external links behind a proxy", - "There aren't any posts with this hashtag.": "There aren't any posts with this hashtag.", - "Split only new post": "Split only new post", - "Split all": "Split all", - "Don't split": "Don't split", - "Split long posts": "Split long posts", - "Posts that begin with mention": "Posts that begin with mention", - "Show all": "Show all", - "Show only if I am in": "Show only if I am in", - "Show if it's between users I follow": "Show if it's between users I follow", - "Postboard displays": "Postboard displays", - "RTs those are close to original twist": "RTs those are close to original twist", - "Show if the original is older than": "Show if the original is older than", - "hour(s)": "hour(s)", - "second(s)": "second(s)", + "Supported punctuations:": "支持的标点符号:", + "Supported emotions:": "支持的表情符号:", + "Supported signs:": "支持的标记符号:", + "Supported fractions:": "支持的分数形式:", + "Automatic unicode conversion options": "自动转换 Unicode", + "Convert punctuations to unicode": "转换标点符号到 Unicode 形式", + "Convert emotions codes to unicode symbols": "转换表情码到 Unicode 符号", + "Convert common signs to unicode": "转换常见符号到 Unicode 形式", + "Convert fractions to unicode": "转换分数到 Unicode 形式", + "Convert all": "全部转换", + "Auto": "自动", + "Original": "原版", + "none": "无", + "Custom": "自定义", + "Mentions": "提及", + "Use proxy for image preview only": "只对图像预览使用代理", + "Use external links behind a proxy": "在代理的后方使用外部链接", + "There aren't any posts with this hashtag.": "这个话题还没有任何推文呢。", + "Split only new post": "只拆分新推文", + "Split all": "全部拆分", + "Don't split": "不拆分", + "Split long posts": "拆分长推文", + "Posts that begin with mention": "将推文的提及放在开头", + "Show all": "全部显示", + "Show only if I am in": "只显示如果我在其中", + "Show if it's between users I follow": "显示我关注的用户", + "Postboard displays": "信息流显示偏好", + "RTs those are close to original twist": "靠近原推文的 RT", + "Show if the original is older than": "显示,如果比原件晚", + "hour(s)": "小时", + "second(s)": "秒", "only positive numbers!": "只允许正数字!", "Language filtering": "语言过滤", "By blacklist": "用黑名单", @@ -1061,53 +1061,70 @@ if(preferredLanguage == "zh"){ "Comma separated ISO 639-3 language codes": "英文逗号分隔的 ISO 639-3 语言代码", "Accuracy": "严格度", "Simulation mode": "模拟模式", - "This post is treated by language filter": "这条推文被语言过滤器 %{treated} .", + "This post is treated by language filter": "这条推文被语言过滤器 %{treated}。", "blocked": "阻止", "passed": "放行", - "not analyzed": "未被分析", + "not analyzed": "未分析", "Reason: this": "原因: %{this}", "this doesnt contain that": "%{this} 不包含 %{that}", "this is undefined": "%{this} 未定义", "blacklist": "黑名单", "whitelist": "白名单", "language of this": "此语言", - "its undefined language": "它是未识别语言", - "its this, blacklisted": "它是 %{this}, 被黑名单", - "its this, whitelisted": "它是 %{this}, 被白名单", - "Most possible language: this": "最可能的语言: %{this}", + "its undefined language": "它是未定义的语言", + "its this, blacklisted": "它是 %{this},被列在黑名单", + "its this, whitelisted": "它是 %{this},被列在白名单", + "Most possible language: this": "最可能的语言:%{this}", "Scope of usage": "使用范围", - "Show with every user name": "Show with every user name", - "Show at profile modal only": "Show at profile modal only", - "Show if a user follows me": "Show if a user follows me", - "follows you": "follows you", - "Show conversation": "Show conversation", - "Mark all as read": "Mark all as read", - "show_more_count": "%{smart_count} more...", - "hide": "hide", - "Show more in this conversation...": "Show more in this conversation...", - "conversation_title": "Conversation of @%{username}", - "copy_to_clipboard": "Press Ctrl/Cmd+C to copy then Enter to close", - "Normal posts": "Normal posts", - "Promoted posts": "Promoted posts", - "Messages": "Messages", - "Edit profile": "Edit profile", - "Top Trends": "Top Trends", - "twisted again by": "twisted again by", - "undo": "undo", - "Are you sure you want to exit the daemon?\nThe Twister client will stop working.": "Are you sure you want to exit the daemon?\nThe Twister client will stop working.", - "Daemon exited...": "Daemon exited...", - "Secret Key": "Secret Key", - "Copy to clipboard": "Copy to clipboard", - "Full name here": "Full name here", - "Describe yourself": "Describe yourself", - "Location": "Location", - "website": "website", - "Tox address": "Tox address", - "Bitmessage address": "Bitmessage address", - "Language": "Language", - "Sound": "Sound", - "Users": "Users", - "Direct Message's copy to self": "Direct Message's copy to self", + "Show with every user name": "显示出每个用户名", + "Show at profile modal only": "只显示在个人简介", + "Show if a user follows me": "在一名用户关注我时", + "follows you": "关注你", + "Show conversation": "显示对话", + "Mark all as read": "全部标记已读", + "show_more_count": "还有 %{smart_count} 条...", + "hide": "隐藏", + "Show more in this conversation...": "显示更多此对话的内容...", + "conversation_title": "@%{username} 的对话", + "copy_to_clipboard": "按 Ctrl/Cmd+C 复制,然后按 Enter 关闭", + "Normal posts": "普通推文", + "Promoted posts": "推广推文", + "Messages": "消息", + "Edit profile": "编辑个人简介", + "Top Trends": "热门趋势", + "twisted again by": "转推由", + "undo": "撤销", + "Are you sure you want to exit the daemon?\nThe Twister client will stop working.": "你确定要退出后台进程?\nTwister 客户端将停止工作。", + "Daemon exited...": "后台进程已退出...", + "Secret Key": "私钥", + "Copy to clipboard": "复制到剪贴板", + "Full name here": "输入全称", + "Describe yourself": "介绍你自己", + "Location": "位置", + "website": "网站", + "Tox address": "Tox 软件地址", + "Bitmessage address": "比特信地址", + "Language": "语言", + "Sound": "声音", + "Users": "用户", + "Direct Message's copy to self": "将私信发一份副本给我", + "Terminate Daemon": "终止后台进程", + "New post": "新推文", + "Search": "搜索", + "Direct Msg": "私信", + "Traffic information": "传输信息", + "DHT Torrents:": "DHT种子:", + "Peers:": "节点:", + "Peer List Size:": "节点列表大小:", + "Active Requests:": "活动请求:", + "Download:": "下载:", + "Upload:": "上传:", + "DHT Download:": "DHT下载:", + "DHT Upload:": "DHT上传:", + "IP Overhead Download:": "IP层开销下载:", + "IP Overhead Upload:": "IP层开销上传:", + "Payload Download:": "有效载荷下载:", + "Payload Upload:": "有效载荷上传:", }; } diff --git a/options.html b/options.html index c308014..2d4d6a4 100644 --- a/options.html +++ b/options.html @@ -75,7 +75,7 @@