diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 8127c326e..6ae9a2a27 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -2790,10 +2790,8 @@ define([ checkNewCheckpoint(); }); }; - var isModified = editor.asc_isDocumentModified || function () { - return editor.isDocumentModify; - }; - if (isModified()) { + var editing = editor.asc_isDocumentModified ? editor.asc_isDocumentModified() : editor.isDocumentModify; + if (editing) { setEditable(false); APP.unsavedLocks = myLocks; APP.onStrictSaveChanges = function () { diff --git a/www/common/translations/messages.fr.json b/www/common/translations/messages.fr.json index f1d782e43..e17729dc3 100644 --- a/www/common/translations/messages.fr.json +++ b/www/common/translations/messages.fr.json @@ -1226,5 +1226,7 @@ "pad_goToAnchor": "Aller à cette ancre", "settings_padOpenLinkLabel": "Activer l'ouverture directe des liens", "settings_padOpenLinkHint": "Cette option permet d'ouvrir les liens dans un document texte sans fenêtre d’aperçu", - "settings_padOpenLinkTitle": "Ouvrir les lien avec un seul clic" + "settings_padOpenLinkTitle": "Ouvrir les lien avec un seul clic", + "toolbar_storeInDrive": "Stocker dans CryptDrive", + "genericCopySuccess": "Copié dans le presse-papiers" } diff --git a/www/common/translations/messages.json b/www/common/translations/messages.json index 06df08b31..b8c70c56a 100644 --- a/www/common/translations/messages.json +++ b/www/common/translations/messages.json @@ -1226,5 +1226,7 @@ "settings_notifCalendarCheckbox": "Enable calendar notifications", "calendar_notifications": "Reminders", "calendar_addNotification": "Add reminder", - "calendar_noNotification": "None" + "calendar_noNotification": "None", + "toolbar_storeInDrive": "Store in CryptDrive", + "genericCopySuccess": "Copied to clipboard" }