2013-07-11 16:17:21 +02:00
|
|
|
/*globals navigator,dojoConfig */
|
|
|
|
var usedLocale = "C";
|
|
|
|
|
|
|
|
if (navigator && navigator.language.match(/^(de)/)) {
|
|
|
|
usedLocale = navigator.language.substr(0,2);
|
|
|
|
}
|
|
|
|
|
|
|
|
dojoConfig = {
|
|
|
|
locale: usedLocale,
|
|
|
|
paths: {
|
2013-08-06 18:38:17 +03:00
|
|
|
"webodf/editor": OC.appswebroots.office + "/js/editor",
|
|
|
|
"dijit": OC.appswebroots.office + "/js/editor/dijit",
|
|
|
|
"dojox": OC.appswebroots.office + "/js/editor/dojox",
|
|
|
|
"dojo": OC.appswebroots.office + "/js/editor/dojo",
|
|
|
|
"resources": OC.appswebroots.office + "/js/editor/resources"
|
2013-07-11 16:17:21 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
//alert("bootstrap hello");
|