Commit 565cfc39 authored by JC Brand's avatar JC Brand

Hook in the Czech translations

parent 702d0217
This diff is collapsed.
...@@ -224,7 +224,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment