Initial hackish translator function. Ref #14

This commit is contained in:
Victor Dubiniuk 2013-11-14 04:17:54 +03:00
parent b7e79595ef
commit 680ec43ee7

View File

@ -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();