From 7e6600bb484410e0a2a651f613fef1c5b0919c5f Mon Sep 17 00:00:00 2001 From: David Rosca Date: Fri, 11 Aug 2017 15:29:15 +0200 Subject: [PATCH] Change wording "Search on" -> "Search with" Also don't show "URL" in interface, "address" is enough. --- src/lib/navigation/completer/locationcompleterdelegate.cpp | 2 +- src/lib/navigation/locationbar.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/navigation/completer/locationcompleterdelegate.cpp b/src/lib/navigation/completer/locationcompleterdelegate.cpp index cff968bc5..e82be1713 100644 --- a/src/lib/navigation/completer/locationcompleterdelegate.cpp +++ b/src/lib/navigation/completer/locationcompleterdelegate.cpp @@ -171,7 +171,7 @@ void LocationCompleterDelegate::paint(QPainter* painter, const QStyleOptionViewI if (!isSearchSuggestion && !isWebSearch) { link = tr("Visit"); } else { - link = tr("Search on %1").arg(LocationBar::searchEngine().name); + link = tr("Search with %1").arg(LocationBar::searchEngine().name); } viewItemDrawText(painter, &opt, linkRect, link, textPalette.color(colorLinkRole)); } else { diff --git a/src/lib/navigation/locationbar.cpp b/src/lib/navigation/locationbar.cpp index 0ec924c23..5f9f41d13 100644 --- a/src/lib/navigation/locationbar.cpp +++ b/src/lib/navigation/locationbar.cpp @@ -145,9 +145,9 @@ void LocationBar::setText(const QString &text) void LocationBar::updatePlaceHolderText() { if (qzSettings->searchFromAddressBar) { - setPlaceholderText(tr("Enter URL address or search on %1").arg(searchEngine().name)); + setPlaceholderText(tr("Enter address or search with %1").arg(searchEngine().name)); } else - setPlaceholderText(tr("Enter URL address")); + setPlaceholderText(tr("Enter address")); } void LocationBar::showCompletion(const QString &completion, bool completeDomain)