Initial hackish translator function. Ref #14

pull/1/head
Victor Dubiniuk 11 years ago
parent b7e79595ef
commit 680ec43ee7

@ -180,7 +180,7 @@ var documentsMain = {
documentsMain.webodfServerInstance = serverFactory.createServer();
documentsMain.webodfServerInstance.setToken(oc_requesttoken);
documentsMain.webodfEditorInstance = new Editor({unstableFeaturesEnabled: documentsMain.useUnstable}, documentsMain.webodfServerInstance, serverFactory);
runtime.tr = function(s){return t('documents', s);};
// load the document and get called back when it's live
documentsMain.webodfEditorInstance.openSession(documentsMain.esId, documentsMain.memberId, function() {
documentsMain.webodfEditorInstance.startEditing();

Loading…
Cancel
Save