You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
544 B
JavaScript
21 lines
544 B
JavaScript
/*globals navigator,dojoConfig */
|
|
var usedLocale = "C";
|
|
|
|
if (navigator && navigator.language.match(/^(de)/)) {
|
|
usedLocale = navigator.language.substr(0,2);
|
|
}
|
|
|
|
dojoConfig = {
|
|
locale: usedLocale,
|
|
paths: {
|
|
"webodf/editor": OC.appswebroots.documents + "/js/editor",
|
|
"dijit": OC.appswebroots.documents + "/js/editor/dijit",
|
|
"dojox": OC.appswebroots.documents + "/js/editor/dojox",
|
|
"dojo": OC.appswebroots.documents + "/js/editor/dojo",
|
|
"resources": OC.appswebroots.documents + "/js/editor/resources"
|
|
}
|
|
};
|
|
|
|
|
|
//alert("bootstrap hello");
|