commit
a3d90a727a
|
@ -905,6 +905,11 @@ input[type="number"]::-webkit-inner-spin-button {
|
|||
}
|
||||
}
|
||||
|
||||
.dlg-macros-request {
|
||||
.dialog-text {
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
// Skeleton of document
|
||||
|
||||
@keyframes flickerAnimation {
|
||||
|
|
|
@ -169,6 +169,8 @@ define([
|
|||
weakCompare : function(obj1, obj2){return obj1.type === obj2.type;}
|
||||
});
|
||||
|
||||
this.stackMacrosRequests = [];
|
||||
|
||||
this._state = {isDisconnected: false, usersCount: 1, fastCoauth: true, lostEditingRights: false, licenseType: false, isDocModified: false};
|
||||
this.languages = null;
|
||||
|
||||
|
@ -436,6 +438,9 @@ define([
|
|||
value = parseInt(value);
|
||||
Common.Utils.InternalSettings.set("de-macros-mode", value);
|
||||
|
||||
value = Common.localStorage.getItem("de-allow-macros-request");
|
||||
Common.Utils.InternalSettings.set("de-allow-macros-request", (value !== null) ? parseInt(value) : 0);
|
||||
|
||||
this.appOptions.wopi = this.editorConfig.wopi;
|
||||
|
||||
Common.Controllers.Desktop.init(this.appOptions);
|
||||
|
@ -509,6 +514,7 @@ define([
|
|||
}
|
||||
this.api.asc_registerCallback('asc_onGetEditorPermissions', _.bind(this.onEditorPermissions, this));
|
||||
this.api.asc_registerCallback('asc_onLicenseChanged', _.bind(this.onLicenseChanged, this));
|
||||
this.api.asc_registerCallback('asc_onMacrosPermissionRequest', _.bind(this.onMacrosPermissionRequest, this));
|
||||
this.api.asc_registerCallback('asc_onRunAutostartMacroses', _.bind(this.onRunAutostartMacroses, this));
|
||||
this.api.asc_setDocInfo(docInfo);
|
||||
this.api.asc_getEditorPermissions(this.editorConfig.licenseUrl, this.editorConfig.customerId);
|
||||
|
@ -2711,6 +2717,47 @@ define([
|
|||
}
|
||||
},
|
||||
|
||||
onMacrosPermissionRequest: function(url, callback) {
|
||||
if (url && callback) {
|
||||
this.stackMacrosRequests.push({url: url, callback: callback});
|
||||
if (this.stackMacrosRequests.length>1) {
|
||||
return;
|
||||
}
|
||||
} else if (this.stackMacrosRequests.length>0) {
|
||||
url = this.stackMacrosRequests[0].url;
|
||||
callback = this.stackMacrosRequests[0].callback;
|
||||
} else
|
||||
return;
|
||||
|
||||
var me = this;
|
||||
var value = Common.Utils.InternalSettings.get("de-allow-macros-request");
|
||||
if (value>0) {
|
||||
callback && callback(value === 1);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
} else {
|
||||
Common.UI.warning({
|
||||
msg: this.textRequestMacros.replace('%1', url),
|
||||
buttons: ['yes', 'no'],
|
||||
primary: 'yes',
|
||||
dontshow: true,
|
||||
textDontShow: this.textRememberMacros,
|
||||
maxwidth: 600,
|
||||
callback: function(btn, dontshow){
|
||||
if (dontshow) {
|
||||
Common.Utils.InternalSettings.set("de-allow-macros-request", (btn == 'yes') ? 1 : 2);
|
||||
Common.localStorage.setItem("de-allow-macros-request", (btn == 'yes') ? 1 : 2);
|
||||
}
|
||||
setTimeout(function() {
|
||||
if (callback) callback(btn == 'yes');
|
||||
me.stackMacrosRequests.shift();
|
||||
me.onMacrosPermissionRequest();
|
||||
}, 1);
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
loadAutoCorrectSettings: function() {
|
||||
// autocorrection
|
||||
var me = this;
|
||||
|
@ -3166,7 +3213,7 @@ define([
|
|||
txtEnterDate: 'Enter a date',
|
||||
txtTypeEquation: 'Type equation here',
|
||||
textHasMacros: 'The file contains automatic macros.<br>Do you want to run macros?',
|
||||
textRemember: 'Remember my choice',
|
||||
textRemember: 'Remember my choice for all files',
|
||||
warnLicenseLimitedRenewed: 'License needs to be renewed.<br>You have a limited access to document editing functionality.<br>Please contact your administrator to get full access',
|
||||
warnLicenseLimitedNoAccess: 'License expired.<br>You have no access to document editing functionality.<br>Please contact your administrator.',
|
||||
saveErrorTextDesktop: 'This file cannot be saved or created.<br>Possible reasons are: <br>1. The file is read-only. <br>2. The file is being edited by other users. <br>3. The disk is full or corrupted.',
|
||||
|
@ -3190,7 +3237,9 @@ define([
|
|||
errorLang: 'The interface language is not loaded.<br>Please contact your Document Server administrator.',
|
||||
errorLoadingFont: 'Fonts are not loaded.<br>Please contact your Document Server administrator.',
|
||||
errorEmptyTOC: 'Start creating a table of contents by applying a heading style from the Styles gallery to the selected text.',
|
||||
errorNoTOC: 'There\'s no table of contents to update. You can insert one from the References tab.'
|
||||
errorNoTOC: 'There\'s no table of contents to update. You can insert one from the References tab.',
|
||||
textRequestMacros: 'A macro makes a request to URL. Do you want to allow the request to the %1?',
|
||||
textRememberMacros: 'Remember my choice for all macros'
|
||||
}
|
||||
})(), DE.Controllers.Main || {}))
|
||||
});
|
|
@ -622,6 +622,7 @@
|
|||
"DE.Controllers.Main.textPaidFeature": "Paid feature",
|
||||
"DE.Controllers.Main.textReconnect": "Connection is restored",
|
||||
"DE.Controllers.Main.textRemember": "Remember my choice for all files",
|
||||
"DE.Controllers.Main.textRememberMacros": "Remember my choice for all macros",
|
||||
"DE.Controllers.Main.textRenameError": "User name must not be empty.",
|
||||
"DE.Controllers.Main.textRenameLabel": "Enter a name to be used for collaboration",
|
||||
"DE.Controllers.Main.textShape": "Shape",
|
||||
|
@ -896,6 +897,7 @@
|
|||
"DE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.<br>Contact %1 sales team for personal upgrade terms.",
|
||||
"DE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"DE.Controllers.Main.textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?",
|
||||
"DE.Controllers.Navigation.txtBeginning": "Beginning of document",
|
||||
"DE.Controllers.Navigation.txtGotoBeginning": "Go to the beginning of the document",
|
||||
"DE.Controllers.Statusbar.textDisconnect": "<b>Connection is lost</b><br>Trying to connect. Please check connection settings.",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "Bu faylı redaktə etmək icazəniz yoxdur.",
|
||||
"textNoTextFound": "Text not found",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}"
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Qorunan Fayl",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "You've reached the user limit for %1 editors. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit this file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Абаронены файл",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Has arribat al límit d'usuari per a %1 editors. Contacta amb el teu administrador per a més informació.",
|
||||
"warnNoLicense": "Has arribat al límit de connexions simultànies a %1 editors. Aquest document només s'obrirà en mode lectura. Contacta amb l'equip de vendes %1 per a les condicions d'una actualització personal.",
|
||||
"warnNoLicenseUsers": "Has arribat al límit d'usuaris per a %1 editors. Contacta amb l'equip de vendes de %1 per obtenir les condicions de millora personals dels teus serveis.",
|
||||
"warnProcessRightsChange": "No tens permís per editar aquest fitxer."
|
||||
"warnProcessRightsChange": "No tens permís per editar aquest fitxer.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "El fitxer està protegit",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Došlo dosažení limitu %1 editorů v režimu spolupráce na úpravách. Ohledně podrobností se obraťte na svého správce.",
|
||||
"warnNoLicense": "Došlo k dosažení limitu souběžného připojení %1 editorů. Tento dokument bude otevřen pouze pro náhled. Pro rozšíření funkcí kontaktujte %1 obchodní oddělení.",
|
||||
"warnNoLicenseUsers": "Došlo k dosažení limitu %1 editorů. Pro rozšíření funkcí kontaktujte %1 obchodní oddělení.",
|
||||
"warnProcessRightsChange": "Nemáte oprávnění pro úpravu tohoto dokumentu."
|
||||
"warnProcessRightsChange": "Nemáte oprávnění pro úpravu tohoto dokumentu.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Zabezpečený soubor",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Sie haben das Benutzerlimit für %1-Editoren erreicht. Bitte wenden Sie sich an Ihren Administrator, um weitere Informationen zu erhalten.",
|
||||
"warnNoLicense": "Sie haben die maximale Anzahl von gleichzeitigen Verbindungen in %1-Editoren erreicht. Die Bearbeitung ist jetzt in diesem Dokument nicht verfügbar. Bitte kontaktieren Sie unser Verkaufsteam, um persönliche Upgrade-Bedingungen zu erhalten.",
|
||||
"warnNoLicenseUsers": "Sie haben das Benutzerlimit für %1-Editoren erreicht. Bitte kontaktieren Sie unser Verkaufsteam, um persönliche Upgrade-Bedingungen zu erhalten.",
|
||||
"warnProcessRightsChange": "Sie können diese Datei nicht bearbeiten."
|
||||
"warnProcessRightsChange": "Sie können diese Datei nicht bearbeiten.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Geschützte Datei",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Έχετε φτάσει το όριο χρήστη για συντάκτες %1.<br>Επικοινωνήστε με τον διαχειριστή σας για περισσότερες πληροφορίες.",
|
||||
"warnNoLicense": "Φτάσατε το όριο ταυτόχρονων συνδέσεων σε %1 συντάκτες. Το έγγραφο θα ανοίξει μόνο για ανάγνωση. Επικοινωνήστε με την ομάδα πωλήσεων %1 για τους όρους αναβάθμισης.",
|
||||
"warnNoLicenseUsers": "Έχετε φτάσει το όριο χρήστη για συντάκτες %1.<br>Επικοινωνήστε με την ομάδα πωλήσεων %1 για προσωπικούς όρους αναβάθμισης.",
|
||||
"warnProcessRightsChange": "Δεν έχετε δικαίωμα επεξεργασίας αυτού του αρχείου."
|
||||
"warnProcessRightsChange": "Δεν έχετε δικαίωμα επεξεργασίας αυτού του αρχείου.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Προστατευμένο Αρχείο",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "You've reached the user limit for %1 editors. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit this file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Ha alcanzado el límite de usuarios para %1 editores. Póngase en contacto con su administrador para saber más.",
|
||||
"warnNoLicense": "Ha alcanzado el límite de conexiones simultáneas con %1 editores. Este documento se abrirá sólo para su visualización. Póngase en contacto con el equipo de ventas de %1 para conocer las condiciones de actualización personal.",
|
||||
"warnNoLicenseUsers": "Ha alcanzado el límite de usuarios para %1 editores. Póngase en contacto con el equipo de ventas de %1 para conocer las condiciones de actualización personal.",
|
||||
"warnProcessRightsChange": "No tiene permiso para editar este archivo."
|
||||
"warnProcessRightsChange": "No tiene permiso para editar este archivo.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Archivo protegido",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Vous avez dépassé le nombre maximal d’utilisateurs des éditeurs %1. Pour en savoir plus, contactez votre administrateur.",
|
||||
"warnNoLicense": "Vous avez dépassé le nombre maximal de connexions simultanées aux éditeurs %1. Ce document sera ouvert en lecture seule. Contactez l’équipe des ventes %1 pour mettre à jour les termes de la licence.",
|
||||
"warnNoLicenseUsers": "Vous avez dépassé le nombre maximal d’utilisateurs des éditeurs %1. Contactez l’équipe des ventes %1 pour mettre à jour les termes de la licence.",
|
||||
"warnProcessRightsChange": "Vous n'avez pas la permission de modifier ce fichier."
|
||||
"warnProcessRightsChange": "Vous n'avez pas la permission de modifier ce fichier.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Fichier protégé",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Alcanzou o límite de usuarios para os editores de %1. Por favor, contacte co se uadministrador para recibir máis información.",
|
||||
"warnNoLicense": "Alcanzou o límite de conexións simultáneas con %1 editores. Este documento abrirase para as úa visualización. Póñase en contacto co equipo de vendas de %1 para coñecer as condicións de actualización persoal.",
|
||||
"warnNoLicenseUsers": "Alcanzou o límite de usuarios para os editores de %1.<br>Contacte co equipo de vendas de %1 para coñecer os termos de actualización persoal.",
|
||||
"warnProcessRightsChange": "Non ten permiso para editar este ficheiro."
|
||||
"warnProcessRightsChange": "Non ten permiso para editar este ficheiro.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Ficheiro protexido",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Elérte a(z) %1 szerkesztőhöz tartozó felhasználói korlátját. További információért forduljon rendszergazdájához.",
|
||||
"warnNoLicense": "Elérte a(z) %1 szerkesztővel való egyidejű kapcsolódási korlátot. Ez a dokumentum csak megtekintésre nyílik meg. Lépjen kapcsolatba a(z) %1 értékesítési csapattal a személyes frissítés feltételekért.",
|
||||
"warnNoLicenseUsers": "Elérte a(z) %1 szerkesztőhöz tartozó felhasználói korlátját. Vegye fel a kapcsolatot a(z) %1 értékesítési csapattal a személyes frissítési feltételekért.",
|
||||
"warnProcessRightsChange": "Nincs engedélye a fájl szerkesztésére."
|
||||
"warnProcessRightsChange": "Nincs engedélye a fájl szerkesztésére.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Védett fájl",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Anda sudah mencapai batas user untuk %1 editor. Hubungi admin Anda untuk mempelajari lebih lanjut.",
|
||||
"warnNoLicense": "Anda sudah mencapai batas untuk koneksi bersamaan ke %1 editor. Dokumen ini akan dibuka untuk dilihat saja. Hubungi %1 tim sales untuk syarat personal upgrade.",
|
||||
"warnNoLicenseUsers": "Anda sudah mencapai batas user untuk %1 editor. Hubungi %1 tim sales untuk syarat personal upgrade.",
|
||||
"warnProcessRightsChange": "Anda tidak memiliki izin edit file ini."
|
||||
"warnProcessRightsChange": "Anda tidak memiliki izin edit file ini.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "File yang Diproteksi",
|
||||
|
@ -655,7 +656,8 @@
|
|||
"textNavigation": "Navigation",
|
||||
"textEmptyScreens": "There are no headings in the document. Apply a headings style to the text so that it appeas in the table of cotents.",
|
||||
"textBeginningDocument": "Beginning of document",
|
||||
"textEmptyHeading": "Empty Heading"
|
||||
"textEmptyHeading": "Empty Heading",
|
||||
"textPdfProducer": "PDF Producer"
|
||||
},
|
||||
"Toolbar": {
|
||||
"dlgLeaveMsgText": "Anda memiliki perubahan yang belum tersimpan. Klik 'Tetap di Halaman Ini' untuk menunggu simpan otomatis. Klik ‘Tinggalkan Halaman Ini’ untuk membatalkan semua perubahan yang belum disimpan.",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Hai raggiunto il limite degli utenti per gli editor %1. Ti preghiamo di contattare il tuo amministratore per maggior informazioni.",
|
||||
"warnNoLicense": "Hai raggiunto il limite delle connessioni simultanee agli editor %1. Questo documento sarà aperto solo in modalità di visualizzazione. Ti preghiamo di contattare il team di vendite di %1 per i termini di aggiornamento personali.",
|
||||
"warnNoLicenseUsers": "Hai raggiunto il limite degli utenti per gli editor %1. Ti preghiamo di contattare il team di vendite di %1 per i termini di aggiornamento personali.",
|
||||
"warnProcessRightsChange": "Non hai il permesso di modificare questo file."
|
||||
"warnProcessRightsChange": "Non hai il permesso di modificare questo file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "File protetto",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "%1エディターのユーザー制限に達しました。 詳細についてはアドミニストレータを連絡してください。",
|
||||
"warnNoLicense": "%1エディター 時接続数の制限に達しました。この文書が見るだけのために開かれる。個人的なアップグレード条件については、%1営業チームを連絡してください。",
|
||||
"warnNoLicenseUsers": "%1エディターのユーザー制限に達しました。 個人的なアップグレード条件については、%1営業チームを連絡してください。",
|
||||
"warnProcessRightsChange": "ファイルを編集する権限がありません!"
|
||||
"warnProcessRightsChange": "ファイルを編集する権限がありません!",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "保護されたファイル",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "편집자 사용자 한도인 %1명에 도달했습니다. 자세한 내용은 관리자에게 문의하십시오.",
|
||||
"warnNoLicense": "% 1 편집 연결 수 제한에 도달했습니다. 이 문서는 보기 모드로 열립니다. 개인적인 업그레이드 사항은 % 1 영업팀에 연락하십시오.",
|
||||
"warnNoLicenseUsers": "ONLYOFFICE 편집자의이 버전은 동시 사용자에게 일정한 제한이 있습니다. <br> 더 필요한 것이 있으면 현재 라이센스를 업그레이드하거나 상용 라이센스를 구입하십시오.",
|
||||
"warnProcessRightsChange": "파일을 편집 할 권한이 없습니다."
|
||||
"warnProcessRightsChange": "파일을 편집 할 권한이 없습니다.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "보호 된 파일",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "ຈໍານວນ ການເຊື່ອມຕໍ່ພ້ອມກັນກັບຜູ້ແກ້ໄຂ ແມ່ນເກີນກໍານົດ % 1. ຕິດຕໍ່ທີມບໍລິຫານເພື່ອຂໍ້ມູນເພີ່ມເຕີ່ມ",
|
||||
"warnNoLicense": "ທ່ານໄດ້ຖືກຈຳກັດສິດພຽງເທົ່ານີ້ສຳຫລັບການເຊື່່ອມພ້ອມກັນກັບເຄື່ອງມືແກ້ໄຂ %1 ແລ້ວເອກະສານນີ້ຈະເປີດໃຫ້ເບີ່ງເທົ່ານັ້ນ ຕິດຕໍ່ທີມຂາຍ %1 ສຳຫລັບເງື່ອນໄຂການອັບເກດສ່ວນບຸກຄົນ",
|
||||
"warnNoLicenseUsers": "ຈໍານວນການເຊື່ອມຕໍ່ພ້ອມກັນກັບບັນນາທິການ ແມ່ນເກີນກໍານົດ % 1. ຕິດຕໍ່ ທີມຂາຍ %1 ສຳລັບຂໍ້ກຳນົດການຍົກລະດັບສິດ",
|
||||
"warnProcessRightsChange": "ທ່ານບໍ່ມີສິດໃນການແກ້ໄຂໄຟລ໌ນີ້."
|
||||
"warnProcessRightsChange": "ທ່ານບໍ່ມີສິດໃນການແກ້ໄຂໄຟລ໌ນີ້.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "ເອກະສານທີ່ໄດ້ຮັບການປົກປ້ອງ",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "Je hebt geen toestemming om dit bestand te bewerken.",
|
||||
"textNoTextFound": "Text not found",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}"
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Beveiligd bestand",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Atingiu o limite de %1 editores. Contacte o seu administrador para obter detalhes.",
|
||||
"warnNoLicense": "Atingiu o limite de ligações simultâneas a %1 editores. Este documento será aberto apenas para visualização. Contacte a %1 equipa de vendas para consultar os termos de atualização para si.",
|
||||
"warnNoLicenseUsers": "Atingiu o limite de %1 editores. Contacte a equipa comercial %1 para obter mais informações.",
|
||||
"warnProcessRightsChange": "Não tem autorização para editar este ficheiro."
|
||||
"warnProcessRightsChange": "Não tem autorização para editar este ficheiro.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Ficheiro protegido",
|
||||
|
@ -655,7 +656,8 @@
|
|||
"textNavigation": "Navigation",
|
||||
"textEmptyScreens": "There are no headings in the document. Apply a headings style to the text so that it appeas in the table of cotents.",
|
||||
"textBeginningDocument": "Beginning of document",
|
||||
"textEmptyHeading": "Empty Heading"
|
||||
"textEmptyHeading": "Empty Heading",
|
||||
"textPdfProducer": "PDF Producer"
|
||||
},
|
||||
"Toolbar": {
|
||||
"dlgLeaveMsgText": "Existem alterações não guardadas. Clique 'Ficar na página' para guardar automaticamente. Clique 'Sair da página' para rejeitar todas as alterações.",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Você atingiu o limite de usuários para editores %1. Entre em contato com seu administrador para saber mais.",
|
||||
"warnNoLicense": "Você atingiu o limite de conexões simultâneas para% 1 editores. Este documento será aberto apenas para visualização. Contate a equipe de vendas% 1 para termos de atualização pessoal.",
|
||||
"warnNoLicenseUsers": "Você atingiu o limite de usuários para editores %1.<br>Entre em contato com a equipe de vendas da %1 para obter os termos de atualização pessoais.",
|
||||
"warnProcessRightsChange": "Você não tem permissão para editar este arquivo."
|
||||
"warnProcessRightsChange": "Você não tem permissão para editar este arquivo.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Arquivo protegido",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Ați atins numărul maxim de utilizatori ai %1 editoare. Pentru detalii, contactați administratorul dvs.",
|
||||
"warnNoLicense": "Ați atins numărul maxim de conexiuni simultane la %1 de editoare. Documentul este disponibil numai pentru vizualizare. Contactați %1 Departamentul de Vânzări pentru acordarea condițiilor personale de actualizare.",
|
||||
"warnNoLicenseUsers": "Ați atins numărul maxim de utilizatori ai %1 editoare. Contactați Grup Vânzări %1 pentru acordarea condițiilor personale de licențiere.",
|
||||
"warnProcessRightsChange": "Nu aveți permisiunea de editare pentru fișier."
|
||||
"warnProcessRightsChange": "Nu aveți permisiunea de editare pentru fișier.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Fișierul protejat",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Вы достигли лимита на количество пользователей редакторов %1. Свяжитесь с администратором, чтобы узнать больше.",
|
||||
"warnNoLicense": "Вы достигли лимита на одновременные подключения к редакторам %1. Этот документ будет открыт на просмотр. Напишите в отдел продаж %1, чтобы обсудить индивидуальные условия обновления.",
|
||||
"warnNoLicenseUsers": "Вы достигли лимита на количество пользователей редакторов %1. Напишите в отдел продаж %1, чтобы обсудить индивидуальные условия обновления.",
|
||||
"warnProcessRightsChange": "У вас нет прав на редактирование этого файла."
|
||||
"warnProcessRightsChange": "У вас нет прав на редактирование этого файла.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Защищенный файл",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Dosiahli ste limit %1 editora v režime spolupráce na úpravách. Ohľadne podrobnosti sa obráťte na svojho správcu. ",
|
||||
"warnNoLicense": "Dosiahli ste limit pre simultánne pripojenia k %1 editorom. Tento dokument sa otvorí iba na prezeranie. Kontaktujte predajný tím %1 pre osobné podmienky inovácie.",
|
||||
"warnNoLicenseUsers": "Dosiahli ste limit %1 editora. Pre rozšírenie funkcií kontaktujte %1 obchodné oddelenie.",
|
||||
"warnProcessRightsChange": "Nemáte povolenie na úpravu tohto súboru."
|
||||
"warnProcessRightsChange": "Nemáte povolenie na úpravu tohto súboru.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Chránený súbor",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "Bu dosyayı düzenleme izniniz yok.",
|
||||
"textNoTextFound": "Text not found",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}"
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Korumalı dosya",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "Ви досягли ліміту на кількість користувачів редакторів %1.<br>Зв'яжіться з адміністратором, щоб дізнатися більше.",
|
||||
"warnNoLicense": "Ви досягли ліміту на одночасне підключення до редакторів %1. Цей документ буде відкрито для перегляду. Напишіть у відділ продажу %1, щоб обговорити індивідуальні умови оновлення.",
|
||||
"warnNoLicenseUsers": "Ви досягли ліміту на одночасне підключення до редакторів %1.<br>Напишіть у відділ продаж %1, для обговорення індивідуальних умов ліцензування.",
|
||||
"warnProcessRightsChange": "У вас немає прав на редагування цього файлу."
|
||||
"warnProcessRightsChange": "У вас немає прав на редагування цього файлу.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Захищений файл",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit this file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "Protected File",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "您已達到%1個編輯器的用戶限制。請與您的管理員聯繫以了解更多信息。",
|
||||
"warnNoLicense": "您已達到同時連接到 %1 編輯器的限制。此文件將只提供檢視。有關個人升級條款,請聯繫 %1 業務團隊。",
|
||||
"warnNoLicenseUsers": "您已達到%1個編輯器的用戶限制。與%1銷售團隊聯繫以了解個人升級條款。",
|
||||
"warnProcessRightsChange": "您沒有編輯這個文件的權限。"
|
||||
"warnProcessRightsChange": "您沒有編輯這個文件的權限。",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "受保護的檔案",
|
||||
|
@ -655,7 +656,8 @@
|
|||
"textNavigation": "Navigation",
|
||||
"textEmptyScreens": "There are no headings in the document. Apply a headings style to the text so that it appeas in the table of cotents.",
|
||||
"textBeginningDocument": "Beginning of document",
|
||||
"textEmptyHeading": "Empty Heading"
|
||||
"textEmptyHeading": "Empty Heading",
|
||||
"textPdfProducer": "PDF Producer"
|
||||
},
|
||||
"Toolbar": {
|
||||
"dlgLeaveMsgText": "您有未儲存的變更。點擊“留在此頁面”以等待自動儲存。點擊“離開此頁面”以放棄所有未儲存的變更。",
|
||||
|
|
|
@ -532,7 +532,8 @@
|
|||
"warnLicenseUsersExceeded": "你触发了 %1 编辑器的同时在线数限制。可联系管理员来了解更多信息。",
|
||||
"warnNoLicense": "你已经触发了 %1 编辑器的同时在线数限制. 该文档打开后,你将只能查看。请联系 %1 的销售团队,获取个人升级条款。",
|
||||
"warnNoLicenseUsers": "你触发了 %1 编辑器的同时在线数限制。请与 %1 的销售团队联系,以获取个人升级条款。",
|
||||
"warnProcessRightsChange": "你没有编辑这个文件的权限。"
|
||||
"warnProcessRightsChange": "你没有编辑这个文件的权限。",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
},
|
||||
"Settings": {
|
||||
"advDRMOptions": "受保护的文件",
|
||||
|
|
|
@ -49,6 +49,7 @@ class MainController extends Component {
|
|||
};
|
||||
|
||||
this.defaultTitleText = __APP_TITLE_TEXT__;
|
||||
this.stackMacrosRequests = [];
|
||||
|
||||
const { t } = this.props;
|
||||
this._t = t('Main', {returnObjects:true});
|
||||
|
@ -99,6 +100,9 @@ class MainController extends Component {
|
|||
}
|
||||
this.props.storeApplicationSettings.changeMacrosSettings(value);
|
||||
|
||||
value = localStorage.getItem("de-mobile-allow-macros-request");
|
||||
this.props.storeApplicationSettings.changeMacrosRequest((value !== null) ? parseInt(value) : 0);
|
||||
|
||||
Common.Notifications.trigger('configOptionsFill');
|
||||
};
|
||||
|
||||
|
@ -160,6 +164,7 @@ class MainController extends Component {
|
|||
this.api.asc_registerCallback('asc_onGetEditorPermissions', onEditorPermissions);
|
||||
this.api.asc_registerCallback('asc_onDocumentContentReady', onDocumentContentReady);
|
||||
this.api.asc_registerCallback('asc_onLicenseChanged', this.onLicenseChanged.bind(this));
|
||||
this.api.asc_registerCallback('asc_onMacrosPermissionRequest', this.onMacrosPermissionRequest.bind(this));
|
||||
this.api.asc_registerCallback('asc_onRunAutostartMacroses', this.onRunAutostartMacroses.bind(this));
|
||||
this.api.asc_setDocInfo(docInfo);
|
||||
this.api.asc_getEditorPermissions(this.editorConfig.licenseUrl, this.editorConfig.customerId);
|
||||
|
@ -1008,6 +1013,70 @@ class MainController extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
onMacrosPermissionRequest (url, callback) {
|
||||
if (url && callback) {
|
||||
this.stackMacrosRequests.push({url: url, callback: callback});
|
||||
if (this.stackMacrosRequests.length>1) {
|
||||
return;
|
||||
}
|
||||
} else if (this.stackMacrosRequests.length>0) {
|
||||
url = this.stackMacrosRequests[0].url;
|
||||
callback = this.stackMacrosRequests[0].callback;
|
||||
} else
|
||||
return;
|
||||
|
||||
const value = this.props.storeApplicationSettings.macrosRequest;
|
||||
if (value>0) {
|
||||
callback && callback(value === 1);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
} else {
|
||||
const { t } = this.props;
|
||||
const _t = t('Main', {returnObjects:true});
|
||||
f7.dialog.create({
|
||||
title: _t.notcriticalErrorTitle,
|
||||
text: _t.textRequestMacros.replace('%1', url),
|
||||
cssClass: 'dlg-macros-request',
|
||||
content: `<div class="checkbox-in-modal">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="checkbox-show-macros" />
|
||||
<i class="icon-checkbox"></i>
|
||||
</label>
|
||||
<span class="right-text">${_t.textRemember}</span>
|
||||
</div>`,
|
||||
buttons: [{
|
||||
text: _t.textYes,
|
||||
onClick: () => {
|
||||
const dontshow = $$('input[name="checkbox-show-macros"]').prop('checked');
|
||||
if (dontshow) {
|
||||
this.props.storeApplicationSettings.changeMacrosRequest(1);
|
||||
LocalStorage.setItem("de-mobile-allow-macros-request", 1);
|
||||
}
|
||||
setTimeout(() => {
|
||||
if (callback) callback(true);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
}, 1);
|
||||
}},
|
||||
{
|
||||
text: _t.textNo,
|
||||
onClick: () => {
|
||||
const dontshow = $$('input[name="checkbox-show-macros"]').prop('checked');
|
||||
if (dontshow) {
|
||||
this.props.storeApplicationSettings.changeMacrosRequest(2);
|
||||
LocalStorage.setItem("de-mobile-allow-macros-request", 2);
|
||||
}
|
||||
setTimeout(() => {
|
||||
if (callback) callback(false);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
}, 1);
|
||||
}
|
||||
}]
|
||||
}).open();
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<Fragment>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' data: blob:">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: blob:">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
|
||||
|
||||
<meta name="theme-color" content="#007aff">
|
||||
|
|
|
@ -11,13 +11,15 @@ export class storeApplicationSettings {
|
|||
isComments: observable,
|
||||
isResolvedComments: observable,
|
||||
macrosMode: observable,
|
||||
changeSpellCheck: action,
|
||||
macrosRequest: observable,
|
||||
changeSpellCheck: action,
|
||||
changeUnitMeasurement: action,
|
||||
changeNoCharacters: action,
|
||||
changeShowTableEmptyLine: action,
|
||||
changeDisplayComments: action,
|
||||
changeDisplayResolved: action,
|
||||
changeMacrosSettings: action
|
||||
changeMacrosSettings: action,
|
||||
changeMacrosRequest: action
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -28,6 +30,7 @@ export class storeApplicationSettings {
|
|||
isComments = false;
|
||||
isResolvedComments = false;
|
||||
macrosMode = 0;
|
||||
macrosRequest = 0;
|
||||
|
||||
changeUnitMeasurement(value) {
|
||||
this.unitMeasurement = +value;
|
||||
|
@ -57,4 +60,8 @@ export class storeApplicationSettings {
|
|||
changeMacrosSettings(value) {
|
||||
this.macrosMode = +value;
|
||||
}
|
||||
|
||||
changeMacrosRequest(value) {
|
||||
this.macrosRequest = value;
|
||||
}
|
||||
}
|
|
@ -152,6 +152,7 @@ define([
|
|||
strongCompare : function(obj1, obj2){return obj1.type === obj2.type;},
|
||||
weakCompare : function(obj1, obj2){return obj1.type === obj2.type;}
|
||||
});
|
||||
this.stackMacrosRequests = [];
|
||||
// Initialize viewport
|
||||
|
||||
if (!Common.Utils.isBrowserSupported()){
|
||||
|
@ -393,6 +394,9 @@ define([
|
|||
value = parseInt(value);
|
||||
Common.Utils.InternalSettings.set("pe-macros-mode", value);
|
||||
|
||||
value = Common.localStorage.getItem("pe-allow-macros-request");
|
||||
Common.Utils.InternalSettings.set("pe-allow-macros-request", (value !== null) ? parseInt(value) : 0);
|
||||
|
||||
this.appOptions.wopi = this.editorConfig.wopi;
|
||||
|
||||
Common.Controllers.Desktop.init(this.appOptions);
|
||||
|
@ -443,6 +447,7 @@ define([
|
|||
|
||||
this.api.asc_registerCallback('asc_onGetEditorPermissions', _.bind(this.onEditorPermissions, this));
|
||||
this.api.asc_registerCallback('asc_onLicenseChanged', _.bind(this.onLicenseChanged, this));
|
||||
this.api.asc_registerCallback('asc_onMacrosPermissionRequest', _.bind(this.onMacrosPermissionRequest, this));
|
||||
this.api.asc_registerCallback('asc_onRunAutostartMacroses', _.bind(this.onRunAutostartMacroses, this));
|
||||
this.api.asc_setDocInfo(docInfo);
|
||||
this.api.asc_getEditorPermissions(this.editorConfig.licenseUrl, this.editorConfig.customerId);
|
||||
|
@ -2280,6 +2285,47 @@ define([
|
|||
}
|
||||
},
|
||||
|
||||
onMacrosPermissionRequest: function(url, callback) {
|
||||
if (url && callback) {
|
||||
this.stackMacrosRequests.push({url: url, callback: callback});
|
||||
if (this.stackMacrosRequests.length>1) {
|
||||
return;
|
||||
}
|
||||
} else if (this.stackMacrosRequests.length>0) {
|
||||
url = this.stackMacrosRequests[0].url;
|
||||
callback = this.stackMacrosRequests[0].callback;
|
||||
} else
|
||||
return;
|
||||
|
||||
var me = this;
|
||||
var value = Common.Utils.InternalSettings.get("pe-allow-macros-request");
|
||||
if (value>0) {
|
||||
callback && callback(value === 1);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
} else {
|
||||
Common.UI.warning({
|
||||
msg: this.textRequestMacros.replace('%1', url),
|
||||
buttons: ['yes', 'no'],
|
||||
primary: 'yes',
|
||||
dontshow: true,
|
||||
textDontShow: this.textRememberMacros,
|
||||
maxwidth: 600,
|
||||
callback: function(btn, dontshow){
|
||||
if (dontshow) {
|
||||
Common.Utils.InternalSettings.set("pe-allow-macros-request", (btn == 'yes') ? 1 : 2);
|
||||
Common.localStorage.setItem("pe-allow-macros-request", (btn == 'yes') ? 1 : 2);
|
||||
}
|
||||
setTimeout(function() {
|
||||
if (callback) callback(btn == 'yes');
|
||||
me.stackMacrosRequests.shift();
|
||||
me.onMacrosPermissionRequest();
|
||||
}, 1);
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
loadAutoCorrectSettings: function() {
|
||||
// autocorrection
|
||||
var me = this;
|
||||
|
@ -2933,7 +2979,9 @@ define([
|
|||
textConvertEquation: 'This equation was created with an old version of equation editor which is no longer supported. Converting this equation to Office Math ML format will make it editable.<br>Do you want to convert this equation?',
|
||||
textApplyAll: 'Apply to all equations',
|
||||
textLearnMore: 'Learn More',
|
||||
textReconnect: 'Connection is restored'
|
||||
textReconnect: 'Connection is restored',
|
||||
textRequestMacros: 'A macro makes a request to URL. Do you want to allow the request to the %1?',
|
||||
textRememberMacros: 'Remember my choice for all macros'
|
||||
}
|
||||
})(), PE.Controllers.Main || {}))
|
||||
});
|
||||
|
|
|
@ -680,6 +680,7 @@
|
|||
"PE.Controllers.Main.textPaidFeature": "Paid feature",
|
||||
"PE.Controllers.Main.textReconnect": "Connection is restored",
|
||||
"PE.Controllers.Main.textRemember": "Remember my choice for all files",
|
||||
"PE.Controllers.Main.textRememberMacros": "Remember my choice for all macros",
|
||||
"PE.Controllers.Main.textRenameError": "User name must not be empty.",
|
||||
"PE.Controllers.Main.textRenameLabel": "Enter a name to be used for collaboration",
|
||||
"PE.Controllers.Main.textShape": "Shape",
|
||||
|
@ -960,6 +961,7 @@
|
|||
"PE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.<br>Contact %1 sales team for personal upgrade terms.",
|
||||
"PE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"PE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"PE.Controllers.Main.textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?",
|
||||
"PE.Controllers.Statusbar.textDisconnect": "<b>Connection is lost</b><br>Trying to connect. Please check connection settings.",
|
||||
"PE.Controllers.Statusbar.zoomText": "Zoom {0}%",
|
||||
"PE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the system fonts, the saved font will be used when it is available.<br>Do you want to continue?",
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnProcessRightsChange": "Faylı redaktə etmək icazəniz yoxdur.",
|
||||
"textNoTextFound": "Text not found",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}"
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "You've reached the user limit for %1 editors. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Heu arribat al límit d'usuari per a %1 editors. Contacteu amb l'administrador per a més informació.",
|
||||
"warnNoLicense": "Heu arribat al límit de connexions simultànies a %1 editors. Aquest document només s'obrirà en mode lectura. Contacteu amb l'equip de vendes %1 per conèixer les condicions d'actualització personal.",
|
||||
"warnNoLicenseUsers": "Heu arribat al límit d'usuaris per a %1 editors. Contacteu amb l'equip de vendes de %1 per obtenir les condicions de millora personals dels vostres serveis.",
|
||||
"warnProcessRightsChange": "No teniu permís per editar el fitxer."
|
||||
"warnProcessRightsChange": "No teniu permís per editar el fitxer.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Došlo dosažení limitu %1 editorů v režimu spolupráce na úpravách. Ohledně podrobností se obraťte na svého správce.",
|
||||
"warnNoLicense": "Došlo k dosažení limitu souběžného připojení %1 editorů. Tento dokument bude otevřen pouze pro náhled. Pro rozšíření funkcí kontaktujte %1 obchodní oddělení.",
|
||||
"warnNoLicenseUsers": "Došlo k dosažení limitu %1 editorů. Pro rozšíření funkcí kontaktujte %1 obchodní oddělení.",
|
||||
"warnProcessRightsChange": "Nemáte oprávnění pro úpravu tohoto dokumentu."
|
||||
"warnProcessRightsChange": "Nemáte oprávnění pro úpravu tohoto dokumentu.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Sie haben das Benutzerlimit für %1-Editoren erreicht. Bitte wenden Sie sich an Ihren Administrator, um weitere Informationen zu erhalten.",
|
||||
"warnNoLicense": "Sie haben die maximale Anzahl von gleichzeitigen Verbindungen in %1-Editoren erreicht. Die Bearbeitung ist jetzt in diesem Dokument nicht verfügbar. Bitte kontaktieren Sie unser Verkaufsteam, um persönliche Upgrade-Bedingungen zu erhalten.",
|
||||
"warnNoLicenseUsers": "Sie haben das Benutzerlimit für %1-Editoren erreicht. Bitte kontaktieren Sie unser Verkaufsteam, um persönliche Upgrade-Bedingungen zu erhalten.",
|
||||
"warnProcessRightsChange": "Sie können diese Datei nicht bearbeiten."
|
||||
"warnProcessRightsChange": "Sie können diese Datei nicht bearbeiten.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Έχετε φτάσει το όριο χρήστη για συντάκτες %1.<br>Επικοινωνήστε με τον διαχειριστή σας για περισσότερες πληροφορίες.",
|
||||
"warnNoLicense": "Φτάσατε το όριο ταυτόχρονων συνδέσεων σε %1 συντάκτες. Το έγγραφο θα ανοίξει μόνο για ανάγνωση. Επικοινωνήστε με την ομάδα πωλήσεων %1 για τους όρους αναβάθμισης.",
|
||||
"warnNoLicenseUsers": "Έχετε φτάσει το όριο χρήστη για συντάκτες %1.<br>Επικοινωνήστε με την ομάδα πωλήσεων %1 για προσωπικούς όρους αναβάθμισης.",
|
||||
"warnProcessRightsChange": "Δεν έχετε δικαίωμα επεξεργασίας του αρχείου."
|
||||
"warnProcessRightsChange": "Δεν έχετε δικαίωμα επεξεργασίας του αρχείου.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "You've reached the user limit for %1 editors. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Ha alcanzado el límite de usuarios para los editores de %1. Contacte con su administrador para recibir más información.",
|
||||
"warnNoLicense": "Ha alcanzado el límite de conexiones simultáneas con %1 editores. Este documento se abrirá sólo para su visualización. Póngase en contacto con el equipo de ventas de %1 para conocer las condiciones de actualización personal.",
|
||||
"warnNoLicenseUsers": "Ha alcanzado el límite de usuarios para los editores de %1. <br>Contacte con el equipo de ventas de %1 para conocer los términos de actualización personal.",
|
||||
"warnProcessRightsChange": "No tiene permiso para editar el archivo."
|
||||
"warnProcessRightsChange": "No tiene permiso para editar el archivo.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Vous avez dépassé le nombre maximal d’utilisateurs des éditeurs %1. Pour en savoir plus, contactez votre administrateur.",
|
||||
"warnNoLicense": "Vous avez dépassé le nombre maximal de connexions simultanées aux éditeurs %1. Ce document sera ouvert en lecture seule. Contactez l’équipe des ventes %1 pour mettre à jour les termes de la licence.",
|
||||
"warnNoLicenseUsers": "Vous avez dépassé le nombre maximal d’utilisateurs des éditeurs %1. Contactez l’équipe des ventes %1 pour mettre à jour les termes de la licence.",
|
||||
"warnProcessRightsChange": "Vous n'avez pas la permission de modifier ce fichier."
|
||||
"warnProcessRightsChange": "Vous n'avez pas la permission de modifier ce fichier.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Alcanzou o límite de usuarios para os editores de %1. Por favor, contacte co se uadministrador para recibir máis información.",
|
||||
"warnNoLicense": "Alcanzou o límite de conexións simultáneas con %1 editores. Este documento abrirase para as úa visualización. Póñase en contacto co equipo de vendas de %1 para coñecer as condicións de actualización persoal.",
|
||||
"warnNoLicenseUsers": "Alcanzou o límite de usuarios para os editores de %1.<br>Contacte co equipo de vendas de %1 para coñecer os termos de actualización persoal.",
|
||||
"warnProcessRightsChange": "Non ten permiso para editar o ficheiro."
|
||||
"warnProcessRightsChange": "Non ten permiso para editar o ficheiro.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Elérte a(z) %1 szerkesztőhöz tartozó felhasználói korlátját. További információért forduljon rendszergazdájához.",
|
||||
"warnNoLicense": "Elérte a(z) %1 szerkesztővel való egyidejű kapcsolódási korlátot. Ez a dokumentum csak megtekintésre nyílik meg. Lépjen kapcsolatba a(z) %1 értékesítési csapattal a személyes frissítés feltételekért.",
|
||||
"warnNoLicenseUsers": "Elérte a(z) %1 szerkesztőhöz tartozó felhasználói korlátját. Vegye fel a kapcsolatot a(z) %1 értékesítési csapattal a személyes frissítési feltételekért.",
|
||||
"warnProcessRightsChange": "Nincs engedélye a fájl szerkesztésére."
|
||||
"warnProcessRightsChange": "Nincs engedélye a fájl szerkesztésére.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Anda sudah mencapai batas user untuk %1 editor. Hubungi admin Anda untuk mempelajari lebih lanjut.",
|
||||
"warnNoLicense": "Anda sudah mencapai batas untuk koneksi bersamaan ke %1 editor. Dokumen ini akan dibuka untuk dilihat saja. Hubungi %1 tim sales untuk syarat personal upgrade.",
|
||||
"warnNoLicenseUsers": "Anda sudah mencapai batas user untuk %1 editor. Hubungi %1 tim sales untuk syarat personal upgrade.",
|
||||
"warnProcessRightsChange": "Anda tidak memiliki izin edit file ini."
|
||||
"warnProcessRightsChange": "Anda tidak memiliki izin edit file ini.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Hai raggiunto il limite degli utenti per gli editor %1. Ti preghiamo di contattare il tuo amministratore per maggior informazioni.",
|
||||
"warnNoLicense": "Hai raggiunto il limite delle connessioni simultanee agli editor %1. Questo documento sarà aperto solo in modalità di visualizzazione. Ti preghiamo di contattare il team di vendite di %1 per i termini di aggiornamento personali.",
|
||||
"warnNoLicenseUsers": "Hai raggiunto il limite degli utenti per gli editor %1. Ti preghiamo di contattare il team di vendite di %1 per i termini di aggiornamento personali.",
|
||||
"warnProcessRightsChange": "Non hai il permesso di modificare il file."
|
||||
"warnProcessRightsChange": "Non hai il permesso di modificare il file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "%1エディターのユーザー制限に達しました。 詳細についてはアドミニストレータを連絡してください。",
|
||||
"warnNoLicense": "%1エディター 時接続数の制限に達しました。この文書が見るだけのために開かれる。個人的なアップグレード条件については、%1営業チームを連絡してください。",
|
||||
"warnNoLicenseUsers": "%1エディターのユーザー制限に達しました。 個人的なアップグレード条件については、%1営業チームを連絡してください。",
|
||||
"warnProcessRightsChange": "ファイルを編集する権限がありません!"
|
||||
"warnProcessRightsChange": "ファイルを編集する権限がありません!",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "편집자 사용자 한도인 %1명에 도달했습니다. 자세한 내용은 관리자에게 문의하십시오.",
|
||||
"warnNoLicense": "% 1 편집 연결 수 제한에 도달했습니다. 이 문서는 보기 모드로 열립니다. 개인적인 업그레이드 사항은 % 1 영업팀에 연락하십시오.",
|
||||
"warnNoLicenseUsers": "ONLYOFFICE 편집자의이 버전은 동시 사용자에게 일정한 제한이 있습니다. <br> 더 필요한 것이 있으면 현재 라이센스를 업그레이드하거나 상용 라이센스를 구입하십시오.",
|
||||
"warnProcessRightsChange": "파일을 수정할 수 있는 권한이 없습니다."
|
||||
"warnProcessRightsChange": "파일을 수정할 수 있는 권한이 없습니다.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "ຈໍານວນ ການເຊື່ອມຕໍ່ພ້ອມກັນກັບຜູ້ແກ້ໄຂ ແມ່ນເກີນກໍານົດ % 1. ຕິດຕໍ່ທີມບໍລິຫານເພື່ອຂໍ້ມູນເພີ່ມເຕີ່ມ",
|
||||
"warnNoLicense": "ທ່ານໄດ້ຖືກຈຳກັດສິດພຽງເທົ່ານີ້ສຳຫລັບການເຊື່່ອມພ້ອມກັນກັບເຄື່ອງມືແກ້ໄຂ %1 ແລ້ວເອກະສານນີ້ຈະເປີດໃຫ້ເບີ່ງເທົ່ານັ້ນ ຕິດຕໍ່ທີມຂາຍ %1 ສຳຫລັບເງື່ອນໄຂການອັບເກດສ່ວນບຸກຄົນ",
|
||||
"warnNoLicenseUsers": "ຈໍານວນການເຊື່ອມຕໍ່ພ້ອມກັນກັບບັນນາທິການ ແມ່ນເກີນກໍານົດ % 1. ຕິດຕໍ່ ທີມຂາຍ %1 ສຳລັບຂໍ້ກຳນົດການຍົກລະດັບສິດ",
|
||||
"warnProcessRightsChange": "ທ່ານບໍ່ມີສິດໃນການແກ້ໄຂໄຟລ໌ນີ້."
|
||||
"warnProcessRightsChange": "ທ່ານບໍ່ມີສິດໃນການແກ້ໄຂໄຟລ໌ນີ້.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnNoLicenseUsers": "U heeft de gebruikerslimiet voor %1 gelijktijdige gebruikers bereikt. Neem contact op met de verkoopafdeling voor persoonlijke upgradevoorwaarden.",
|
||||
"warnProcessRightsChange": "Je hebt geen toestemming om het bestand te bewerken.",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}"
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Atingiu o limite de %1 editores. Contacte o seu administrador para obter detalhes.",
|
||||
"warnNoLicense": "Atingiu o limite de ligações simultâneas a %1 editores. Este documento será aberto apenas para visualização. Contacte a %1 equipa de vendas para consultar os termos de atualização para si.",
|
||||
"warnNoLicenseUsers": "Atingiu o limite de %1 editores. Contacte a equipa comercial %1 para obter mais informações.",
|
||||
"warnProcessRightsChange": "Não tem autorização para editar este ficheiro."
|
||||
"warnProcessRightsChange": "Não tem autorização para editar este ficheiro.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Você atingiu o limite de usuários para editores %1. Entre em contato com seu administrador para saber mais.",
|
||||
"warnNoLicense": "Você atingiu o limite de conexões simultâneas para% 1 editores. Este documento será aberto apenas para visualização. Contate a equipe de vendas% 1 para termos de atualização pessoal.",
|
||||
"warnNoLicenseUsers": "Você atingiu o limite de usuários para editores %1.<br>Entre em contato com a equipe de vendas da %1 para obter os termos de atualização pessoais.",
|
||||
"warnProcessRightsChange": "Você não tem permissão para editar o arquivo."
|
||||
"warnProcessRightsChange": "Você não tem permissão para editar o arquivo.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Ați atins numărul maxim de utilizatori ai %1 editoare. Pentru detalii, contactați administratorul dvs.",
|
||||
"warnNoLicense": "Ați atins numărul maxim de conexiuni simultane la %1 de editoare. Documentul este disponibil numai pentru vizualizare. Contactați %1 Departamentul de Vânzări pentru acordarea condițiilor personale de actualizare.",
|
||||
"warnNoLicenseUsers": "Ați atins numărul maxim de utilizatori ai %1 editoare. Contactați Grup Vânzări %1 pentru acordarea condițiilor personale de licențiere.",
|
||||
"warnProcessRightsChange": "Nu aveți permisiunea de editare pentru fișier."
|
||||
"warnProcessRightsChange": "Nu aveți permisiunea de editare pentru fișier.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Вы достигли лимита на количество пользователей редакторов %1. Свяжитесь с администратором, чтобы узнать больше.",
|
||||
"warnNoLicense": "Вы достигли лимита на одновременные подключения к редакторам %1. Этот документ будет открыт на просмотр. Напишите в отдел продаж %1, чтобы обсудить индивидуальные условия обновления.",
|
||||
"warnNoLicenseUsers": "Вы достигли лимита на количество пользователей редакторов %1. Напишите в отдел продаж %1, чтобы обсудить индивидуальные условия обновления.",
|
||||
"warnProcessRightsChange": "У вас нет прав на редактирование этого файла."
|
||||
"warnProcessRightsChange": "У вас нет прав на редактирование этого файла.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "Dosiahli ste limit %1 editora v režime spolupráce na úpravách. Ohľadne podrobnosti sa obráťte na svojho správcu. ",
|
||||
"warnNoLicense": "Dosiahli ste limit pre simultánne pripojenia k %1 editorom. Tento dokument sa otvorí iba na prezeranie. Kontaktujte predajný tím %1 pre osobné podmienky inovácie.",
|
||||
"warnNoLicenseUsers": "Dosiahli ste limit %1 editora. Pre rozšírenie funkcií kontaktujte %1 obchodné oddelenie.",
|
||||
"warnProcessRightsChange": "Nemáte povolenie na úpravu súboru."
|
||||
"warnProcessRightsChange": "Nemáte povolenie na úpravu súboru.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -398,7 +398,8 @@
|
|||
"warnLicenseUsersExceeded": "You've reached the user limit for %1 editors. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnProcessRightsChange": "Dosyayı düzenleme izniniz yok.",
|
||||
"textNoTextFound": "Text not found",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}"
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "You've reached the user limit for %1 editors. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found"
|
||||
"textNoTextFound": "Text not found",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "您已達到%1個編輯器的用戶限制。請與您的管理員聯繫以了解更多信息。",
|
||||
"warnNoLicense": "您已達到同時連接到 %1 編輯器的限制。此文件將只提供檢視。有關個人升級條款,請聯繫 %1 業務團隊。",
|
||||
"warnNoLicenseUsers": "您已達到%1個編輯器的用戶限制。與%1銷售團隊聯繫以了解個人升級條款。",
|
||||
"warnProcessRightsChange": "您沒有編輯此文件的權限。"
|
||||
"warnProcessRightsChange": "您沒有編輯此文件的權限。",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -126,7 +126,8 @@
|
|||
"warnLicenseUsersExceeded": "你触发了 %1 编辑器的同时在线数限制。可联系管理员来了解更多信息。",
|
||||
"warnNoLicense": "你已经触发了 %1 编辑器的同时在线数限制. 该文档打开后,你将只能查看。请联系 %1 的销售团队,获取个人升级条款。",
|
||||
"warnNoLicenseUsers": "你触发了 %1 编辑器的同时在线数限制。可联系管理员来了解更多信息。",
|
||||
"warnProcessRightsChange": "你没有编辑文件的权限。"
|
||||
"warnProcessRightsChange": "你没有编辑文件的权限。",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -44,6 +44,7 @@ class MainController extends Component {
|
|||
};
|
||||
|
||||
this.defaultTitleText = __APP_TITLE_TEXT__;
|
||||
this.stackMacrosRequests = [];
|
||||
|
||||
const { t } = this.props;
|
||||
this._t = t('Controller.Main', {returnObjects:true});
|
||||
|
@ -92,6 +93,9 @@ class MainController extends Component {
|
|||
value = parseInt(value);
|
||||
}
|
||||
this.props.storeApplicationSettings.changeMacrosSettings(value);
|
||||
|
||||
value = localStorage.getItem("pe-mobile-allow-macros-request");
|
||||
this.props.storeApplicationSettings.changeMacrosRequest((value !== null) ? parseInt(value) : 0);
|
||||
};
|
||||
|
||||
const loadDocument = data => {
|
||||
|
@ -139,6 +143,7 @@ class MainController extends Component {
|
|||
|
||||
this.api.asc_registerCallback('asc_onGetEditorPermissions', onEditorPermissions);
|
||||
this.api.asc_registerCallback('asc_onLicenseChanged', this.onLicenseChanged.bind(this));
|
||||
this.api.asc_registerCallback('asc_onMacrosPermissionRequest', this.onMacrosPermissionRequest.bind(this));
|
||||
this.api.asc_registerCallback('asc_onRunAutostartMacroses', this.onRunAutostartMacroses.bind(this));
|
||||
this.api.asc_setDocInfo(docInfo);
|
||||
this.api.asc_getEditorPermissions(this.editorConfig.licenseUrl, this.editorConfig.customerId);
|
||||
|
@ -819,6 +824,70 @@ class MainController extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
onMacrosPermissionRequest (url, callback) {
|
||||
if (url && callback) {
|
||||
this.stackMacrosRequests.push({url: url, callback: callback});
|
||||
if (this.stackMacrosRequests.length>1) {
|
||||
return;
|
||||
}
|
||||
} else if (this.stackMacrosRequests.length>0) {
|
||||
url = this.stackMacrosRequests[0].url;
|
||||
callback = this.stackMacrosRequests[0].callback;
|
||||
} else
|
||||
return;
|
||||
|
||||
const value = this.props.storeApplicationSettings.macrosRequest;
|
||||
if (value>0) {
|
||||
callback && callback(value === 1);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
} else {
|
||||
const { t } = this.props;
|
||||
const _t = t('Controller.Main', {returnObjects:true});
|
||||
f7.dialog.create({
|
||||
title: _t.notcriticalErrorTitle,
|
||||
text: _t.textRequestMacros.replace('%1', url),
|
||||
cssClass: 'dlg-macros-request',
|
||||
content: `<div class="checkbox-in-modal">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="checkbox-show-macros" />
|
||||
<i class="icon-checkbox"></i>
|
||||
</label>
|
||||
<span class="right-text">${_t.textRemember}</span>
|
||||
</div>`,
|
||||
buttons: [{
|
||||
text: _t.textYes,
|
||||
onClick: () => {
|
||||
const dontshow = $$('input[name="checkbox-show-macros"]').prop('checked');
|
||||
if (dontshow) {
|
||||
this.props.storeApplicationSettings.changeMacrosRequest(1);
|
||||
LocalStorage.setItem("pe-mobile-allow-macros-request", 1);
|
||||
}
|
||||
setTimeout(() => {
|
||||
if (callback) callback(true);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
}, 1);
|
||||
}},
|
||||
{
|
||||
text: _t.textNo,
|
||||
onClick: () => {
|
||||
const dontshow = $$('input[name="checkbox-show-macros"]').prop('checked');
|
||||
if (dontshow) {
|
||||
this.props.storeApplicationSettings.changeMacrosRequest(2);
|
||||
LocalStorage.setItem("pe-mobile-allow-macros-request", 2);
|
||||
}
|
||||
setTimeout(() => {
|
||||
if (callback) callback(false);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
}, 1);
|
||||
}
|
||||
}]
|
||||
}).open();
|
||||
}
|
||||
}
|
||||
|
||||
onProcessSaveResult (data) {
|
||||
this.api.asc_OnSaveEnd(data.result);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' data: blob:">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: blob:">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
|
||||
|
||||
<meta name="theme-color" content="#007aff">
|
||||
|
|
|
@ -6,15 +6,18 @@ export class storeApplicationSettings {
|
|||
unitMeasurement: observable,
|
||||
isSpellChecking: observable,
|
||||
macrosMode: observable,
|
||||
macrosRequest: observable,
|
||||
changeUnitMeasurement: action,
|
||||
changeSpellCheck: action,
|
||||
changeMacrosSettings: action
|
||||
changeMacrosSettings: action,
|
||||
changeMacrosRequest: action
|
||||
});
|
||||
}
|
||||
|
||||
unitMeasurement = 1;
|
||||
isSpellChecking = true;
|
||||
macrosMode = 0;
|
||||
macrosRequest = 0;
|
||||
|
||||
changeUnitMeasurement(value) {
|
||||
this.unitMeasurement = +value;
|
||||
|
@ -27,4 +30,8 @@ export class storeApplicationSettings {
|
|||
changeMacrosSettings(value) {
|
||||
this.macrosMode = +value;
|
||||
}
|
||||
|
||||
changeMacrosRequest(value) {
|
||||
this.macrosRequest = value;
|
||||
}
|
||||
}
|
|
@ -230,7 +230,7 @@ define([
|
|||
strongCompare : this._compareActionWeak,
|
||||
weakCompare : this._compareActionWeak
|
||||
});
|
||||
|
||||
this.stackMacrosRequests = [];
|
||||
this.isShowOpenDialog = false;
|
||||
|
||||
// Initialize api gateway
|
||||
|
@ -463,6 +463,9 @@ define([
|
|||
value = parseInt(value);
|
||||
Common.Utils.InternalSettings.set("sse-macros-mode", value);
|
||||
|
||||
value = Common.localStorage.getItem("sse-allow-macros-request");
|
||||
Common.Utils.InternalSettings.set("sse-allow-macros-request", (value !== null) ? parseInt(value) : 0);
|
||||
|
||||
this.appOptions.wopi = this.editorConfig.wopi;
|
||||
|
||||
this.isFrameClosed = (this.appOptions.isEditDiagram || this.appOptions.isEditMailMerge || this.appOptions.isEditOle);
|
||||
|
@ -520,6 +523,7 @@ define([
|
|||
|
||||
this.api.asc_registerCallback('asc_onGetEditorPermissions', _.bind(this.onEditorPermissions, this));
|
||||
this.api.asc_registerCallback('asc_onLicenseChanged', _.bind(this.onLicenseChanged, this));
|
||||
this.api.asc_registerCallback('asc_onMacrosPermissionRequest', _.bind(this.onMacrosPermissionRequest, this));
|
||||
this.api.asc_registerCallback('asc_onRunAutostartMacroses', _.bind(this.onRunAutostartMacroses, this));
|
||||
this.api.asc_setDocInfo(docInfo);
|
||||
this.api.asc_getEditorPermissions(this.editorConfig.licenseUrl, this.editorConfig.customerId);
|
||||
|
@ -2841,6 +2845,47 @@ define([
|
|||
}
|
||||
},
|
||||
|
||||
onMacrosPermissionRequest: function(url, callback) {
|
||||
if (url && callback) {
|
||||
this.stackMacrosRequests.push({url: url, callback: callback});
|
||||
if (this.stackMacrosRequests.length>1) {
|
||||
return;
|
||||
}
|
||||
} else if (this.stackMacrosRequests.length>0) {
|
||||
url = this.stackMacrosRequests[0].url;
|
||||
callback = this.stackMacrosRequests[0].callback;
|
||||
} else
|
||||
return;
|
||||
|
||||
var me = this;
|
||||
var value = Common.Utils.InternalSettings.get("sse-allow-macros-request");
|
||||
if (value>0) {
|
||||
callback && callback(value === 1);
|
||||
this.stackMacrosRequests.shift();
|
||||
this.onMacrosPermissionRequest();
|
||||
} else {
|
||||
Common.UI.warning({
|
||||
msg: this.textRequestMacros.replace('%1', url),
|
||||
buttons: ['yes', 'no'],
|
||||
primary: 'yes',
|
||||
dontshow: true,
|
||||
textDontShow: this.textRememberMacros,
|
||||
maxwidth: 600,
|
||||
callback: function(btn, dontshow){
|
||||
if (dontshow) {
|
||||
Common.Utils.InternalSettings.set("sse-allow-macros-request", (btn == 'yes') ? 1 : 2);
|
||||
Common.localStorage.setItem("sse-allow-macros-request", (btn == 'yes') ? 1 : 2);
|
||||
}
|
||||
setTimeout(function() {
|
||||
if (callback) callback(btn == 'yes');
|
||||
me.stackMacrosRequests.shift();
|
||||
me.onMacrosPermissionRequest();
|
||||
}, 1);
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
loadAutoCorrectSettings: function() {
|
||||
// autocorrection
|
||||
var me = this;
|
||||
|
@ -3537,7 +3582,9 @@ define([
|
|||
textFormulaFilledFirstRowsOtherIsEmpty: 'Formula filled only first {0} rows by memory save reason. Other rows in this sheet don\'t have data.',
|
||||
textFormulaFilledFirstRowsOtherHaveData: 'Formula filled only first {0} rows have data by memory save reason. There are other {1} rows have data in this sheet. You can fill them manually.',
|
||||
textReconnect: 'Connection is restored',
|
||||
errorCannotUseCommandProtectedSheet: 'You cannot use this command on a protected sheet. To use this command, unprotect the sheet.<br>You might be requested to enter a password.'
|
||||
errorCannotUseCommandProtectedSheet: 'You cannot use this command on a protected sheet. To use this command, unprotect the sheet.<br>You might be requested to enter a password.',
|
||||
textRequestMacros: 'A macro makes a request to URL. Do you want to allow the request to the %1?',
|
||||
textRememberMacros: 'Remember my choice for all macros'
|
||||
}
|
||||
})(), SSE.Controllers.Main || {}))
|
||||
});
|
||||
|
|
|
@ -788,6 +788,7 @@
|
|||
"SSE.Controllers.Main.textPleaseWait": "The operation might take more time than expected. Please wait...",
|
||||
"SSE.Controllers.Main.textReconnect": "Connection is restored",
|
||||
"SSE.Controllers.Main.textRemember": "Remember my choice for all files",
|
||||
"SSE.Controllers.Main.textRememberMacros": "Remember my choice for all macros",
|
||||
"SSE.Controllers.Main.textRenameError": "User name must not be empty.",
|
||||
"SSE.Controllers.Main.textRenameLabel": "Enter a name to be used for collaboration",
|
||||
"SSE.Controllers.Main.textShape": "Shape",
|
||||
|
@ -1063,6 +1064,7 @@
|
|||
"SSE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.<br>Contact %1 sales team for personal upgrade terms.",
|
||||
"SSE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"SSE.Controllers.Main.textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?",
|
||||
"SSE.Controllers.Print.strAllSheets": "All Sheets",
|
||||
"SSE.Controllers.Print.textFirstCol": "First column",
|
||||
"SSE.Controllers.Print.textFirstRow": "First row",
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"textNoTextFound": "Text not found",
|
||||
"textOk": "Ok",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}"
|
||||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "You've reached the user limit for %1 editors. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found",
|
||||
"errorOpensource": "Using the free Community version, you can open documents for viewing only. To access mobile web editors, a commercial license is required."
|
||||
"errorOpensource": "Using the free Community version, you can open documents for viewing only. To access mobile web editors, a commercial license is required.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Heu arribat al límit d'usuaris per a %1 editors. Contacteu amb el vostre administrador per a més informació.",
|
||||
"warnNoLicense": "Heu arribat al límit de connexions simultànies a %1 editors. Aquest document només s'obrirà en mode lectura. Contacteu amb l'equip de vendes %1 per a les condicions d'una actualització personal.",
|
||||
"warnNoLicenseUsers": "Heu arribat al límit d'usuaris per a %1 editors. Contacteu amb l'equip de vendes de %1 per obtenir les condicions de millora personals dels vostres serveis.",
|
||||
"warnProcessRightsChange": "No teniu permís per editar el fitxer."
|
||||
"warnProcessRightsChange": "No teniu permís per editar el fitxer.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Došlo dosažení limitu %1 editorů v režimu spolupráce na úpravách. Ohledně podrobností se obraťte na svého správce.",
|
||||
"warnNoLicense": "Došlo k dosažení limitu souběžného připojení %1 editorů. Tento dokument bude otevřen pouze pro náhled. Pro rozšíření funkcí kontaktujte %1 obchodní oddělení.",
|
||||
"warnNoLicenseUsers": "Došlo k dosažení limitu %1 editorů. Pro rozšíření funkcí kontaktujte %1 obchodní oddělení.",
|
||||
"warnProcessRightsChange": "Nemáte oprávnění pro úpravu tohoto dokumentu."
|
||||
"warnProcessRightsChange": "Nemáte oprávnění pro úpravu tohoto dokumentu.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseExceeded": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Sie haben das Benutzerlimit für %1-Editoren erreicht. Bitte wenden Sie sich an Ihren Administrator, um weitere Informationen zu erhalten.",
|
||||
"warnNoLicense": "Sie haben die maximale Anzahl von gleichzeitigen Verbindungen in %1-Editoren erreicht. Die Bearbeitung ist jetzt in diesem Dokument nicht verfügbar. Bitte kontaktieren Sie unser Verkaufsteam, um persönliche Upgrade-Bedingungen zu erhalten.",
|
||||
"warnNoLicenseUsers": "Sie haben das Benutzerlimit für %1-Editoren erreicht. Bitte kontaktieren Sie unser Verkaufsteam, um persönliche Upgrade-Bedingungen zu erhalten.",
|
||||
"warnProcessRightsChange": "Sie können diese Datei nicht bearbeiten."
|
||||
"warnProcessRightsChange": "Sie können diese Datei nicht bearbeiten.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Έχετε φτάσει το όριο χρήστη για συντάκτες %1.<br>Επικοινωνήστε με τον διαχειριστή σας για περισσότερες πληροφορίες.",
|
||||
"warnNoLicense": "Φτάσατε το όριο ταυτόχρονων συνδέσεων σε %1 συντάκτες. Το έγγραφο θα ανοίξει μόνο για ανάγνωση. Επικοινωνήστε με την ομάδα πωλήσεων %1 για τους όρους αναβάθμισης.",
|
||||
"warnNoLicenseUsers": "Έχετε φτάσει το όριο χρήστη για συντάκτες %1.<br>Επικοινωνήστε με την ομάδα πωλήσεων %1 για προσωπικούς όρους αναβάθμισης.",
|
||||
"warnProcessRightsChange": "Δεν έχετε δικαίωμα επεξεργασίας του αρχείου."
|
||||
"warnProcessRightsChange": "Δεν έχετε δικαίωμα επεξεργασίας του αρχείου.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "You've reached the user limit for %1 editors. Contact your administrator to learn more.",
|
||||
"warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file."
|
||||
"warnProcessRightsChange": "You don't have permission to edit the file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Ha alcanzado el límite de usuarios para %1 editores. Póngase en contacto con su administrador para saber más.",
|
||||
"warnNoLicense": "Ha alcanzado el límite de conexiones simultáneas con %1 editores. Este documento se abrirá sólo para su visualización. Póngase en contacto con el equipo de ventas de %1 para conocer las condiciones de actualización personal.",
|
||||
"warnNoLicenseUsers": "Ha alcanzado el límite de usuarios para %1 editores. Póngase en contacto con el equipo de ventas de %1 para conocer las condiciones de actualización personal.",
|
||||
"warnProcessRightsChange": "No tiene permiso para editar el archivo."
|
||||
"warnProcessRightsChange": "No tiene permiso para editar el archivo.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Vous avez dépassé le nombre maximal d’utilisateurs des éditeurs %1. Pour en savoir plus, contactez votre administrateur.",
|
||||
"warnNoLicense": "Vous avez dépassé le nombre maximal de connexions simultanées aux éditeurs %1. Ce document sera ouvert en lecture seule. Contactez l’équipe des ventes %1 pour mettre à jour les termes de la licence.",
|
||||
"warnNoLicenseUsers": "Vous avez dépassé le nombre maximal d’utilisateurs des éditeurs %1. Contactez l’équipe des ventes %1 pour mettre à jour les termes de la licence.",
|
||||
"warnProcessRightsChange": "Vous n'avez pas la permission de modifier ce fichier."
|
||||
"warnProcessRightsChange": "Vous n'avez pas la permission de modifier ce fichier.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Alcanzou o límite de usuarios para os editores de %1. Por favor, contacte co se uadministrador para recibir máis información.",
|
||||
"warnNoLicense": "Alcanzou o límite de conexións simultáneas con %1 editores. Este documento abrirase para as úa visualización. Póñase en contacto co equipo de vendas de %1 para coñecer as condicións de actualización persoal.",
|
||||
"warnNoLicenseUsers": "Alcanzou o límite de usuarios para os editores de %1.<br>Contacte co equipo de vendas de %1 para coñecer os termos de actualización persoal.",
|
||||
"warnProcessRightsChange": "Non ten permiso para editar o ficheiro."
|
||||
"warnProcessRightsChange": "Non ten permiso para editar o ficheiro.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Elérte a(z) %1 szerkesztőhöz tartozó felhasználói korlátját. További információért forduljon rendszergazdájához.",
|
||||
"warnNoLicense": "Elérte a(z) %1 szerkesztővel való egyidejű kapcsolódási korlátot. Ez a dokumentum csak megtekintésre nyílik meg. Lépjen kapcsolatba a(z) %1 értékesítési csapattal a személyes frissítés feltételekért.",
|
||||
"warnNoLicenseUsers": "Elérte a(z) %1 szerkesztőhöz tartozó felhasználói korlátját. Vegye fel a kapcsolatot a(z) %1 értékesítési csapattal a személyes frissítési feltételekért.",
|
||||
"warnProcessRightsChange": "Nincs engedélye a fájl szerkesztésére."
|
||||
"warnProcessRightsChange": "Nincs engedélye a fájl szerkesztésére.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Anda sudah mencapai batas user untuk %1 editor. Hubungi admin Anda untuk mempelajari lebih lanjut.",
|
||||
"warnNoLicense": "Anda sudah mencapai batas untuk koneksi bersamaan ke %1 editor. Dokumen ini akan dibuka untuk dilihat saja. Hubungi %1 tim sales untuk syarat personal upgrade.",
|
||||
"warnNoLicenseUsers": "Anda sudah mencapai batas user untuk %1 editor. Hubungi %1 tim sales untuk syarat personal upgrade.",
|
||||
"warnProcessRightsChange": "Anda tidak memiliki izin edit file ini."
|
||||
"warnProcessRightsChange": "Anda tidak memiliki izin edit file ini.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "Hai raggiunto il limite degli utenti per gli editor %1. Ti preghiamo di contattare il tuo amministratore per maggior informazioni.",
|
||||
"warnNoLicense": "Hai raggiunto il limite delle connessioni simultanee agli editor %1. Questo documento sarà aperto solo in modalità di visualizzazione. Ti preghiamo di contattare il team di vendite di %1 per i termini di aggiornamento personali.",
|
||||
"warnNoLicenseUsers": "Hai raggiunto il limite degli utenti per gli editor %1. Ti preghiamo di contattare il team di vendite di %1 per i termini di aggiornamento personali.",
|
||||
"warnProcessRightsChange": "Non hai il permesso di modificare il file."
|
||||
"warnProcessRightsChange": "Non hai il permesso di modificare il file.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "%1エディターのユーザー制限に達しました。 詳細についてはアドミニストレータを連絡してください。",
|
||||
"warnNoLicense": "%1エディター 時接続数の制限に達しました。この文書が見るだけのために開かれる。個人的なアップグレード条件については、%1営業チームを連絡してください。",
|
||||
"warnNoLicenseUsers": "%1エディターのユーザー制限に達しました。 個人的なアップグレード条件については、%1営業チームを連絡してください。",
|
||||
"warnProcessRightsChange": "ファイルを編集する権限がありません!"
|
||||
"warnProcessRightsChange": "ファイルを編集する権限がありません!",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "편집자 사용자 한도인 %1명에 도달했습니다. 자세한 내용은 관리자에게 문의하십시오.",
|
||||
"warnNoLicense": "% 1 편집 연결 수 제한에 도달했습니다. 이 문서는 보기 모드로 열립니다. 개인적인 업그레이드 사항은 % 1 영업팀에 연락하십시오.",
|
||||
"warnNoLicenseUsers": "ONLYOFFICE 편집자의이 버전은 동시 사용자에게 일정한 제한이 있습니다. <br> 더 필요한 것이 있으면 현재 라이센스를 업그레이드하거나 상용 라이센스를 구입하십시오.",
|
||||
"warnProcessRightsChange": "파일을 수정할 수 있는 권한이 없습니다."
|
||||
"warnProcessRightsChange": "파일을 수정할 수 있는 권한이 없습니다.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"warnLicenseUsersExceeded": "ຈໍານວນ ການເຊື່ອມຕໍ່ພ້ອມກັນກັບຜູ້ແກ້ໄຂ ແມ່ນເກີນກໍານົດ % 1. ຕິດຕໍ່ ທີມບໍລິຫານເພື່ອຂໍ້ມູນເພີ່ມເຕີ່ມ",
|
||||
"warnNoLicense": "ທ່ານໄດ້ຖືກຈຳກັດສິດພຽງເທົ່ານີ້ສຳຫລັບການເຊື່່ອມພ້ອມກັນກັບເຄື່ອງມືແກ້ໄຂ %1 ແລ້ວເອກະສານນີ້ຈະເປີດໃຫ້ເບີ່ງເທົ່ານັ້ນ ຕິດຕໍ່ທີມຂາຍ %1 ສຳຫລັບເງື່ອນໄຂການອັບເກດສ່ວນບຸກຄົນ",
|
||||
"warnNoLicenseUsers": "ຈໍານວນ ການເຊື່ອມຕໍ່ພ້ອມກັນກັບບັນນາທິການ ແມ່ນເກີນກໍານົດ % 1. ຕິດຕໍ່ ທີມຂາຍ% 1 ສຳ ລັບຂໍ້ ກຳນົດການຍົກລະດັບສິດ",
|
||||
"warnProcessRightsChange": "ທ່ານບໍ່ມີສິດໃນການແກ້ໄຂໄຟລ໌ນີ້."
|
||||
"warnProcessRightsChange": "ທ່ານບໍ່ມີສິດໃນການແກ້ໄຂໄຟລ໌ນີ້.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found",
|
||||
"errorOpensource": "Using the free Community version, you can open documents for viewing only. To access mobile web editors, a commercial license is required."
|
||||
"errorOpensource": "Using the free Community version, you can open documents for viewing only. To access mobile web editors, a commercial license is required.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
|
@ -160,7 +160,8 @@
|
|||
"textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
|
||||
"textNoTextFound": "Text not found",
|
||||
"errorOpensource": "Using the free Community version, you can open documents for viewing only. To access mobile web editors, a commercial license is required."
|
||||
"errorOpensource": "Using the free Community version, you can open documents for viewing only. To access mobile web editors, a commercial license is required.",
|
||||
"textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?"
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue