The Windows shell extension relied on the response of
SHARE_MENU_TITLE to advance its state machine, but in order
to use the new GET_STRINGS instead, we need to know when the
last string was received. Also add BEGIN for consistency.
{ "COPY_PRIVATE_LINK_TITLE", tr("Copy private link to clipboard") },
{ "EMAIL_PRIVATE_LINK_TITLE", tr("Send private link by email...") },
} };
+ listener->sendMessage(QString("GET_STRINGS:BEGIN"));
for (auto key_value : strings) {
listener->sendMessage(QString("STRING:%1:%2").arg(key_value.first, key_value.second));
}
+ listener->sendMessage(QString("GET_STRINGS:END"));
}
QString SocketApi::buildRegisterPathMessage(const QString &path)