Commit d6274fd7 authored by Laurent Montel's avatar Laurent Montel 😁

Fix i18n

parent d61c190b
......@@ -80,7 +80,7 @@ bool SemanticUrlHandler::handleContextMenuRequest(MimeTreeParser::Interface::Bod
if (r.userType() == qMetaTypeId<LodgingReservation>()) {
const auto hotel = JsonLdDocument::readProperty(r, "reservationFor");
const auto addr = JsonLdDocument::readProperty(hotel, "address");
action = menu.addAction(QIcon::fromTheme(QStringLiteral("map-globe")), i18n("Show %1 On Map", JsonLdDocument::readProperty(hotel, "name").toString()));
action = menu.addAction(QIcon::fromTheme(QStringLiteral("map-globe")), i18n("Show \'%1\' On Map", JsonLdDocument::readProperty(hotel, "name").toString()));
QObject::connect(action, &QAction::triggered, this, [addr]() {
QUrl url;
url.setScheme(QStringLiteral("https"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment