Commit 563987cf authored by JC Brand's avatar JC Brand

Include Jed for the nolocales option.

We need variable sprintf type var interpolation
parent 661199dd
......@@ -81,9 +81,6 @@
var __ = $.proxy(function (str) {
/* Translation factory
*/
if (this.i18n === undefined) {
return str;
}
var t = this.i18n.translate(str);
if (arguments.length>1) {
return t.fetch.apply(t, [].slice.call(arguments,1));
......
/*
* This file can be used if no locale support is required.
*/
(function (root, factory) {
define("locales", [], function () {
root.locales = {};
define("locales", [
'jed',
"locale/en/LC_MESSAGES/en"
], function (jed, en) {
root.locales = { 'en': en };
});
})(this);
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