mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[mobile] change 'Switch to Desktop' dialog content
This commit is contained in:
@ -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",
|
||||
|
||||
@ -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),
|
||||
}
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user