Skip to content

Commit

Permalink
Merge pull request #6779 from nextcloud/Jerome-Herbinet-replace-edit-…
Browse files Browse the repository at this point in the history
…with-open-in-browser

Replace "Edit" with "Open in browser"
  • Loading branch information
claucambra authored Jun 3, 2024
2 parents 425dd49 + dd1f32d commit e1b96c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/socketapi/socketapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
Expand Down

0 comments on commit e1b96c2

Please sign in to comment.