Commit 1a62379a by daniel cebrian

fixed conflict between Annotator and internationalitation

parent c82e4ede
...@@ -121,25 +121,14 @@ getNodePosition = function(node) { ...@@ -121,25 +121,14 @@ getNodePosition = function(node) {
*/ */
// Generated by CoffeeScript 1.6.3 // Generated by CoffeeScript 1.6.3
var $, Util, gettext, _gettext, _ref, _t; var $, Util, gettext_annotator, _ref, _t;
gettext = null; gettext_annotator = function(msgid) {
return msgid;
if (typeof Gettext !== "undefined" && Gettext !== null) { };
_gettext = new Gettext({
domain: "annotator"
});
gettext = function(msgid) {
return _gettext.gettext(msgid);
};
} else {
gettext = function(msgid) {
return msgid;
};
}
_t = function(msgid) { _t = function(msgid) {
return gettext(msgid); return gettext_annotator(msgid);
}; };
if (!(typeof jQuery !== "undefined" && jQuery !== null ? (_ref = jQuery.fn) != null ? _ref.jquery : void 0 : void 0)) { if (!(typeof jQuery !== "undefined" && jQuery !== null ? (_ref = jQuery.fn) != null ? _ref.jquery : void 0 : void 0)) {
......
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