Improve the translation of "Share via …"
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>
Thu, 14 Nov 2019 21:29:30 +0000 (22:29 +0100)
committerRoeland Jago Douma <rullzer@users.noreply.github.com>
Tue, 3 Dec 2019 08:06:06 +0000 (09:06 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
src/gui/socketapi.cpp

index a457071806fd1d1d585df4e3f3b88d2ac70b92c7..120d7140b969758547f4cafc906d0c8a717ff6fe 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 options") },
-        { "CONTEXT_MENU_TITLE", tr("Share via ") + Theme::instance()->appNameGUI()},
+        { "CONTEXT_MENU_TITLE", tr("Share via %1").arg(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...") },
     } };