From 97fd700a9ff2bfe14b20ec7220b1c1b67de829d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Herbinet?= <33763786+Jerome-Herbinet@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:35:31 +0100 Subject: [PATCH] fix: rename 'edit locally' to 'open locally' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Replace "Edit" by "Open" Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> --- apps/files/js/fileactions.js | 2 +- apps/files/src/actions/editLocallyAction.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 579040d8d60ab..fafbc9aef21a9 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -728,7 +728,7 @@ displayName: function(context) { var locked = context.$file.data('locked'); if (!locked) { - return t('files', 'Edit locally'); + return t('files', 'Open locally'); } }, mime: 'all', diff --git a/apps/files/src/actions/editLocallyAction.ts b/apps/files/src/actions/editLocallyAction.ts index ae35b0ca4098a..25a90ca21b684 100644 --- a/apps/files/src/actions/editLocallyAction.ts +++ b/apps/files/src/actions/editLocallyAction.ts @@ -81,7 +81,7 @@ const openLocalClient = async function(path: string) { export const action = new FileAction({ id: 'edit-locally', - displayName: () => t('files', 'Edit locally'), + displayName: () => t('files', 'Open locally'), iconSvgInline: () => LaptopSvg, // Only works on single files