Hook in the Czech translations
This commit is contained in:
parent
702d02179b
commit
565cfc3984
File diff suppressed because it is too large
Load Diff
@ -224,7 +224,7 @@
|
|||||||
keepalive: true,
|
keepalive: true,
|
||||||
locales_url: 'locale/{{{locale}}}/LC_MESSAGES/converse.json',
|
locales_url: 'locale/{{{locale}}}/LC_MESSAGES/converse.json',
|
||||||
locales: [
|
locales: [
|
||||||
'af', 'ar', 'bg', 'ca', 'de', 'es', 'eu', 'en', 'fr', 'he',
|
'af', 'ar', 'bg', 'ca', 'cs', 'de', 'es', 'eu', 'en', 'fr', 'he',
|
||||||
'hu', 'id', 'it', 'ja', 'nb', 'nl',
|
'hu', 'id', 'it', 'ja', 'nb', 'nl',
|
||||||
'pl', 'pt_BR', 'ru', 'tr', 'uk', 'zh_CN', 'zh_TW'
|
'pl', 'pt_BR', 'ru', 'tr', 'uk', 'zh_CN', 'zh_TW'
|
||||||
],
|
],
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//
|
//
|
||||||
// This is the internationalization module.
|
// This is the internationalization module.
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2013-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global define */
|
/*global define */
|
||||||
@ -18,6 +18,7 @@
|
|||||||
'moment/locale/ar',
|
'moment/locale/ar',
|
||||||
'moment/locale/bg',
|
'moment/locale/bg',
|
||||||
'moment/locale/ca',
|
'moment/locale/ca',
|
||||||
|
'moment/locale/cs',
|
||||||
'moment/locale/de',
|
'moment/locale/de',
|
||||||
'moment/locale/es',
|
'moment/locale/es',
|
||||||
'moment/locale/eu',
|
'moment/locale/eu',
|
||||||
@ -70,7 +71,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isMomentLocale (locale) {
|
function isMomentLocale (locale) {
|
||||||
return _.isString(locale) && moment.locale() === moment.locale(locale);
|
return _.isString(locale) && moment.locale(locale) === moment.locale() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
function isConverseLocale (locale, supported_locales) {
|
function isConverseLocale (locale, supported_locales) {
|
||||||
|
Loading…
Reference in New Issue
Block a user