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:
Umair Khan 2016-06-06 16:39:48 +05:00 committed by Tim Abbott
parent 8afeb7d8ce
commit 3092f509b0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 = {