Replace "Edit" with "Open in browser"
authorJérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Fri, 24 May 2024 12:16:25 +0000 (14:16 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Mon, 3 Jun 2024 06:55:34 +0000 (08:55 +0200)
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
src/gui/socketapi/socketapi.cpp

index 3ff2b0eea8474688918562dcb49a97894696b6e8..e3914c1276199dcfe2f0f85d6a7e00c2b2bb9ff1 100644 (file)
@@ -1388,7 +1388,7 @@ void SocketApi::command_GET_MENU_ITEMS(const QString &argument, OCC::SocketListe
         DirectEditor* editor = getDirectEditorForLocalFile(fileData.localPath);
         if (editor) {
             //listener->sendMessage(QLatin1String("MENU_ITEM:EDIT") + flagString + tr("Edit via ") + editor->name());
-            listener->sendMessage(QLatin1String("MENU_ITEM:EDIT") + flagString + tr("Edit"));
+            listener->sendMessage(QLatin1String("MENU_ITEM:EDIT") + flagString + tr("Open in browser"));
         } else {
             listener->sendMessage(QLatin1String("MENU_ITEM:OPEN_PRIVATE_LINK") + flagString + tr("Open in browser"));
         }