Skip to content

Commit

Permalink
fix(files): edit locally buttons
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <[email protected]>

Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
skjnldsv authored and nextcloud-command committed Nov 8, 2024
1 parent cc1197d commit ccef98e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions apps/files/src/actions/editLocallyAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ const confirmLocalEditDialog = (

return (new DialogBuilder())
.setName(t('files', 'Edit file locally'))
.setText(t('files', 'The file should now open locally. If you don\'t see this happening, make sure that the desktop client is installed on your system.'))
.setText(t('files', 'The file should now open on your device. If it doesn\'t, please check that you have the desktop app installed.'))
.setButtons([
{
label: t('files', 'Retry local edit'),
icon: IconCancel,
label: t('files', 'Retry and close'),
type: 'secondary',
callback: () => {
callbackCalled = true
localEditCallback(false)
localEditCallback(true)
},
},
{
label: t('files', 'Edit online'),
icon: IconCheck,
icon: IconWeb,
type: 'primary',
callback: () => {
callbackCalled = true
localEditCallback(true)
localEditCallback(false)
},
},
])
Expand Down
4 changes: 2 additions & 2 deletions dist/files-init.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-init.js.map

Large diffs are not rendered by default.

0 comments on commit ccef98e

Please sign in to comment.