mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Replace "Edit" with "Open in browser"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
This commit is contained in:
parent
425dd497a1
commit
dd1f32df65
1 changed files with 1 additions and 1 deletions
|
@ -1388,7 +1388,7 @@ void SocketApi::command_GET_MENU_ITEMS(const QString &argument, OCC::SocketListe
|
||||||
DirectEditor* editor = getDirectEditorForLocalFile(fileData.localPath);
|
DirectEditor* editor = getDirectEditorForLocalFile(fileData.localPath);
|
||||||
if (editor) {
|
if (editor) {
|
||||||
//listener->sendMessage(QLatin1String("MENU_ITEM:EDIT") + flagString + tr("Edit via ") + editor->name());
|
//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 {
|
} else {
|
||||||
listener->sendMessage(QLatin1String("MENU_ITEM:OPEN_PRIVATE_LINK") + flagString + tr("Open in browser"));
|
listener->sendMessage(QLatin1String("MENU_ITEM:OPEN_PRIVATE_LINK") + flagString + tr("Open in browser"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue