xmpp.chapril.org-conversejs/src/locales.js
JC Brand 9f9b38f852 Some i18n fixes
The __ translate method should only be run *after* converse.js has been
initialized and we know what the actual desired language is

Also fix bug in src/locales.js where wrong langs were assigned to wrong keys.
2016-02-28 08:45:36 +00:00

51 lines
1.4 KiB
JavaScript

/*
* This file specifies the language dependencies.
*
* Translations take up a lot of space and you are therefore advised to remove
* from here any languages that you don't need.
*
* See also src/moment_locales.js
*/
(function (root, factory) {
define("locales", ['jed',
'text!af',
'text!de',
'text!en',
'text!es',
'text!fr',
'text!he',
'text!hu',
'text!id',
'text!it',
'text!ja',
'text!nb',
'text!nl',
'text!pl',
'text!pt_BR',
'text!ru',
'text!uk',
'text!zh'
], function ($, Jed) {
root.locales = {
'af': arguments[1],
'de': arguments[2],
'en': arguments[3],
'es': arguments[4],
'fr': arguments[5],
'he': arguments[6],
'hu': arguments[7],
'id': arguments[8],
'it': arguments[9],
'ja': arguments[10],
'nb': arguments[11],
'nl': arguments[12],
'pl': arguments[13],
'pt-br': arguments[14],
'ru': arguments[15],
'uk': arguments[16],
'zh': arguments[17]
};
return root.locales;
});
})(this);