mirror of https://github.com/zulip/zulip.git
Fix Handlebars translations.
Change file mapping between Transifex and Zulip. Fix the typo in the translation file resource url for Chinese.
This commit is contained in:
parent
8afeb7d8ce
commit
3092f509b0
|
@ -13,5 +13,5 @@ source_file = static/locale/en/translations.json
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = KEYVALUEJSON
|
type = KEYVALUEJSON
|
||||||
file_filter = static/locale/<lang>/translations.json
|
file_filter = static/locale/<lang>/translations.json
|
||||||
lang_map = zh-Hans: zh_CN
|
lang_map = zh-Hans: zh-CN
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ var i18n = window.i18n = require('i18next');
|
||||||
var XHR = require('i18next-xhr-backend');
|
var XHR = require('i18next-xhr-backend');
|
||||||
var lngDetector = require('i18next-browser-languagedetector');
|
var lngDetector = require('i18next-browser-languagedetector');
|
||||||
var backendOptions = {
|
var backendOptions = {
|
||||||
loadPath: '/static/locale/__lng__/__ns__.json'
|
loadPath: '/static/locale/__lng__/translations.json'
|
||||||
};
|
};
|
||||||
|
|
||||||
var detectionOptions = {
|
var detectionOptions = {
|
||||||
|
|
Loading…
Reference in New Issue