Changes wording in the share context menu.
authorCamila San <hello@camila.codes>
Tue, 24 Sep 2019 14:25:03 +0000 (16:25 +0200)
committerCamila San <hello@camila.codes>
Tue, 24 Sep 2019 14:25:03 +0000 (16:25 +0200)
Instead of only Nextcloud it says "Share via Nextcloud".

Signed-off-by: Camila San <hello@camila.codes>
src/gui/socketapi.cpp

index 1c6ceefbadcf0d6da6352a1c01bbd50f9fb90899..5601503b1840360268906e044c387686533440b6 100644 (file)
@@ -623,7 +623,7 @@ void SocketApi::command_GET_STRINGS(const QString &argument, SocketListener *lis
 {
     static std::array<std::pair<const char *, QString>, 5> strings { {
         { "SHARE_MENU_TITLE", tr("Share...") },
-        { "CONTEXT_MENU_TITLE", Theme::instance()->appNameGUI() },
+        { "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...") },
     } };