mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Change wording "Search on" -> "Search with"
Also don't show "URL" in interface, "address" is enough.
This commit is contained in:
parent
2867f9fed5
commit
7e6600bb48
@ -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 {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user