1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Change wording "Search on" -> "Search with"

Also don't show "URL" in interface, "address" is enough.
This commit is contained in:
David Rosca 2017-08-11 15:29:15 +02:00
parent 2867f9fed5
commit 7e6600bb48
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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)