From 680ec43ee7cd35a85c210bac4c6dadb13dbaa074 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Thu, 14 Nov 2013 04:17:54 +0300 Subject: [PATCH] Initial hackish translator function. Ref #14 --- js/documents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/documents.js b/js/documents.js index 923d75cd..00280fa0 100644 --- a/js/documents.js +++ b/js/documents.js @@ -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();