From 026cce3ada7e307d72b0c67df81bcfbe70e1c850 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Thu, 18 Jan 2018 10:59:23 +0100 Subject: [PATCH] Rename zh to `zh_TW` and add Simplified Chinese as `zh_CN` --- CHANGES.md | 7 +++++++ locale/zh/LC_MESSAGES/converse.json | 1 - locale/zh_CN/LC_MESSAGES/converse.json | 1 + locale/{zh_Hans => zh_CN}/LC_MESSAGES/converse.po | 4 ++-- locale/zh_Hans/LC_MESSAGES/converse.json | 1 - locale/zh_TW/LC_MESSAGES/converse.json | 1 + locale/{zh => zh_TW}/LC_MESSAGES/converse.po | 4 ++-- src/converse-core.js | 2 +- src/i18n.js | 2 ++ 9 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 locale/zh/LC_MESSAGES/converse.json create mode 100644 locale/zh_CN/LC_MESSAGES/converse.json rename locale/{zh_Hans => zh_CN}/LC_MESSAGES/converse.po (99%) delete mode 100644 locale/zh_Hans/LC_MESSAGES/converse.json create mode 100644 locale/zh_TW/LC_MESSAGES/converse.json rename locale/{zh => zh_TW}/LC_MESSAGES/converse.po (99%) diff --git a/CHANGES.md b/CHANGES.md index b88f4fe83..47769c968 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,12 @@ # Changelog +## 3.3.1 (Unreleased) + +### Translation changes +- Updated Spanish and French translations. +- New translation: "Simplified Chinese" +- Rename `zh` language code to `zh_TW` and add Simplified Chinese as `zh_CN` + ## 3.3.0 (2018-01-17) ### Bugfixes diff --git a/locale/zh/LC_MESSAGES/converse.json b/locale/zh/LC_MESSAGES/converse.json deleted file mode 100644 index 7d712e932..000000000 --- a/locale/zh/LC_MESSAGES/converse.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"converse","locale_data":{"converse":{"":{"domain":"converse","lang":"zh"},"The connection has dropped, attempting to reconnect.":[""],"Your Jabber ID and/or password is incorrect. Please try again.":[""],"Sorry, we could not connect to the XMPP host with domain: %1$s":[""],"The XMPP server did not offer a supported authentication mechanism":[""],"Sorry, there was an error while trying to add %1$s as a contact.":[""],"This client does not allow presence subscriptions":[""],"Personal message":["私信"],"Send":[""],"me":["我"],"Typing from another device":[""],"is typing":[""],"Stopped typing on the other device":[""],"has stopped typing":[""],"Remove messages":["移除消息"],"Write in the third person":["以第三者身份写"],"Show this menu":["显示此项菜单"],"Are you sure you want to clear the messages from this chat box?":["你确定清除此次的聊天记录吗?"],"Insert a smiley":[""],"Start a call":[""],"Login":[""],"Jabber ID:":[""],"Password:":["密码:"],"Submit":["发送"],"This contact is busy":["对方忙碌中"],"This contact is online":["对方在线中"],"This contact is offline":["对方已下线"],"This contact is unavailable":["对方免打扰"],"This contact is away for an extended period":["对方暂时离开"],"This contact is away":["对方离开"],"Contacts":["联系人"],"Groups":[""],"My contacts":["我的好友列表"],"Pending contacts":["保留中的联系人"],"Contact requests":["来自好友的请求"],"Ungrouped":[""],"Filter":[""],"State":[""],"Any":[""],"Unread":[""],"Online":["在线"],"Chatty":[""],"Busy":["忙碌中"],"Away":["离开"],"Extended Away":[""],"Offline":["离线"],"Click to chat with this contact":["点击与对方交谈"],"Name":[""],"I am %1$s":["我现在%1$s"],"Click here to write a custom status message":["点击这里,填写状态信息"],"Click to change your chat status":["点击这里改变聊天状态"],"Custom status":["DIY状态"],"Save":["保存"],"online":["在线"],"busy":["忙碌"],"away for long":["长时间离开"],"away":["离开"],"user@domain":[""],"Please enter a valid XMPP address":[""],"Click to add new chat contacts":["点击添加新联系人"],"Add a contact":["添加联系人"],"Contact name":["联系人名称"],"Search":["搜索"],"e.g. user@example.org":[""],"Add":["添加"],"No users found":["未找到用户"],"Click to add as a chat contact":["点击添加为好友"],"Toggle chat":["折叠聊天窗口"],"This room is not anonymous":["此为非匿名聊天室"],"This room now shows unavailable members":["此聊天室显示不可用用户"],"This room does not show unavailable members":["此聊天室不显示不可用用户"],"Room logging is now enabled":["聊天室聊天记录已启用"],"Room logging is now disabled":["聊天室聊天记录已禁用"],"This room is now semi-anonymous":["此聊天室半匿名"],"This room is now fully-anonymous":["此聊天室完全匿名"],"A new room has been created":["新聊天室已创建"],"You have been banned from this room":["您已被此聊天室禁止入内"],"You have been kicked from this room":["您已被踢出次房间"],"You have been removed from this room because of an affiliation change":["由于关系变化,您已被移除此房间"],"You have been removed from this room because the room has changed to members-only and you're not a member":["您已被移除此房间因为此房间更改为只允许成员加入,而您非成员"],"Message":["信息"],"Hide the list of occupants":[""],"Error: the \"%1$s\" command takes two arguments, the user's nickname and optionally a reason.":[""],"Error: could not execute the command":[""],"Change user's affiliation to admin":[""],"Change user role to participant":[""],"Grant membership to a user":[""],"Remove user's ability to post messages":[""],"Change your nickname":[""],"Grant moderator role to user":[""],"Revoke user's membership":[""],"Set room subject (alias for /subject)":[""],"Allow muted user to post messages":[""],"Cancel":["取消"],"The nickname you chose is reserved or currently in use, please choose a different one.":[""],"Please choose your nickname":[""],"Nickname":["昵称"],"This chatroom requires a password":["此聊天室需要密码"],"Password: ":["密码:"],"The reason given is: \"%1$s\".":[""],"Topic set by %1$s to: %2$s":["%1$s 设置话题为: %2$s"],"Invite":[""],"Hidden":["隐藏的"],"Message archiving":[""],"Members only":[""],"Moderated":["发言受限"],"Non-anonymous":["非匿名"],"Persistent":[""],"Public":["公开的"],"Semi-anonymous":["半匿名"],"Unmoderated":["无发言限制"],"Messages are archived on the server":[""],"All other room occupants can see your XMPP username":[""],"This room persists even if it's unoccupied":[""],"Only moderators can see your XMPP username":[""],"This room will disappear once the last person leaves":[""],"You are about to invite %1$s to the chat room \"%2$s\". You may optionally include a message, explaining the reason for the invitation.":[""],"Please enter a valid XMPP username":[""],"Room name":["聊天室名称"],"Server":["服务器"],"Show rooms":["显示所有聊天室"],"Rooms":["聊天室"],"Click to open this room":["打开聊天室"],"Show more information on this room":["显示次聊天室的更多信息"],"Description:":["描述: "],"Room Address (JID):":[""],"Occupants:":["成员:"],"Features:":["特性:"],"Requires authentication":["需要验证"],"Requires an invitation":["需要被邀请"],"Open room":["打开聊天室"],"Permanent room":["永久聊天室"],"Temporary room":["临时聊天室"],"%1$s has invited you to join a chat room: %2$s":[""],"%1$s has invited you to join a chat room: %2$s, and left the following reason: \"%3$s\"":[""],"Bookmark this room":[""],"The name for this bookmark:":[""],"Would you like this room to be automatically joined upon startup?":[""],"What should your nickname for this room be?":[""],"Sorry, something went wrong while trying to save your bookmark.":[""],"Remove this bookmark":[""],"Bookmarks":[""],"Re-establishing encrypted session":["重新建立加密会话"],"Generating private key.":["正在生成私钥"],"Your browser might become unresponsive.":["您的浏览器可能会暂时无响应"],"Could not verify this user's identify.":["无法验证对方信息。"],"Your messages are not encrypted anymore":["您的消息将不再被加密"],"Your message could not be sent":["您的消息无法送出"],"We received an unencrypted message":["我们收到了一条未加密的信息"],"We received an unreadable encrypted message":["我们收到一条无法读取的信息"],"Here are the fingerprints, please confirm them with %1$s, outside of this chat.\n\nFingerprint for you, %2$s: %3$s\n\nFingerprint for %1$s: %4$s\n\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.":["这里是指纹。请与 %1$s 确认。\n\n您的 %2$s 指纹: %3$s\n\n%1$s 的指纹: %4$s\n\n如果确认符合,请点击OK,否则点击取消"],"What is your security question?":["您的安全问题是?"],"What is the answer to the security question?":["此安全问题的答案是?"],"Invalid authentication scheme provided":["非法的认证方式"],"Your messages are not encrypted. Click here to enable OTR encryption.":["您的消息未加密。点击这里来启用OTR加密"],"End encrypted conversation":["结束加密的会话"],"Refresh encrypted conversation":["刷新加密的会话"],"Start encrypted conversation":["开始加密的会话"],"Verify with fingerprints":["验证指纹"],"Verify with SMP":["验证SMP"],"What's this?":["这是什么?"],"unencrypted":["未加密"],"unverified":["未验证"],"verified":["已验证"],"finished":["结束了"],"Don't have a chat account?":[""],"Create an account":[""],"Create your account":[""],"Please enter the XMPP provider to register with:":[""],"Already have a chat account?":[""],"Log in here":[""],"Account Registration:":[""],"Register":[""],"Choose a different provider":[""],"Hold tight, we're fetching the registration form…":[""]," e.g. conversejs.org":[""],"Fetch registration form":[""],"Tip: A list of public XMPP providers is available":[""],"here":[""],"Sorry, we're unable to connect to your chosen provider.":[""],"Sorry, the given provider does not support in band account registration. Please try with a different provider.":[""],"Something went wrong while establishing a connection with \"%1$s\". Are you sure it exists?":[""],"Now logging you in":[""],"Registered successfully":[""],"The provider rejected your registration attempt. Please check the values you entered for correctness.":[""],"Notification from %1$s":[""],"%1$s says":[""],"wants to be your contact":[""],"Minimize this chat box":[""],"Minimized":["最小化的"]}}} \ No newline at end of file diff --git a/locale/zh_CN/LC_MESSAGES/converse.json b/locale/zh_CN/LC_MESSAGES/converse.json new file mode 100644 index 000000000..91ac231d5 --- /dev/null +++ b/locale/zh_CN/LC_MESSAGES/converse.json @@ -0,0 +1 @@ +{"domain":"converse","locale_data":{"converse":{"":{"domain":"converse","plural_forms":"nplurals=1; plural=0;","lang":"zh_CN"},"The connection has dropped, attempting to reconnect.":["连接已经掉线,正在尝试重新连接。"],"An error occurred while connecting to the chat server.":["连接至聊天服务器时出现问题。"],"Your Jabber ID and/or password is incorrect. Please try again.":["你的Jabber ID或密码不正确,请重新输入。"],"Sorry, we could not connect to the XMPP host with domain: ":["抱歉,我们未能连接至此XMPP服务器: "],"The XMPP server did not offer a supported authentication mechanism":["XMPP服务器没有提供我们支持的验证方法"],"Sorry, there was an error while trying to add %1$s as a contact.":["抱歉,添加%1$s为联系人时出现了问题。"],"This client does not allow presence subscriptions":[""],"Click to hide these contacts":["按此隐藏联系人"],"Close this chat box":["关闭此聊天对话窗口"],"Personal message":["个人信息"],"Send":["发送"],"You have unread messages":["你有未读信息"],"me":["我"],"A very large message has been received. This might be due to an attack meant to degrade the chat performance. Output has been shortened.":["我们接收了一个非常大的信息。这可能是一个攻击,意图以信息的大小降低聊天质量。所以,我们缩短了输出的信息。"],"Typing from another device":["正在另一个装置上输入"],"is typing":["正在输入"],"Stopped typing on the other device":["已在另一个装置上停止输入"],"has stopped typing":["已停止输入"],"has gone away":["已经离开"],"Show this menu":["显示此菜单"],"Write in the third person":["以第三人称输入"],"Remove messages":["删除信息"],"Are you sure you want to clear the messages from this chat box?":["你确定要清除对话窗口的所有信息?"],"has gone offline":["已离线"],"is busy":["在忙碌"],"Clear all messages":["清除所有信息"],"Insert a smiley":["输入表情"],"Start a call":["开始语音通话"],"Login":["登录"],"Jabber ID:":["Jabber ID:"],"Password:":["密码:"],"password":["密码"],"Submit":["提交"],"Click here to log in anonymously":["按此以匿名登录"],"This contact is busy":["此联系人正在忙碌"],"This contact is online":["此联系人在线"],"This contact is offline":["此联系人不在线"],"This contact is unavailable":["此联系人不可用"],"This contact is away for an extended period":["此联系人已离开了一段长时间"],"This contact is away":["此联系人已离开"],"Contacts":["联系人"],"Groups":["群组"],"My contacts":["我的联系人"],"Pending contacts":[""],"Contact requests":["联系人请求"],"Ungrouped":[""],"Filter":["筛选"],"State":[""],"Any":[""],"Unread":["未读"],"Online":["在线"],"Chatty":["经常联系"],"Busy":["忙碌"],"Away":["离开"],"Extended Away":["长期离开"],"Offline":["离线"],"Click to remove %1$s as a contact":["按此删除%1$s为联络人"],"Click to accept the contact request from %1$s":["按此接受%1$s的联系人请求"],"Click to decline the contact request from %1$s":["按此拒绝%1$s的联系人请求"],"Click to chat with this contact":["按此与此联系人聊天"],"Name":["名称"],"Are you sure you want to remove this contact?":["你确定要删除此联系人吗?"],"Sorry, there was an error while trying to remove %1$s as a contact.":["抱歉,删除%1$s为联系人时出现了问题。"],"Are you sure you want to decline this contact request?":["你确定要拒绝此联系人请求吗?"],"I am %1$s":["我正%1$s"],"Click here to write a custom status message":["按此填写个性签名"],"Click to change your chat status":["按此更改你的聊天状态"],"Custom status":["个性签名"],"Save":["保存"],"online":["在线"],"busy":["忙碌"],"away for long":["长期离开"],"away":["离开"],"offline":["离线"],"Username":["用户名"],"user@domain":["用户@域名"],"Please enter a valid XMPP address":["请输入有效的XMPP地址"],"Log out":["登出"],"Click to add new chat contacts":["按此添加聊天联系人"],"Add a contact":["添加联系人"],"Contact name":["联系人名称"],"Search":["搜索"],"e.g. user@example.org":["例如,user@example.org"],"Add":["添加"],"Click to add as a chat contact":["按此添加为聊天联系人"],"No users found":["找不到用户"],"Toggle chat":[""],"This room is not anonymous":["此聊天室不是匿名的"],"This room now shows unavailable members":["此聊天室显示不可用的成员"],"This room does not show unavailable members":["此聊天室不显示不可用的成员"],"The room configuration has changed":["此聊天室设置已被更改"],"Room logging is now enabled":[""],"Room logging is now disabled":[""],"This room is now no longer anonymous":[""],"This room is now semi-anonymous":[""],"This room is now fully-anonymous":[""],"A new room has been created":[""],"You have been banned from this room":[""],"You have been kicked from this room":[""],"You have been removed from this room because of an affiliation change":[""],"You have been removed from this room because the room has changed to members-only and you're not a member":[""],"You have been removed from this room because the MUC (Multi-user chat) service is being shut down":[""],"%1$s has been banned":[""],"%1$s's nickname has changed":[""],"%1$s has been kicked out":[""],"%1$s has been removed because of an affiliation change":[""],"%1$s has been removed for not being a member":[""],"Your nickname has been automatically set to %1$s":[""],"Your nickname has been changed to %1$s":[""],"Message":[""],"%1$s is no longer a moderator.":[""],"%1$s has been given a voice again.":[""],"%1$s has been muted.":[""],"%1$s is now a moderator.":[""],"Close and leave this room":[""],"Configure this room":[""],"Hide the list of occupants":[""],"Error: the \"%1$s\" command takes two arguments, the user's nickname and optionally a reason.":[""],"Are you sure you want to clear the messages from this room?":[""],"Error: could not execute the command":[""],"Change user's affiliation to admin":[""],"Ban user from room":[""],"Change user role to participant":[""],"Kick user from room":[""],"Write in 3rd person":[""],"Grant membership to a user":[""],"Remove user's ability to post messages":[""],"Change your nickname":[""],"Grant moderator role to user":[""],"Grant ownership of this room":[""],"Revoke user's membership":[""],"Set room subject":[""],"Set room subject (alias for /subject)":[""],"Allow muted user to post messages":[""],"Cancel":[""],"The nickname you chose is reserved or currently in use, please choose a different one.":[""],"Please choose your nickname":[""],"Nickname":[""],"Enter room":[""],"This chatroom requires a password":[""],"Password: ":[""],"This action was done by %1$s.":[""],"The reason given is: \"%1$s\".":[""]," has left and re-entered the room.":[""]," has entered the room.":[""],"%1$s has entered and left the room.":[""],"%1$s has left the room.":[""],"You are not on the member list of this room.":[""],"You have been banned from this room.":[""],"No nickname was specified.":[""],"You are not allowed to create new rooms.":[""],"Your nickname doesn't conform to this room's policies.":[""],"This room does not (yet) exist.":[""],"This room has reached its maximum number of occupants.":[""],"Topic set by %1$s to: %2$s":[""],"Click to mention %1$s in your message.":[""],"This user is a moderator.":[""],"This user can send messages in this room.":[""],"This user can NOT send messages in this room.":[""],"Occupants":[""],"Invite":[""],"Features":[""],"Hidden":[""],"Message archiving":[""],"Members only":[""],"Moderated":[""],"Non-anonymous":[""],"Open":[""],"Password protected":[""],"Persistent":[""],"Public":[""],"Semi-anonymous":[""],"Temporary":[""],"Unmoderated":[""],"No password":[""],"This room is not publicly searchable":[""],"Messages are archived on the server":[""],"This room is restricted to members only":[""],"This room is being moderated":[""],"All other room occupants can see your XMPP username":[""],"Anyone can join this room":[""],"This room requires a password before entry":[""],"This room persists even if it's unoccupied":[""],"This room is publicly searchable":[""],"Only moderators can see your XMPP username":[""],"This room will disappear once the last person leaves":[""],"This room is not being moderated":[""],"This room does not require a password upon entry":[""],"You are about to invite %1$s to the chat room \"%2$s\". ":[""],"You may optionally include a message, explaining the reason for the invitation.":[""],"Please enter a valid XMPP username":[""],"Room name":[""],"Server":[""],"Join Room":[""],"Show rooms":[""],"Rooms":[""],"No rooms on %1$s":[""],"Rooms on %1$s":[""],"Click to open this room":[""],"Show more information on this room":[""],"Description:":[""],"Room Address (JID):":[""],"Occupants:":[""],"Features:":[""],"Requires authentication":[""],"Requires an invitation":[""],"Open room":[""],"Permanent room":[""],"Temporary room":[""],"%1$s has invited you to join a chat room: %2$s":[""],"%1$s has invited you to join a chat room: %2$s, and left the following reason: \"%3$s\"":[""],"Bookmark this room":[""],"The name for this bookmark:":[""],"Would you like this room to be automatically joined upon startup?":[""],"What should your nickname for this room be?":[""],"Are you sure you want to remove the bookmark \"%1$s\"?":[""],"Sorry, something went wrong while trying to save your bookmark.":[""],"Click to toggle the bookmarks list":[""],"Bookmarks":[""],"Leave this room":[""],"Remove this bookmark":[""],"Unbookmark this room":[""],"Click to toggle the rooms list":[""],"Open Rooms":[""],"Are you sure you want to leave the room \"%1$s\"?":[""],"Re-establishing encrypted session":[""],"Generating private key.":[""],"Your browser might become unresponsive.":[""],"Authentication request from %1$s\n\nYour chat contact is attempting to verify your identity, by asking you the question below.\n\n%2$s":[""],"Could not verify this user's identify.":[""],"Exchanging private key with contact.":[""],"Your messages are not encrypted anymore":[""],"Your messages are now encrypted but your contact's identity has not been verified.":[""],"Your contact's identify has been verified.":[""],"Your contact has ended encryption on their end, you should do the same.":[""],"Your message could not be sent":[""],"We received an unencrypted message":[""],"We received an unreadable encrypted message":[""],"Here are the fingerprints, please confirm them with %1$s, outside of this chat.\n\nFingerprint for you, %2$s: %3$s\n\nFingerprint for %1$s: %4$s\n\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.":[""],"You will be prompted to provide a security question and then an answer to that question.\n\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.":[""],"What is your security question?":[""],"What is the answer to the security question?":[""],"Invalid authentication scheme provided":[""],"Your messages are not encrypted. Click here to enable OTR encryption.":[""],"Your messages are encrypted, but your contact has not been verified.":[""],"Your messages are encrypted and your contact verified.":[""],"Your contact has closed their end of the private session, you should do the same":[""],"End encrypted conversation":[""],"Refresh encrypted conversation":[""],"Start encrypted conversation":[""],"Verify with fingerprints":[""],"Verify with SMP":[""],"What's this?":[""],"unencrypted":[""],"unverified":[""],"verified":[""],"finished":[""],"Don't have a chat account?":[""],"Create an account":[""],"Create your account":[""],"Please enter the XMPP provider to register with:":[""],"Already have a chat account?":[""],"Log in here":[""],"Account Registration:":[""],"Register":[""],"Choose a different provider":[""],"Hold tight, we're fetching the registration form…":[""]," e.g. conversejs.org":[""],"Fetch registration form":[""],"Tip: A list of public XMPP providers is available":[""],"here":[""],"Sorry, we're unable to connect to your chosen provider.":[""],"Sorry, the given provider does not support in band account registration. Please try with a different provider.":[""],"Something went wrong while establishing a connection with \"%1$s\". Are you sure it exists?":[""],"Now logging you in":[""],"Registered successfully":[""],"The provider rejected your registration attempt. Please check the values you entered for correctness.":[""],"Notification from %1$s":[""],"%1$s says":[""],"has come online":[""],"wants to be your contact":[""],"Minimize this chat box":[""],"Click to restore this chat":[""],"Minimized":[""]}}} \ No newline at end of file diff --git a/locale/zh_Hans/LC_MESSAGES/converse.po b/locale/zh_CN/LC_MESSAGES/converse.po similarity index 99% rename from locale/zh_Hans/LC_MESSAGES/converse.po rename to locale/zh_CN/LC_MESSAGES/converse.po index e516995bc..54bda44a3 100644 --- a/locale/zh_Hans/LC_MESSAGES/converse.po +++ b/locale/zh_CN/LC_MESSAGES/converse.po @@ -8,11 +8,11 @@ msgstr "" "Project-Id-Version: Converse.js 3.2.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-20 17:07+0000\n" -"PO-Revision-Date: 2018-01-02 14:03+0000\n" +"PO-Revision-Date: 2018-01-18 10:53+0100\n" "Last-Translator: gensitu \n" "Language-Team: Chinese (Simplified) " "\n" -"Language: zh_Hans\n" +"Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/locale/zh_Hans/LC_MESSAGES/converse.json b/locale/zh_Hans/LC_MESSAGES/converse.json deleted file mode 100644 index 30d4d25a0..000000000 --- a/locale/zh_Hans/LC_MESSAGES/converse.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"converse","locale_data":{"converse":{"":{"domain":"converse","plural_forms":"nplurals=1; plural=0;","lang":"zh_Hans"},"The connection has dropped, attempting to reconnect.":["连接已经掉线,正在尝试重新连接。"],"An error occurred while connecting to the chat server.":["连接至聊天服务器时出现问题。"],"Your Jabber ID and/or password is incorrect. Please try again.":["你的Jabber ID或密码不正确,请重新输入。"],"Sorry, we could not connect to the XMPP host with domain: ":["抱歉,我们未能连接至此XMPP服务器: "],"The XMPP server did not offer a supported authentication mechanism":["XMPP服务器没有提供我们支持的验证方法"],"Sorry, there was an error while trying to add %1$s as a contact.":["抱歉,添加%1$s为联系人时出现了问题。"],"This client does not allow presence subscriptions":[""],"Click to hide these contacts":["按此隐藏联系人"],"Close this chat box":["关闭此聊天对话窗口"],"Personal message":["个人信息"],"Send":["发送"],"You have unread messages":["你有未读信息"],"me":["我"],"A very large message has been received. This might be due to an attack meant to degrade the chat performance. Output has been shortened.":["我们接收了一个非常大的信息。这可能是一个攻击,意图以信息的大小降低聊天质量。所以,我们缩短了输出的信息。"],"Typing from another device":["正在另一个装置上输入"],"is typing":["正在输入"],"Stopped typing on the other device":["已在另一个装置上停止输入"],"has stopped typing":["已停止输入"],"has gone away":["已经离开"],"Show this menu":["显示此菜单"],"Write in the third person":["以第三人称输入"],"Remove messages":["删除信息"],"Are you sure you want to clear the messages from this chat box?":["你确定要清除对话窗口的所有信息?"],"has gone offline":["已离线"],"is busy":["在忙碌"],"Clear all messages":["清除所有信息"],"Insert a smiley":["输入表情"],"Start a call":["开始语音通话"],"Login":["登录"],"Jabber ID:":["Jabber ID:"],"Password:":["密码:"],"password":["密码"],"Submit":["提交"],"Click here to log in anonymously":["按此以匿名登录"],"This contact is busy":["此联系人正在忙碌"],"This contact is online":["此联系人在线"],"This contact is offline":["此联系人不在线"],"This contact is unavailable":["此联系人不可用"],"This contact is away for an extended period":["此联系人已离开了一段长时间"],"This contact is away":["此联系人已离开"],"Contacts":["联系人"],"Groups":["群组"],"My contacts":["我的联系人"],"Pending contacts":[""],"Contact requests":["联系人请求"],"Ungrouped":[""],"Filter":["筛选"],"State":[""],"Any":[""],"Unread":["未读"],"Online":["在线"],"Chatty":["经常联系"],"Busy":["忙碌"],"Away":["离开"],"Extended Away":["长期离开"],"Offline":["离线"],"Click to remove %1$s as a contact":["按此删除%1$s为联络人"],"Click to accept the contact request from %1$s":["按此接受%1$s的联系人请求"],"Click to decline the contact request from %1$s":["按此拒绝%1$s的联系人请求"],"Click to chat with this contact":["按此与此联系人聊天"],"Name":["名称"],"Are you sure you want to remove this contact?":["你确定要删除此联系人吗?"],"Sorry, there was an error while trying to remove %1$s as a contact.":["抱歉,删除%1$s为联系人时出现了问题。"],"Are you sure you want to decline this contact request?":["你确定要拒绝此联系人请求吗?"],"I am %1$s":["我正%1$s"],"Click here to write a custom status message":["按此填写个性签名"],"Click to change your chat status":["按此更改你的聊天状态"],"Custom status":["个性签名"],"Save":["保存"],"online":["在线"],"busy":["忙碌"],"away for long":["长期离开"],"away":["离开"],"offline":["离线"],"Username":["用户名"],"user@domain":["用户@域名"],"Please enter a valid XMPP address":["请输入有效的XMPP地址"],"Log out":["登出"],"Click to add new chat contacts":["按此添加聊天联系人"],"Add a contact":["添加联系人"],"Contact name":["联系人名称"],"Search":["搜索"],"e.g. user@example.org":["例如,user@example.org"],"Add":["添加"],"Click to add as a chat contact":["按此添加为聊天联系人"],"No users found":["找不到用户"],"Toggle chat":[""],"This room is not anonymous":["此聊天室不是匿名的"],"This room now shows unavailable members":["此聊天室显示不可用的成员"],"This room does not show unavailable members":["此聊天室不显示不可用的成员"],"The room configuration has changed":["此聊天室设置已被更改"],"Room logging is now enabled":[""],"Room logging is now disabled":[""],"This room is now no longer anonymous":[""],"This room is now semi-anonymous":[""],"This room is now fully-anonymous":[""],"A new room has been created":[""],"You have been banned from this room":[""],"You have been kicked from this room":[""],"You have been removed from this room because of an affiliation change":[""],"You have been removed from this room because the room has changed to members-only and you're not a member":[""],"You have been removed from this room because the MUC (Multi-user chat) service is being shut down":[""],"%1$s has been banned":[""],"%1$s's nickname has changed":[""],"%1$s has been kicked out":[""],"%1$s has been removed because of an affiliation change":[""],"%1$s has been removed for not being a member":[""],"Your nickname has been automatically set to %1$s":[""],"Your nickname has been changed to %1$s":[""],"Message":[""],"%1$s is no longer a moderator.":[""],"%1$s has been given a voice again.":[""],"%1$s has been muted.":[""],"%1$s is now a moderator.":[""],"Close and leave this room":[""],"Configure this room":[""],"Hide the list of occupants":[""],"Error: the \"%1$s\" command takes two arguments, the user's nickname and optionally a reason.":[""],"Are you sure you want to clear the messages from this room?":[""],"Error: could not execute the command":[""],"Change user's affiliation to admin":[""],"Ban user from room":[""],"Change user role to participant":[""],"Kick user from room":[""],"Write in 3rd person":[""],"Grant membership to a user":[""],"Remove user's ability to post messages":[""],"Change your nickname":[""],"Grant moderator role to user":[""],"Grant ownership of this room":[""],"Revoke user's membership":[""],"Set room subject":[""],"Set room subject (alias for /subject)":[""],"Allow muted user to post messages":[""],"Cancel":[""],"The nickname you chose is reserved or currently in use, please choose a different one.":[""],"Please choose your nickname":[""],"Nickname":[""],"Enter room":[""],"This chatroom requires a password":[""],"Password: ":[""],"This action was done by %1$s.":[""],"The reason given is: \"%1$s\".":[""]," has left and re-entered the room.":[""]," has entered the room.":[""],"%1$s has entered and left the room.":[""],"%1$s has left the room.":[""],"You are not on the member list of this room.":[""],"You have been banned from this room.":[""],"No nickname was specified.":[""],"You are not allowed to create new rooms.":[""],"Your nickname doesn't conform to this room's policies.":[""],"This room does not (yet) exist.":[""],"This room has reached its maximum number of occupants.":[""],"Topic set by %1$s to: %2$s":[""],"Click to mention %1$s in your message.":[""],"This user is a moderator.":[""],"This user can send messages in this room.":[""],"This user can NOT send messages in this room.":[""],"Occupants":[""],"Invite":[""],"Features":[""],"Hidden":[""],"Message archiving":[""],"Members only":[""],"Moderated":[""],"Non-anonymous":[""],"Open":[""],"Password protected":[""],"Persistent":[""],"Public":[""],"Semi-anonymous":[""],"Temporary":[""],"Unmoderated":[""],"No password":[""],"This room is not publicly searchable":[""],"Messages are archived on the server":[""],"This room is restricted to members only":[""],"This room is being moderated":[""],"All other room occupants can see your XMPP username":[""],"Anyone can join this room":[""],"This room requires a password before entry":[""],"This room persists even if it's unoccupied":[""],"This room is publicly searchable":[""],"Only moderators can see your XMPP username":[""],"This room will disappear once the last person leaves":[""],"This room is not being moderated":[""],"This room does not require a password upon entry":[""],"You are about to invite %1$s to the chat room \"%2$s\". ":[""],"You may optionally include a message, explaining the reason for the invitation.":[""],"Please enter a valid XMPP username":[""],"Room name":[""],"Server":[""],"Join Room":[""],"Show rooms":[""],"Rooms":[""],"No rooms on %1$s":[""],"Rooms on %1$s":[""],"Click to open this room":[""],"Show more information on this room":[""],"Description:":[""],"Room Address (JID):":[""],"Occupants:":[""],"Features:":[""],"Requires authentication":[""],"Requires an invitation":[""],"Open room":[""],"Permanent room":[""],"Temporary room":[""],"%1$s has invited you to join a chat room: %2$s":[""],"%1$s has invited you to join a chat room: %2$s, and left the following reason: \"%3$s\"":[""],"Bookmark this room":[""],"The name for this bookmark:":[""],"Would you like this room to be automatically joined upon startup?":[""],"What should your nickname for this room be?":[""],"Are you sure you want to remove the bookmark \"%1$s\"?":[""],"Sorry, something went wrong while trying to save your bookmark.":[""],"Click to toggle the bookmarks list":[""],"Bookmarks":[""],"Leave this room":[""],"Remove this bookmark":[""],"Unbookmark this room":[""],"Click to toggle the rooms list":[""],"Open Rooms":[""],"Are you sure you want to leave the room \"%1$s\"?":[""],"Re-establishing encrypted session":[""],"Generating private key.":[""],"Your browser might become unresponsive.":[""],"Authentication request from %1$s\n\nYour chat contact is attempting to verify your identity, by asking you the question below.\n\n%2$s":[""],"Could not verify this user's identify.":[""],"Exchanging private key with contact.":[""],"Your messages are not encrypted anymore":[""],"Your messages are now encrypted but your contact's identity has not been verified.":[""],"Your contact's identify has been verified.":[""],"Your contact has ended encryption on their end, you should do the same.":[""],"Your message could not be sent":[""],"We received an unencrypted message":[""],"We received an unreadable encrypted message":[""],"Here are the fingerprints, please confirm them with %1$s, outside of this chat.\n\nFingerprint for you, %2$s: %3$s\n\nFingerprint for %1$s: %4$s\n\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.":[""],"You will be prompted to provide a security question and then an answer to that question.\n\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.":[""],"What is your security question?":[""],"What is the answer to the security question?":[""],"Invalid authentication scheme provided":[""],"Your messages are not encrypted. Click here to enable OTR encryption.":[""],"Your messages are encrypted, but your contact has not been verified.":[""],"Your messages are encrypted and your contact verified.":[""],"Your contact has closed their end of the private session, you should do the same":[""],"End encrypted conversation":[""],"Refresh encrypted conversation":[""],"Start encrypted conversation":[""],"Verify with fingerprints":[""],"Verify with SMP":[""],"What's this?":[""],"unencrypted":[""],"unverified":[""],"verified":[""],"finished":[""],"Don't have a chat account?":[""],"Create an account":[""],"Create your account":[""],"Please enter the XMPP provider to register with:":[""],"Already have a chat account?":[""],"Log in here":[""],"Account Registration:":[""],"Register":[""],"Choose a different provider":[""],"Hold tight, we're fetching the registration form…":[""]," e.g. conversejs.org":[""],"Fetch registration form":[""],"Tip: A list of public XMPP providers is available":[""],"here":[""],"Sorry, we're unable to connect to your chosen provider.":[""],"Sorry, the given provider does not support in band account registration. Please try with a different provider.":[""],"Something went wrong while establishing a connection with \"%1$s\". Are you sure it exists?":[""],"Now logging you in":[""],"Registered successfully":[""],"The provider rejected your registration attempt. Please check the values you entered for correctness.":[""],"Notification from %1$s":[""],"%1$s says":[""],"has come online":[""],"wants to be your contact":[""],"Minimize this chat box":[""],"Click to restore this chat":[""],"Minimized":[""]}}} \ No newline at end of file diff --git a/locale/zh_TW/LC_MESSAGES/converse.json b/locale/zh_TW/LC_MESSAGES/converse.json new file mode 100644 index 000000000..99d974b51 --- /dev/null +++ b/locale/zh_TW/LC_MESSAGES/converse.json @@ -0,0 +1 @@ +{"domain":"converse","locale_data":{"converse":{"":{"domain":"converse","lang":"zh_TW"},"The connection has dropped, attempting to reconnect.":[""],"Your Jabber ID and/or password is incorrect. Please try again.":[""],"Sorry, we could not connect to the XMPP host with domain: %1$s":[""],"The XMPP server did not offer a supported authentication mechanism":[""],"Sorry, there was an error while trying to add %1$s as a contact.":[""],"This client does not allow presence subscriptions":[""],"Personal message":["私信"],"Send":[""],"me":["我"],"Typing from another device":[""],"is typing":[""],"Stopped typing on the other device":[""],"has stopped typing":[""],"Remove messages":["移除消息"],"Write in the third person":["以第三者身份写"],"Show this menu":["显示此项菜单"],"Are you sure you want to clear the messages from this chat box?":["你确定清除此次的聊天记录吗?"],"Insert a smiley":[""],"Start a call":[""],"Login":[""],"Jabber ID:":[""],"Password:":["密码:"],"Submit":["发送"],"This contact is busy":["对方忙碌中"],"This contact is online":["对方在线中"],"This contact is offline":["对方已下线"],"This contact is unavailable":["对方免打扰"],"This contact is away for an extended period":["对方暂时离开"],"This contact is away":["对方离开"],"Contacts":["联系人"],"Groups":[""],"My contacts":["我的好友列表"],"Pending contacts":["保留中的联系人"],"Contact requests":["来自好友的请求"],"Ungrouped":[""],"Filter":[""],"State":[""],"Any":[""],"Unread":[""],"Online":["在线"],"Chatty":[""],"Busy":["忙碌中"],"Away":["离开"],"Extended Away":[""],"Offline":["离线"],"Click to chat with this contact":["点击与对方交谈"],"Name":[""],"I am %1$s":["我现在%1$s"],"Click here to write a custom status message":["点击这里,填写状态信息"],"Click to change your chat status":["点击这里改变聊天状态"],"Custom status":["DIY状态"],"Save":["保存"],"online":["在线"],"busy":["忙碌"],"away for long":["长时间离开"],"away":["离开"],"user@domain":[""],"Please enter a valid XMPP address":[""],"Click to add new chat contacts":["点击添加新联系人"],"Add a contact":["添加联系人"],"Contact name":["联系人名称"],"Search":["搜索"],"e.g. user@example.org":[""],"Add":["添加"],"No users found":["未找到用户"],"Click to add as a chat contact":["点击添加为好友"],"Toggle chat":["折叠聊天窗口"],"This room is not anonymous":["此为非匿名聊天室"],"This room now shows unavailable members":["此聊天室显示不可用用户"],"This room does not show unavailable members":["此聊天室不显示不可用用户"],"Room logging is now enabled":["聊天室聊天记录已启用"],"Room logging is now disabled":["聊天室聊天记录已禁用"],"This room is now semi-anonymous":["此聊天室半匿名"],"This room is now fully-anonymous":["此聊天室完全匿名"],"A new room has been created":["新聊天室已创建"],"You have been banned from this room":["您已被此聊天室禁止入内"],"You have been kicked from this room":["您已被踢出次房间"],"You have been removed from this room because of an affiliation change":["由于关系变化,您已被移除此房间"],"You have been removed from this room because the room has changed to members-only and you're not a member":["您已被移除此房间因为此房间更改为只允许成员加入,而您非成员"],"Message":["信息"],"Hide the list of occupants":[""],"Error: the \"%1$s\" command takes two arguments, the user's nickname and optionally a reason.":[""],"Error: could not execute the command":[""],"Change user's affiliation to admin":[""],"Change user role to participant":[""],"Grant membership to a user":[""],"Remove user's ability to post messages":[""],"Change your nickname":[""],"Grant moderator role to user":[""],"Revoke user's membership":[""],"Set room subject (alias for /subject)":[""],"Allow muted user to post messages":[""],"Cancel":["取消"],"The nickname you chose is reserved or currently in use, please choose a different one.":[""],"Please choose your nickname":[""],"Nickname":["昵称"],"This chatroom requires a password":["此聊天室需要密码"],"Password: ":["密码:"],"The reason given is: \"%1$s\".":[""],"Topic set by %1$s to: %2$s":["%1$s 设置话题为: %2$s"],"Invite":[""],"Hidden":["隐藏的"],"Message archiving":[""],"Members only":[""],"Moderated":["发言受限"],"Non-anonymous":["非匿名"],"Persistent":[""],"Public":["公开的"],"Semi-anonymous":["半匿名"],"Unmoderated":["无发言限制"],"Messages are archived on the server":[""],"All other room occupants can see your XMPP username":[""],"This room persists even if it's unoccupied":[""],"Only moderators can see your XMPP username":[""],"This room will disappear once the last person leaves":[""],"You are about to invite %1$s to the chat room \"%2$s\". You may optionally include a message, explaining the reason for the invitation.":[""],"Please enter a valid XMPP username":[""],"Room name":["聊天室名称"],"Server":["服务器"],"Show rooms":["显示所有聊天室"],"Rooms":["聊天室"],"Click to open this room":["打开聊天室"],"Show more information on this room":["显示次聊天室的更多信息"],"Description:":["描述: "],"Room Address (JID):":[""],"Occupants:":["成员:"],"Features:":["特性:"],"Requires authentication":["需要验证"],"Requires an invitation":["需要被邀请"],"Open room":["打开聊天室"],"Permanent room":["永久聊天室"],"Temporary room":["临时聊天室"],"%1$s has invited you to join a chat room: %2$s":[""],"%1$s has invited you to join a chat room: %2$s, and left the following reason: \"%3$s\"":[""],"Bookmark this room":[""],"The name for this bookmark:":[""],"Would you like this room to be automatically joined upon startup?":[""],"What should your nickname for this room be?":[""],"Sorry, something went wrong while trying to save your bookmark.":[""],"Remove this bookmark":[""],"Bookmarks":[""],"Re-establishing encrypted session":["重新建立加密会话"],"Generating private key.":["正在生成私钥"],"Your browser might become unresponsive.":["您的浏览器可能会暂时无响应"],"Could not verify this user's identify.":["无法验证对方信息。"],"Your messages are not encrypted anymore":["您的消息将不再被加密"],"Your message could not be sent":["您的消息无法送出"],"We received an unencrypted message":["我们收到了一条未加密的信息"],"We received an unreadable encrypted message":["我们收到一条无法读取的信息"],"Here are the fingerprints, please confirm them with %1$s, outside of this chat.\n\nFingerprint for you, %2$s: %3$s\n\nFingerprint for %1$s: %4$s\n\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.":["这里是指纹。请与 %1$s 确认。\n\n您的 %2$s 指纹: %3$s\n\n%1$s 的指纹: %4$s\n\n如果确认符合,请点击OK,否则点击取消"],"What is your security question?":["您的安全问题是?"],"What is the answer to the security question?":["此安全问题的答案是?"],"Invalid authentication scheme provided":["非法的认证方式"],"Your messages are not encrypted. Click here to enable OTR encryption.":["您的消息未加密。点击这里来启用OTR加密"],"End encrypted conversation":["结束加密的会话"],"Refresh encrypted conversation":["刷新加密的会话"],"Start encrypted conversation":["开始加密的会话"],"Verify with fingerprints":["验证指纹"],"Verify with SMP":["验证SMP"],"What's this?":["这是什么?"],"unencrypted":["未加密"],"unverified":["未验证"],"verified":["已验证"],"finished":["结束了"],"Don't have a chat account?":[""],"Create an account":[""],"Create your account":[""],"Please enter the XMPP provider to register with:":[""],"Already have a chat account?":[""],"Log in here":[""],"Account Registration:":[""],"Register":[""],"Choose a different provider":[""],"Hold tight, we're fetching the registration form…":[""]," e.g. conversejs.org":[""],"Fetch registration form":[""],"Tip: A list of public XMPP providers is available":[""],"here":[""],"Sorry, we're unable to connect to your chosen provider.":[""],"Sorry, the given provider does not support in band account registration. Please try with a different provider.":[""],"Something went wrong while establishing a connection with \"%1$s\". Are you sure it exists?":[""],"Now logging you in":[""],"Registered successfully":[""],"The provider rejected your registration attempt. Please check the values you entered for correctness.":[""],"Notification from %1$s":[""],"%1$s says":[""],"wants to be your contact":[""],"Minimize this chat box":[""],"Minimized":["最小化的"]}}} \ No newline at end of file diff --git a/locale/zh/LC_MESSAGES/converse.po b/locale/zh_TW/LC_MESSAGES/converse.po similarity index 99% rename from locale/zh/LC_MESSAGES/converse.po rename to locale/zh_TW/LC_MESSAGES/converse.po index c3a409d5b..63363c044 100644 --- a/locale/zh/LC_MESSAGES/converse.po +++ b/locale/zh_TW/LC_MESSAGES/converse.po @@ -8,10 +8,10 @@ msgstr "" "Project-Id-Version: Converse.js 0.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-01-17 19:40+0100\n" -"PO-Revision-Date: 2016-04-07 10:23+0000\n" +"PO-Revision-Date: 2018-01-18 10:53+0100\n" "Last-Translator: Huxisuz Hu \n" "Language-Team: Language zh\n" -"Language: zh\n" +"Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/src/converse-core.js b/src/converse-core.js index 8a35d4614..6b4aef816 100644 --- a/src/converse-core.js +++ b/src/converse-core.js @@ -314,7 +314,7 @@ locales: [ 'af', 'ca', 'de', 'es', 'en', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'nb', 'nl', - 'pl', 'pt_BR', 'ru', 'uk', 'zh', 'zh_Hans' + 'pl', 'pt_BR', 'ru', 'uk', 'zh_CN', 'zh_TW' ], message_carbons: true, message_storage: 'session', diff --git a/src/i18n.js b/src/i18n.js index 5293968e6..ea556ec58 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -30,6 +30,8 @@ 'moment/locale/pt-br', 'moment/locale/ru', 'moment/locale/uk', + 'moment/locale/zh-cn', + 'moment/locale/zh-tw' ], factory); }(this, function (Promise, Jed, _, moment) { 'use strict';