diff --git a/src/gui/socketapi.cpp b/src/gui/socketapi.cpp index 5601503b1..1ffc3f21a 100644 --- a/src/gui/socketapi.cpp +++ b/src/gui/socketapi.cpp @@ -622,7 +622,7 @@ void OCC::SocketApi::openPrivateLink(const QString &link) void SocketApi::command_GET_STRINGS(const QString &argument, SocketListener *listener) { static std::array, 5> strings { { - { "SHARE_MENU_TITLE", tr("Share...") }, + { "SHARE_MENU_TITLE", tr("Share options") }, { "CONTEXT_MENU_TITLE", tr("Share via ") + Theme::instance()->appNameGUI()}, { "COPY_PRIVATE_LINK_MENU_TITLE", tr("Copy private link to clipboard") }, { "EMAIL_PRIVATE_LINK_MENU_TITLE", tr("Send private link by email...") }, @@ -652,7 +652,7 @@ void SocketApi::sendSharingContextMenuOptions(const FileData &fileData, SocketLi if (isOnTheServer && !record._remotePerm.isNull() && !record._remotePerm.hasPermission(RemotePermissions::CanReshare)) { listener->sendMessage(QLatin1String("MENU_ITEM:DISABLED:d:") + tr("Resharing this file is not allowed")); } else { - listener->sendMessage(QLatin1String("MENU_ITEM:SHARE") + flagString + tr("Share...")); + listener->sendMessage(QLatin1String("MENU_ITEM:SHARE") + flagString + tr("Share options")); // Do we have public links? bool publicLinksEnabled = theme->linkSharing() && capabilities.sharePublicLink(); @@ -663,13 +663,13 @@ void SocketApi::sendSharingContextMenuOptions(const FileData &fileData, SocketLi && !capabilities.sharePublicLinkEnforcePassword(); if (canCreateDefaultPublicLink) { - listener->sendMessage(QLatin1String("MENU_ITEM:COPY_PUBLIC_LINK") + flagString + tr("Copy public link to clipboard")); + listener->sendMessage(QLatin1String("MENU_ITEM:COPY_PUBLIC_LINK") + flagString + tr("Copy public link")); } else if (publicLinksEnabled) { - listener->sendMessage(QLatin1String("MENU_ITEM:MANAGE_PUBLIC_LINKS") + flagString + tr("Copy public link to clipboard")); + listener->sendMessage(QLatin1String("MENU_ITEM:MANAGE_PUBLIC_LINKS") + flagString + tr("Copy public link")); } } - listener->sendMessage(QLatin1String("MENU_ITEM:COPY_PRIVATE_LINK") + flagString + tr("Copy private link to clipboard")); + listener->sendMessage(QLatin1String("MENU_ITEM:COPY_PRIVATE_LINK") + flagString + tr("Copy internal link")); // Disabled: only providing email option for private links would look odd, // and the copy option is more general.