[mobile] change 'Switch to Desktop' dialog content

This commit is contained in:
maxkadushkin
2025-01-21 12:10:13 +03:00
parent edb9b733ab
commit ad7793fdd1
8 changed files with 20 additions and 12 deletions

View File

@ -153,7 +153,9 @@
"waitText": "Please, wait..."
},
"Toolbar": {
"btnSwitchToDesktop": "Switch to Desktop",
"del_btnSwitchToDesktop": "Switch to Desktop",
"textSwitchToDesktop": "Switch to Desktop",
"btnRestartNow": "Restart now",
"dlgLeaveMsgText": "You have unsaved changes in this document. Click 'Stay on this Page' to wait for autosave. Click 'Leave this Page' to discard all the unsaved changes.",
"dlgLeaveTitleText": "You leave the application",
"leaveButtonText": "Leave this page",

View File

@ -214,13 +214,13 @@ const ToolbarController = inject('storeAppOptions', 'users', 'storeToolbarSettin
const forceDesktopMode = () => {
f7.dialog.create({
text: t('View.Settings.textRestartApplication'),
title: t('View.Settings.notcriticalErrorTitle'),
title: t('Toolbar.textSwitchToDesktop'),
buttons: [
{
text: t('View.Edit.textCancel')
},
{
text: t('Toolbar.btnSwitchToDesktop'),
text: t('Toolbar.btnRestartNow'),
onClick: () => Common.Gateway.switchEditorType('desktop', true),
}
]}