[all] extend production tags
This commit is contained in:
parent
6cbbcac0db
commit
6ccb00be8e
|
@ -287,6 +287,7 @@ define([
|
|||
});
|
||||
}
|
||||
|
||||
me.defaultTitleText = me.defaultTitleText || '{{APP_TITLE_TEXT}}';
|
||||
me.warnNoLicense = me.warnNoLicense.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.warnNoLicenseUsers = me.warnNoLicenseUsers.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.textNoLicenseTitle = me.textNoLicenseTitle.replace('%1', '{{COMPANY_NAME}}');
|
||||
|
@ -2197,7 +2198,6 @@ define([
|
|||
},
|
||||
|
||||
leavePageText: 'You have unsaved changes in this document. Click \'Stay on this Page\' then \'Save\' to save them. Click \'Leave this Page\' to discard all the unsaved changes.',
|
||||
defaultTitleText: 'ONLYOFFICE Document Editor',
|
||||
criticalErrorTitle: 'Error',
|
||||
notcriticalErrorTitle: 'Warning',
|
||||
errorDefaultMessage: 'Error code: %1',
|
||||
|
|
|
@ -326,7 +326,7 @@
|
|||
"DE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
"DE.Controllers.Main.criticalErrorExtText": "Press \"OK\" to return to document list.",
|
||||
"DE.Controllers.Main.criticalErrorTitle": "Error",
|
||||
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
|
||||
"del_DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
|
||||
"DE.Controllers.Main.downloadErrorText": "Download failed.",
|
||||
"DE.Controllers.Main.downloadMergeText": "Downloading...",
|
||||
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
|
||||
|
@ -335,7 +335,7 @@
|
|||
"DE.Controllers.Main.errorAccessDeny": "You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.",
|
||||
"DE.Controllers.Main.errorBadImageUrl": "Image URL is incorrect",
|
||||
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. The document cannot be edited right now.",
|
||||
"DE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>",
|
||||
"DE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>",
|
||||
"DE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
||||
"DE.Controllers.Main.errorDataEncrypted": "Encrypted changes have been received, they cannot be deciphered.",
|
||||
"DE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||
|
@ -401,7 +401,7 @@
|
|||
"DE.Controllers.Main.textContactUs": "Contact sales",
|
||||
"DE.Controllers.Main.textLicencePaidFeature": "The feature you are trying to use is available for extended license.<br>If you need it, please contact Sales Department",
|
||||
"DE.Controllers.Main.textLoadingDocument": "Loading document",
|
||||
"DE.Controllers.Main.textNoLicenseTitle": "ONLYOFFICE connection limitation",
|
||||
"DE.Controllers.Main.textNoLicenseTitle": "%1 connection limitation",
|
||||
"DE.Controllers.Main.textPaidFeature": "Paid feature",
|
||||
"DE.Controllers.Main.textShape": "Shape",
|
||||
"DE.Controllers.Main.textStrict": "Strict mode",
|
||||
|
@ -469,8 +469,8 @@
|
|||
"DE.Controllers.Main.warnLicenseExceeded": "The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"DE.Controllers.Main.warnLicenseExp": "Your license has expired.<br>Please update your license and refresh the page.",
|
||||
"DE.Controllers.Main.warnLicenseUsersExceeded": "The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"DE.Controllers.Main.warnNoLicense": "This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"DE.Controllers.Main.warnNoLicenseUsers": "This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"DE.Controllers.Main.warnNoLicense": "This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"DE.Controllers.Main.warnNoLicenseUsers": "This version of %1 editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"DE.Controllers.Main.txtShape_textRect": "Text Box",
|
||||
"DE.Controllers.Main.txtShape_rect": "Rectangle",
|
||||
|
|
|
@ -180,7 +180,7 @@ require([
|
|||
//Store Framework7 initialized instance for easy access
|
||||
window.uiApp = new Framework7({
|
||||
// Default title for modals
|
||||
modalTitle: 'ONLYOFFICE',
|
||||
modalTitle: '{{MOBILE_MODAL_TITLE}}',
|
||||
|
||||
// Enable tap hold events
|
||||
tapHold: true,
|
||||
|
|
|
@ -183,6 +183,11 @@ define([
|
|||
});
|
||||
Common.Gateway.internalMessage('listenHardBack');
|
||||
}
|
||||
|
||||
me.defaultTitleText = me.defaultTitleText || '{{APP_TITLE_TEXT}}';
|
||||
me.warnNoLicense = me.warnNoLicense.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.warnNoLicenseUsers = me.warnNoLicenseUsers.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.textNoLicenseTitle = me.textNoLicenseTitle.replace('%1', '{{COMPANY_NAME}}');
|
||||
},
|
||||
|
||||
loadConfig: function(data) {
|
||||
|
@ -767,7 +772,7 @@ define([
|
|||
if (msg && msg.msg) {
|
||||
msg.msg = (msg.msg).toString();
|
||||
uiApp.addNotification({
|
||||
title: 'ONLYOFFICE',
|
||||
title: uiApp.params.modalTitle,
|
||||
message: [msg.msg.charAt(0).toUpperCase() + msg.msg.substring(1)]
|
||||
});
|
||||
|
||||
|
@ -887,7 +892,7 @@ define([
|
|||
break;
|
||||
|
||||
case Asc.c_oAscError.ID.Warning:
|
||||
config.msg = this.errorConnectToServer;
|
||||
config.msg = this.errorConnectToServer.replace('%1', '{{API_URL_EDITING_CALLBACK}}');
|
||||
break;
|
||||
|
||||
case Asc.c_oAscError.ID.UplImageUrl:
|
||||
|
@ -1250,7 +1255,6 @@ define([
|
|||
},
|
||||
|
||||
leavePageText: 'You have unsaved changes in this document. Click \'Stay on this Page\' to await the autosave of the document. Click \'Leave this Page\' to discard all the unsaved changes.',
|
||||
defaultTitleText: 'ONLYOFFICE Document Editor',
|
||||
criticalErrorTitle: 'Error',
|
||||
notcriticalErrorTitle: 'Warning',
|
||||
errorDefaultMessage: 'Error code: %1',
|
||||
|
@ -1318,10 +1322,10 @@ define([
|
|||
sendMergeTitle: 'Sending Merge',
|
||||
sendMergeText: 'Sending Merge...',
|
||||
txtArt: 'Your text here',
|
||||
errorConnectToServer: ' The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the \'OK\' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>',
|
||||
errorConnectToServer: ' The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the \'OK\' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>',
|
||||
textTryUndoRedo: 'The Undo/Redo functions are disabled for the Fast co-editing mode.',
|
||||
textBuyNow: 'Visit website',
|
||||
textNoLicenseTitle: 'ONLYOFFICE open source version',
|
||||
textNoLicenseTitle: '%1 open source version',
|
||||
textContactUs: 'Contact sales',
|
||||
errorViewerDisconnect: 'Connection is lost. You can still view the document,<br>but will not be able to download until the connection is restored.',
|
||||
warnLicenseExp: 'Your license has expired.<br>Please update your license and refresh the page.',
|
||||
|
@ -1363,8 +1367,8 @@ define([
|
|||
txtHeader: "Header",
|
||||
txtFooter: "Footer",
|
||||
txtProtected: 'Once you enter the password and open the file, the current password to the file will be reset',
|
||||
warnNoLicense: 'This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicense: 'This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of %1 editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnLicenseExceeded: 'The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
warnLicenseUsersExceeded: 'The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.',
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
"DE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
"DE.Controllers.Main.criticalErrorExtText": "Press 'OK' to return to document list.",
|
||||
"DE.Controllers.Main.criticalErrorTitle": "Error",
|
||||
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
|
||||
"del_DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
|
||||
"DE.Controllers.Main.downloadErrorText": "Download failed.",
|
||||
"DE.Controllers.Main.downloadMergeText": "Downloading...",
|
||||
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
|
||||
|
@ -61,7 +61,7 @@
|
|||
"DE.Controllers.Main.errorAccessDeny": "You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.",
|
||||
"DE.Controllers.Main.errorBadImageUrl": "Image URL is incorrect",
|
||||
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. You can't edit anymore.",
|
||||
"DE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>",
|
||||
"DE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>",
|
||||
"DE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please, contact support.",
|
||||
"DE.Controllers.Main.errorDataEncrypted": "Encrypted changes have been received, they cannot be deciphered.",
|
||||
"DE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||
|
@ -116,7 +116,7 @@
|
|||
"DE.Controllers.Main.textContactUs": "Contact sales",
|
||||
"DE.Controllers.Main.textDone": "Done",
|
||||
"DE.Controllers.Main.textLoadingDocument": "Loading document",
|
||||
"DE.Controllers.Main.textNoLicenseTitle": "ONLYOFFICE connection limitation",
|
||||
"DE.Controllers.Main.textNoLicenseTitle": "%1 connection limitation",
|
||||
"DE.Controllers.Main.textOK": "OK",
|
||||
"DE.Controllers.Main.textPassword": "Password",
|
||||
"DE.Controllers.Main.textPreloader": "Loading... ",
|
||||
|
@ -161,8 +161,8 @@
|
|||
"DE.Controllers.Main.warnLicenseExceeded": "The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"DE.Controllers.Main.warnLicenseExp": "Your license has expired.<br>Please update your license and refresh the page.",
|
||||
"DE.Controllers.Main.warnLicenseUsersExceeded": "The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"DE.Controllers.Main.warnNoLicense": "This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"DE.Controllers.Main.warnNoLicenseUsers": "This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"DE.Controllers.Main.warnNoLicense": "This version of %1 Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"DE.Controllers.Main.warnNoLicenseUsers": "This version of %1 Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"DE.Controllers.Search.textNoTextFound": "Text not Found",
|
||||
"DE.Controllers.Search.textReplaceAll": "Replace All",
|
||||
|
|
|
@ -272,6 +272,11 @@ define([
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
me.defaultTitleText = me.defaultTitleText || '{{APP_TITLE_TEXT}}';
|
||||
me.textNoLicenseTitle = me.textNoLicenseTitle.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.warnNoLicense = me.warnNoLicense.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.warnNoLicenseUsers = me.warnNoLicenseUsers.replace('%1', '{{COMPANY_NAME}}');
|
||||
},
|
||||
|
||||
loadConfig: function(data) {
|
||||
|
@ -1134,7 +1139,7 @@ define([
|
|||
break;
|
||||
|
||||
case Asc.c_oAscError.ID.Warning:
|
||||
config.msg = this.errorConnectToServer;
|
||||
config.msg = this.errorConnectToServer.replace('%1', '{{API_URL_EDITING_CALLBACK}}');
|
||||
config.closable = false;
|
||||
break;
|
||||
|
||||
|
@ -1942,7 +1947,6 @@ define([
|
|||
|
||||
// Translation
|
||||
leavePageText: 'You have unsaved changes in this document. Click \'Stay on this Page\' then \'Save\' to save them. Click \'Leave this Page\' to discard all the unsaved changes.',
|
||||
defaultTitleText: 'ONLYOFFICE Presentation Editor',
|
||||
criticalErrorTitle: 'Error',
|
||||
notcriticalErrorTitle: 'Warning',
|
||||
errorDefaultMessage: 'Error code: %1',
|
||||
|
@ -2055,11 +2059,11 @@ define([
|
|||
txtSeries: 'Seria',
|
||||
txtArt: 'Your text here',
|
||||
errorConnectToServer: ' The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the \'OK\' button, you will be prompted to download the document.<br><br>' +
|
||||
'Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>',
|
||||
'Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>',
|
||||
textTryUndoRedo: 'The Undo/Redo functions are disabled for the Fast co-editing mode.<br>Click the \'Strict mode\' button to switch to the Strict co-editing mode to edit the file without other users interference and send your changes only after you save them. You can switch between the co-editing modes using the editor Advanced settings.',
|
||||
textStrict: 'Strict mode',
|
||||
textBuyNow: 'Visit website',
|
||||
textNoLicenseTitle: 'ONLYOFFICE open source version',
|
||||
textNoLicenseTitle: '%1 open source version',
|
||||
textContactUs: 'Contact sales',
|
||||
errorViewerDisconnect: 'Connection is lost. You can still view the document,<br>but will not be able to download or print until the connection is restored.',
|
||||
warnLicenseExp: 'Your license has expired.<br>Please update your license and refresh the page.',
|
||||
|
@ -2105,8 +2109,8 @@ define([
|
|||
txtTheme_dotted: 'Dotted',
|
||||
txtTheme_corner: 'Corner',
|
||||
txtTheme_turtle: 'Turtle',
|
||||
warnNoLicense: 'This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicense: 'This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of %1 editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnLicenseExceeded: 'The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
warnLicenseUsersExceeded: 'The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.',
|
||||
|
|
|
@ -244,14 +244,14 @@
|
|||
"PE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
"PE.Controllers.Main.criticalErrorExtText": "Press \"OK\" to return to document list.",
|
||||
"PE.Controllers.Main.criticalErrorTitle": "Error",
|
||||
"PE.Controllers.Main.defaultTitleText": "ONLYOFFICE Presentation Editor",
|
||||
"del_PE.Controllers.Main.defaultTitleText": "ONLYOFFICE Presentation Editor",
|
||||
"PE.Controllers.Main.downloadErrorText": "Download failed.",
|
||||
"PE.Controllers.Main.downloadTextText": "Downloading presentation...",
|
||||
"PE.Controllers.Main.downloadTitleText": "Downloading Presentation",
|
||||
"PE.Controllers.Main.errorAccessDeny": "You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.",
|
||||
"PE.Controllers.Main.errorBadImageUrl": "Image URL is incorrect",
|
||||
"PE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. The document cannot be edited right now.",
|
||||
"PE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>",
|
||||
"PE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>",
|
||||
"PE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
||||
"PE.Controllers.Main.errorDataEncrypted": "Encrypted changes have been received, they cannot be deciphered.",
|
||||
"PE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||
|
@ -313,7 +313,7 @@
|
|||
"PE.Controllers.Main.textContactUs": "Contact sales",
|
||||
"PE.Controllers.Main.textLicencePaidFeature": "The feature you are trying to use is available for extended license.<br>If you need it, please contact Sales Department",
|
||||
"PE.Controllers.Main.textLoadingDocument": "Loading presentation",
|
||||
"PE.Controllers.Main.textNoLicenseTitle": "ONLYOFFICE connection limitation",
|
||||
"PE.Controllers.Main.textNoLicenseTitle": "%1 connection limitation",
|
||||
"PE.Controllers.Main.textPaidFeature": "Paid feature",
|
||||
"PE.Controllers.Main.textShape": "Shape",
|
||||
"PE.Controllers.Main.textStrict": "Strict mode",
|
||||
|
@ -410,8 +410,8 @@
|
|||
"PE.Controllers.Main.warnLicenseExceeded": "The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"PE.Controllers.Main.warnLicenseExp": "Your license has expired.<br>Please update your license and refresh the page.",
|
||||
"PE.Controllers.Main.warnLicenseUsersExceeded": "The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"PE.Controllers.Main.warnNoLicense": "This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"PE.Controllers.Main.warnNoLicenseUsers": "This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"PE.Controllers.Main.warnNoLicense": "This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"PE.Controllers.Main.warnNoLicenseUsers": "This version of %1 editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"PE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"PE.Controllers.Main.txtShape_textRect": "Text Box",
|
||||
"PE.Controllers.Main.txtShape_rect": "Rectangle",
|
||||
|
|
|
@ -179,7 +179,7 @@ require([
|
|||
//Store Framework7 initialized instance for easy access
|
||||
window.uiApp = new Framework7({
|
||||
// Default title for modals
|
||||
modalTitle: 'ONLYOFFICE',
|
||||
modalTitle: '{{MOBILE_MODAL_TITLE}}',
|
||||
|
||||
// If it is webapp, we can enable hash navigation:
|
||||
// pushState: false,
|
||||
|
|
|
@ -184,6 +184,10 @@ define([
|
|||
}
|
||||
|
||||
me.initNames();
|
||||
me.defaultTitleText = me.defaultTitleText || '{{APP_TITLE_TEXT}}';
|
||||
me.textNoLicenseTitle = me.textNoLicenseTitle.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.warnNoLicense = me.warnNoLicense.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.warnNoLicenseUsers = me.warnNoLicenseUsers.replace('%1', '{{COMPANY_NAME}}');
|
||||
},
|
||||
|
||||
loadConfig: function(data) {
|
||||
|
@ -721,7 +725,7 @@ define([
|
|||
if (msg && msg.msg) {
|
||||
msg.msg = (msg.msg).toString();
|
||||
uiApp.addNotification({
|
||||
title: 'ONLYOFFICE',
|
||||
title: uiApp.params.modalTitle,
|
||||
message: [msg.msg.charAt(0).toUpperCase() + msg.msg.substring(1)]
|
||||
});
|
||||
|
||||
|
@ -833,7 +837,7 @@ define([
|
|||
break;
|
||||
|
||||
case Asc.c_oAscError.ID.Warning:
|
||||
config.msg = this.errorConnectToServer;
|
||||
config.msg = this.errorConnectToServer.replace('%1', '{{API_URL_EDITING_CALLBACK}}');
|
||||
break;
|
||||
|
||||
case Asc.c_oAscError.ID.UplImageUrl:
|
||||
|
@ -1192,7 +1196,6 @@ define([
|
|||
|
||||
// Translation
|
||||
leavePageText: 'You have unsaved changes in this document. Click \'Stay on this Page\' to await the autosave of the document. Click \'Leave this Page\' to discard all the unsaved changes.',
|
||||
defaultTitleText: 'ONLYOFFICE Presentation Editor',
|
||||
criticalErrorTitle: 'Error',
|
||||
notcriticalErrorTitle: 'Warning',
|
||||
errorDefaultMessage: 'Error code: %1',
|
||||
|
@ -1305,10 +1308,10 @@ define([
|
|||
txtSeries: 'Seria',
|
||||
txtArt: 'Your text here',
|
||||
errorConnectToServer: ' The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the \'OK\' button, you will be prompted to download the document.<br><br>' +
|
||||
'Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>',
|
||||
'Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>',
|
||||
textTryUndoRedo: 'The Undo/Redo functions are disabled for the Fast co-editing mode.',
|
||||
textBuyNow: 'Visit website',
|
||||
textNoLicenseTitle: 'ONLYOFFICE open source version',
|
||||
textNoLicenseTitle: '%1 open source version',
|
||||
textContactUs: 'Contact sales',
|
||||
errorViewerDisconnect: 'Connection is lost. You can still view the document,<br>but will not be able to download until the connection is restored.',
|
||||
warnLicenseExp: 'Your license has expired.<br>Please update your license and refresh the page.',
|
||||
|
@ -1342,8 +1345,8 @@ define([
|
|||
txtSlideSubtitle: 'Slide subtitle',
|
||||
txtSlideTitle: 'Slide title',
|
||||
txtProtected: 'Once you enter the password and open the file, the current password to the file will be reset',
|
||||
warnNoLicense: 'This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicense: 'This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of %1 editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnLicenseExceeded: 'The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
warnLicenseUsersExceeded: 'The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.',
|
||||
|
|
|
@ -276,6 +276,11 @@ define([
|
|||
}, this)
|
||||
}
|
||||
});
|
||||
|
||||
me.defaultTitleText = me.defaultTitleText || '{{APP_TITLE_TEXT}}';
|
||||
me.warnNoLicense = me.warnNoLicense.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.warnNoLicenseUsers = me.warnNoLicenseUsers.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.textNoLicenseTitle = me.textNoLicenseTitle.replace('%1', '{{COMPANY_NAME}}');
|
||||
},
|
||||
|
||||
loadConfig: function(data) {
|
||||
|
@ -1289,7 +1294,7 @@ define([
|
|||
break;
|
||||
|
||||
case Asc.c_oAscError.ID.Warning:
|
||||
config.msg = this.errorConnectToServer;
|
||||
config.msg = this.errorConnectToServer.replace('%1', '{{API_URL_EDITING_CALLBACK}}');
|
||||
config.closable = false;
|
||||
break;
|
||||
|
||||
|
@ -2233,21 +2238,20 @@ define([
|
|||
textShape: 'Shape',
|
||||
errorFillRange: 'Could not fill the selected range of cells.<br>All the merged cells need to be the same size.',
|
||||
errorUpdateVersion: 'The file version has been changed. The page will be reloaded.',
|
||||
defaultTitleText: 'ONLYOFFICE Spreadsheet Editor',
|
||||
errorUserDrop: 'The file cannot be accessed right now.',
|
||||
txtArt: 'Your text here',
|
||||
errorInvalidRef: 'Enter a correct name for the selection or a valid reference to go to.',
|
||||
errorCreateDefName: 'The existing named ranges cannot be edited and the new ones cannot be created<br>at the moment as some of them are being edited.',
|
||||
errorPasteMaxRange: 'The copy and paste area does not match. Please select an area with the same size or click the first cell in a row to paste the copied cells.',
|
||||
errorConnectToServer: ' The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the \'OK\' button, you will be prompted to download the document.<br><br>' +
|
||||
'Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>',
|
||||
'Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>',
|
||||
errorLockedWorksheetRename: 'The sheet cannot be renamed at the moment as it is being renamed by another user',
|
||||
textTryUndoRedo: 'The Undo/Redo functions are disabled for the Fast co-editing mode.<br>Click the \'Strict mode\' button to switch to the Strict co-editing mode to edit the file without other users interference and send your changes only after you save them. You can switch between the co-editing modes using the editor Advanced settings.',
|
||||
textStrict: 'Strict mode',
|
||||
errorOpenWarning: 'The length of one of the formulas in the file exceeded<br>the allowed number of characters and it was removed.',
|
||||
errorFrmlWrongReferences: 'The function refers to a sheet that does not exist.<br>Please check the data and try again.',
|
||||
textBuyNow: 'Visit website',
|
||||
textNoLicenseTitle: 'ONLYOFFICE open source version',
|
||||
textNoLicenseTitle: '%1 open source version',
|
||||
textContactUs: 'Contact sales',
|
||||
confirmPutMergeRange: 'The source data contains merged cells.<br>They will be unmerged before they are pasted into the table.',
|
||||
errorViewerDisconnect: 'Connection is lost. You can still view the document,<br>but will not be able to download or print until the connection is restored.',
|
||||
|
@ -2290,8 +2294,8 @@ define([
|
|||
txtStyle_Comma: 'Comma',
|
||||
errorForceSave: "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
||||
errorMaxPoints: "The maximum number of points in series per chart is 4096.",
|
||||
warnNoLicense: 'This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicense: 'This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of %1 Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnLicenseExceeded: 'The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
warnLicenseUsersExceeded: 'The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.',
|
||||
|
|
|
@ -390,7 +390,7 @@
|
|||
"SSE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
"SSE.Controllers.Main.criticalErrorExtText": "Press \"OK\" to return to document list.",
|
||||
"SSE.Controllers.Main.criticalErrorTitle": "Error",
|
||||
"SSE.Controllers.Main.defaultTitleText": "ONLYOFFICE Spreadsheet Editor",
|
||||
"del_SSE.Controllers.Main.defaultTitleText": "ONLYOFFICE Spreadsheet Editor",
|
||||
"SSE.Controllers.Main.downloadErrorText": "Download failed.",
|
||||
"SSE.Controllers.Main.downloadTextText": "Downloading spreadsheet...",
|
||||
"SSE.Controllers.Main.downloadTitleText": "Downloading Spreadsheet",
|
||||
|
@ -403,7 +403,7 @@
|
|||
"SSE.Controllers.Main.errorBadImageUrl": "Image URL is incorrect",
|
||||
"SSE.Controllers.Main.errorChangeArray": "You cannot change part of an array.",
|
||||
"SSE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. The document cannot be edited right now.",
|
||||
"SSE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>",
|
||||
"SSE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>",
|
||||
"SSE.Controllers.Main.errorCopyMultiselectArea": "This command cannot be used with multiple selections.<br>Select a single range and try again.",
|
||||
"SSE.Controllers.Main.errorCountArg": "An error in the entered formula.<br>Incorrect number of arguments is used.",
|
||||
"SSE.Controllers.Main.errorCountArgExceed": "An error in the entered formula.<br>Number of arguments is exceeded.",
|
||||
|
@ -484,7 +484,7 @@
|
|||
"SSE.Controllers.Main.textLicencePaidFeature": "The feature you are trying to use is available for extended license.<br>If you need it, please contact Sales Department",
|
||||
"SSE.Controllers.Main.textLoadingDocument": "Loading spreadsheet",
|
||||
"SSE.Controllers.Main.textNo": "No",
|
||||
"SSE.Controllers.Main.textNoLicenseTitle": "ONLYOFFICE connection limitation",
|
||||
"SSE.Controllers.Main.textNoLicenseTitle": "%1 connection limitation",
|
||||
"SSE.Controllers.Main.textPaidFeature": "Paid feature",
|
||||
"SSE.Controllers.Main.textPleaseWait": "The operation might take more time than expected. Please wait...",
|
||||
"SSE.Controllers.Main.textRecalcFormulas": "Calculating formulas...",
|
||||
|
@ -544,8 +544,8 @@
|
|||
"SSE.Controllers.Main.warnLicenseExceeded": "The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"SSE.Controllers.Main.warnLicenseExp": "Your license has expired.<br>Please update your license and refresh the page.",
|
||||
"SSE.Controllers.Main.warnLicenseUsersExceeded": "The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"SSE.Controllers.Main.warnNoLicense": "This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"SSE.Controllers.Main.warnNoLicenseUsers": "This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"SSE.Controllers.Main.warnNoLicense": "This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"SSE.Controllers.Main.warnNoLicenseUsers": "This version of %1 editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"SSE.Controllers.Main.txtShape_textRect": "Text Box",
|
||||
"SSE.Controllers.Main.txtShape_rect": "Rectangle",
|
||||
|
|
|
@ -164,7 +164,7 @@ require([
|
|||
//Store Framework7 initialized instance for easy access
|
||||
window.uiApp = new Framework7({
|
||||
// Default title for modals
|
||||
modalTitle: 'ONLYOFFICE',
|
||||
modalTitle: '{{MOBILE_MODAL_TITLE}}',
|
||||
|
||||
// Enable tap hold events
|
||||
tapHold: true,
|
||||
|
|
|
@ -188,6 +188,11 @@ define([
|
|||
});
|
||||
Common.Gateway.internalMessage('listenHardBack');
|
||||
}
|
||||
|
||||
me.defaultTitleText = me.defaultTitleText || '{{APP_TITLE_TEXT}}';
|
||||
me.warnNoLicense = me.warnNoLicense.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.warnNoLicenseUsers = me.warnNoLicenseUsers.replace('%1', '{{COMPANY_NAME}}');
|
||||
me.textNoLicenseTitle = me.textNoLicenseTitle.replace('%1', '{{COMPANY_NAME}}');
|
||||
},
|
||||
|
||||
loadConfig: function(data) {
|
||||
|
@ -730,7 +735,7 @@ define([
|
|||
if (msg && msg.msg) {
|
||||
msg.msg = (msg.msg).toString();
|
||||
uiApp.addNotification({
|
||||
title: 'ONLYOFFICE',
|
||||
title: uiApp.params.modalTitle,
|
||||
message: [msg.msg.charAt(0).toUpperCase() + msg.msg.substring(1)]
|
||||
});
|
||||
|
||||
|
@ -933,7 +938,7 @@ define([
|
|||
break;
|
||||
|
||||
case Asc.c_oAscError.ID.Warning:
|
||||
config.msg = this.errorConnectToServer;
|
||||
config.msg = this.errorConnectToServer.replace('%1', '{{API_URL_EDITING_CALLBACK}}');
|
||||
break;
|
||||
|
||||
case Asc.c_oAscError.ID.LockedWorksheetRename:
|
||||
|
@ -1365,7 +1370,6 @@ define([
|
|||
},
|
||||
|
||||
leavePageText: 'You have unsaved changes in this document. Click \'Stay on this Page\' to await the autosave of the document. Click \'Leave this Page\' to discard all the unsaved changes.',
|
||||
defaultTitleText: 'ONLYOFFICE Spreadsheet Editor',
|
||||
criticalErrorTitle: 'Error',
|
||||
notcriticalErrorTitle: 'Warning',
|
||||
errorDefaultMessage: 'Error code: %1',
|
||||
|
@ -1445,12 +1449,12 @@ define([
|
|||
sendMergeText: 'Sending Merge...',
|
||||
txtArt: 'Your text here',
|
||||
errorConnectToServer: ' The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the \'OK\' button, you will be prompted to download the document.<br><br>' +
|
||||
'Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>',
|
||||
'Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>',
|
||||
textTryUndoRedo: 'The Undo/Redo functions are disabled for the Fast co-editing mode.<br>Click the \'Strict mode\' button to switch to the Strict co-editing mode to edit the file without other users interference and send your changes only after you save them. You can switch between the co-editing modes using the editor Advanced settings.',
|
||||
textStrict: 'Strict mode',
|
||||
txtErrorLoadHistory: 'Loading history failed',
|
||||
textBuyNow: 'Visit website',
|
||||
textNoLicenseTitle: 'ONLYOFFICE open source version',
|
||||
textNoLicenseTitle: '%1 open source version',
|
||||
textContactUs: 'Contact sales',
|
||||
errorViewerDisconnect: 'Connection is lost. You can still view the document,<br>but will not be able to download until the connection is restored.',
|
||||
warnLicenseExp: 'Your license has expired.<br>Please update your license and refresh the page.',
|
||||
|
@ -1505,8 +1509,8 @@ define([
|
|||
txtStyle_Comma: 'Comma',
|
||||
errorMaxPoints: 'The maximum number of points in series per chart is 4096.',
|
||||
txtProtected: 'Once you enter the password and open the file, the current password to the file will be reset',
|
||||
warnNoLicense: 'This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicense: 'This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnNoLicenseUsers: 'This version of %1 editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.',
|
||||
warnLicenseExceeded: 'The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
warnLicenseUsersExceeded: 'The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.',
|
||||
errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.',
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
"SSE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
"SSE.Controllers.Main.criticalErrorExtText": "Press 'OK' to return to document list.",
|
||||
"SSE.Controllers.Main.criticalErrorTitle": "Error",
|
||||
"SSE.Controllers.Main.defaultTitleText": "ONLYOFFICE Spreadsheet Editor",
|
||||
"del_SSE.Controllers.Main.defaultTitleText": "ONLYOFFICE Spreadsheet Editor",
|
||||
"SSE.Controllers.Main.downloadErrorText": "Download failed.",
|
||||
"SSE.Controllers.Main.downloadMergeText": "Downloading...",
|
||||
"SSE.Controllers.Main.downloadMergeTitle": "Downloading",
|
||||
|
@ -117,7 +117,7 @@
|
|||
"SSE.Controllers.Main.errorBadImageUrl": "Image URL is incorrect",
|
||||
"SSE.Controllers.Main.errorChangeArray": "You cannot change part of an array.",
|
||||
"SSE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. The document cannot be edited right now.",
|
||||
"SSE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>",
|
||||
"SSE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"%1\" target=\"_blank\">here</a>",
|
||||
"SSE.Controllers.Main.errorCopyMultiselectArea": "This command cannot be used with multiple selections.<br>Select a single range and try again.",
|
||||
"SSE.Controllers.Main.errorCountArg": "An error in the entered formula.<br>Incorrect number of arguments is used.",
|
||||
"SSE.Controllers.Main.errorCountArgExceed": "An error in the entered formula.<br>Number of arguments is exceeded.",
|
||||
|
@ -200,7 +200,7 @@
|
|||
"SSE.Controllers.Main.textContactUs": "Contact sales",
|
||||
"SSE.Controllers.Main.textDone": "Done",
|
||||
"SSE.Controllers.Main.textLoadingDocument": "Loading spreadsheet",
|
||||
"SSE.Controllers.Main.textNoLicenseTitle": "ONLYOFFICE connection limitation",
|
||||
"SSE.Controllers.Main.textNoLicenseTitle": "%1 connection limitation",
|
||||
"SSE.Controllers.Main.textOK": "OK",
|
||||
"SSE.Controllers.Main.textPassword": "Password",
|
||||
"SSE.Controllers.Main.textPreloader": "Loading... ",
|
||||
|
@ -264,8 +264,8 @@
|
|||
"SSE.Controllers.Main.warnLicenseExceeded": "The number of concurrent connections to the document server has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"SSE.Controllers.Main.warnLicenseExp": "Your license has expired.<br>Please update your license and refresh the page.",
|
||||
"SSE.Controllers.Main.warnLicenseUsersExceeded": "The number of concurrent users has been exceeded and the document will be opened for viewing only.<br>Please contact your administrator for more information.",
|
||||
"SSE.Controllers.Main.warnNoLicense": "This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"SSE.Controllers.Main.warnNoLicenseUsers": "This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"SSE.Controllers.Main.warnNoLicense": "This version of %1 editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
|
||||
"SSE.Controllers.Main.warnNoLicenseUsers": "This version of %1 editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
|
||||
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"SSE.Controllers.Search.textNoTextFound": "Text not found",
|
||||
"SSE.Controllers.Search.textReplaceAll": "Replace All",
|
||||
|
|
|
@ -12,6 +12,38 @@ module.exports = function(grunt) {
|
|||
' * Version: <%= pkg.version %> (build:<%= pkg.build %>)\n' +
|
||||
' */\n';
|
||||
|
||||
var replacements = [
|
||||
{
|
||||
from: /\{\{SUPPORT_EMAIL\}\}/g,
|
||||
to: 'support@onlyoffice.com'
|
||||
},{
|
||||
from: /\{\{SUPPORT_URL\}\}/g,
|
||||
to: 'https://support.onlyoffice.com'
|
||||
},{
|
||||
from: /\{\{SALES_EMAIL\}\}/g,
|
||||
to: 'sales@onlyoffice.com'
|
||||
},{
|
||||
from: /\{\{PUBLISHER_URL\}\}/g,
|
||||
to: 'https://www.onlyoffice.com'
|
||||
},{
|
||||
from: /\{\{PUBLISHER_PHONE\}\}/,
|
||||
to: '+371 660-16425'
|
||||
},{
|
||||
from: /\{\{PUBLISHER_NAME\}\}/g,
|
||||
to: 'Ascensio System SIA'
|
||||
},{
|
||||
from: /\{\{PUBLISHER_ADDRESS\}\}/,
|
||||
to: '20A-12 Ernesta Birznieka-Upisha street, Riga, Latvia, EU, LV-1050'
|
||||
},{
|
||||
from: /\{\{API_URL_EDITING_CALLBACK\}\}/,
|
||||
to: 'https://api.onlyoffice.com/editors/callback'
|
||||
},{
|
||||
from: /\{\{COMPANY_NAME\}\}/g,
|
||||
to: 'ONLYOFFICE'
|
||||
}, {
|
||||
from: /\{\{APP_TITLE_TEXT\}\}/g,
|
||||
to: 'ONLYOFFICE'
|
||||
}];
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
grunt.loadNpmTasks('grunt-contrib-copy');
|
||||
|
@ -183,33 +215,6 @@ module.exports = function(grunt) {
|
|||
replacements: [{
|
||||
from: /\{\{PRODUCT_VERSION\}\}/,
|
||||
to: packageFile.version
|
||||
},{
|
||||
from: /\{\{SUPPORT_EMAIL\}\}/g,
|
||||
to: 'support@onlyoffice.com'
|
||||
},{
|
||||
from: /\{\{SUPPORT_URL\}\}/g,
|
||||
to: 'https://support.onlyoffice.com'
|
||||
},{
|
||||
from: /\{\{SALES_EMAIL\}\}/g,
|
||||
to: 'sales@onlyoffice.com'
|
||||
},{
|
||||
from: /\{\{PUBLISHER_URL\}\}/g,
|
||||
to: 'https://www.onlyoffice.com'
|
||||
},{
|
||||
from: /\{\{PUBLISHER_PHONE\}\}/,
|
||||
to: '+371 660-16425'
|
||||
},{
|
||||
from: /\{\{PUBLISHER_NAME\}\}/g,
|
||||
to: 'Ascensio System SIA'
|
||||
},{
|
||||
from: /\{\{PUBLISHER_ADDRESS\}\}/,
|
||||
to: '20A-12 Ernesta Birznieka-Upisha street, Riga, Latvia, EU, LV-1050'
|
||||
}, {
|
||||
from: /\{\{API_URL_EDITING_CALLBACK\}\}/,
|
||||
to: 'https://api.onlyoffice.com/editors/callback'
|
||||
}, {
|
||||
from: /\{\{COMPANY_NAME\}\}/,
|
||||
to: 'ONLYOFFICE'
|
||||
}]
|
||||
}
|
||||
},
|
||||
|
@ -272,6 +277,10 @@ module.exports = function(grunt) {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
var replace = grunt.config.get('replace');
|
||||
replace.writeVersion.replacements.push(...replacements);
|
||||
grunt.config.set('replace', replace);
|
||||
});
|
||||
|
||||
grunt.registerTask('deploy-reporter', function(){
|
||||
|
@ -393,6 +402,10 @@ module.exports = function(grunt) {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
var replace = grunt.config.get('replace');
|
||||
replace.writeVersion.replacements.push(...replacements);
|
||||
grunt.config.set('replace', replace);
|
||||
});
|
||||
|
||||
grunt.registerTask('embed-app-init', function() {
|
||||
|
|
Loading…
Reference in a new issue