Parcourir la source

Rename zh to `zh_TW` and add Simplified Chinese as `zh_CN`

JC Brand il y a 7 ans
Parent
commit
026cce3ada

+ 7 - 0
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

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
locale/zh/LC_MESSAGES/converse.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
locale/zh_CN/LC_MESSAGES/converse.json


+ 2 - 2
locale/zh_Hans/LC_MESSAGES/converse.po → 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 <pstew892@protonmail.com>\n"
 "Language-Team: Chinese (Simplified) "
 "<https://hosted.weblate.org/projects/conversejs/translations/zh_Hans/>\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"

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
locale/zh_Hans/LC_MESSAGES/converse.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
locale/zh_TW/LC_MESSAGES/converse.json


+ 2 - 2
locale/zh/LC_MESSAGES/converse.po → 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 <huxisuz@gmail.com>\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"

+ 1 - 1
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',

+ 2 - 0
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';

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff