xmpp.chapril.org-conversejs/locale/locales.js
JC Brand d22ab21bbf Proof of work. Load JSON file directly
instead of having to create a .js file with translations.
2015-01-16 21:04:38 +01:00

47 lines
1.1 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.
*/
(function (root, factory) {
define("locales", ['jquery', 'jed',
'af',
'de',
'en',
'es',
'fr',
'he',
'hu',
'id',
'it',
'ja',
'nb',
'nl',
'text!pl',
'pt_BR',
'ru',
'zh'
], function ($, Jed, af, de, en, es, fr, he, hu, id, it, ja, nb, nl, pl, pt_BR, ru, zh) {
root.locales = {
'af': af,
'de': de,
'en': en,
'es': es,
'fr': fr,
'he': he,
'hu': hu,
'id': id,
'it': it,
'ja': ja,
'nb': nb,
'nl': nl,
'pl': new Jed($.parseJSON(pl)),
'pt-br': pt_BR,
'ru': ru,
'zh':zh
};
});
})(this);