diff --git a/apps/common/mobile/resources/less/common.less b/apps/common/mobile/resources/less/common.less index 8cc11a04d..1b6ae0f97 100644 --- a/apps/common/mobile/resources/less/common.less +++ b/apps/common/mobile/resources/less/common.less @@ -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 { diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json index 5843f3fa4..c61bb5220 100644 --- a/apps/documenteditor/mobile/locale/en.json +++ b/apps/documenteditor/mobile/locale/en.json @@ -533,8 +533,7 @@ "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.", - "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" + "textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?" }, "Settings": { "advDRMOptions": "Protected File", diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index d5552dadc..534840ae5 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -1036,12 +1036,13 @@ class MainController extends Component { f7.dialog.create({ title: _t.notcriticalErrorTitle, text: _t.textRequestMacros.replace('%1', url), + cssClass: 'dlg-macros-request', content: `
- ${_t.textRememberMacros} + ${_t.textRemember}
`, buttons: [{ text: _t.textYes, diff --git a/apps/documenteditor/mobile/src/index_dev.html b/apps/documenteditor/mobile/src/index_dev.html index 315fa328e..f3fd1bd00 100644 --- a/apps/documenteditor/mobile/src/index_dev.html +++ b/apps/documenteditor/mobile/src/index_dev.html @@ -2,7 +2,7 @@ - + diff --git a/apps/presentationeditor/mobile/locale/en.json b/apps/presentationeditor/mobile/locale/en.json index 99cf16ba9..d45efa3e9 100644 --- a/apps/presentationeditor/mobile/locale/en.json +++ b/apps/presentationeditor/mobile/locale/en.json @@ -127,8 +127,7 @@ "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.", - "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" + "textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?" } }, "Error": { diff --git a/apps/presentationeditor/mobile/src/controller/Main.jsx b/apps/presentationeditor/mobile/src/controller/Main.jsx index 9ac0b4153..ebc3564bf 100644 --- a/apps/presentationeditor/mobile/src/controller/Main.jsx +++ b/apps/presentationeditor/mobile/src/controller/Main.jsx @@ -847,12 +847,13 @@ class MainController extends Component { f7.dialog.create({ title: _t.notcriticalErrorTitle, text: _t.textRequestMacros.replace('%1', url), + cssClass: 'dlg-macros-request', content: `
- ${_t.textRememberMacros} + ${_t.textRemember}
`, buttons: [{ text: _t.textYes, diff --git a/apps/presentationeditor/mobile/src/index_dev.html b/apps/presentationeditor/mobile/src/index_dev.html index 13efdb7ea..631114ced 100644 --- a/apps/presentationeditor/mobile/src/index_dev.html +++ b/apps/presentationeditor/mobile/src/index_dev.html @@ -2,7 +2,7 @@ - + diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json index 11576c0a5..c8c76c0ca 100644 --- a/apps/spreadsheeteditor/mobile/locale/en.json +++ b/apps/spreadsheeteditor/mobile/locale/en.json @@ -161,8 +161,7 @@ "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.", - "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" + "textRequestMacros": "A macro makes a request to URL. Do you want to allow the request to the %1?" } }, "Error": { diff --git a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx index c7dac0444..dd95f1798 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx @@ -818,12 +818,13 @@ class MainController extends Component { f7.dialog.create({ title: _t.notcriticalErrorTitle, text: _t.textRequestMacros.replace('%1', url), + cssClass: 'dlg-macros-request', content: `
- ${_t.textRememberMacros} + ${_t.textRemember}
`, buttons: [{ text: _t.textYes, diff --git a/apps/spreadsheeteditor/mobile/src/index_dev.html b/apps/spreadsheeteditor/mobile/src/index_dev.html index c2a8cbaf8..b9b13f4c9 100644 --- a/apps/spreadsheeteditor/mobile/src/index_dev.html +++ b/apps/spreadsheeteditor/mobile/src/index_dev.html @@ -2,7 +2,7 @@ - +