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:
parent
2867f9fed5
commit
7e6600bb48
|
@ -171,7 +171,7 @@ void LocationCompleterDelegate::paint(QPainter* painter, const QStyleOptionViewI
|
||||||
if (!isSearchSuggestion && !isWebSearch) {
|
if (!isSearchSuggestion && !isWebSearch) {
|
||||||
link = tr("Visit");
|
link = tr("Visit");
|
||||||
} else {
|
} 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));
|
viewItemDrawText(painter, &opt, linkRect, link, textPalette.color(colorLinkRole));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -145,9 +145,9 @@ void LocationBar::setText(const QString &text)
|
||||||
void LocationBar::updatePlaceHolderText()
|
void LocationBar::updatePlaceHolderText()
|
||||||
{
|
{
|
||||||
if (qzSettings->searchFromAddressBar) {
|
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
|
} else
|
||||||
setPlaceholderText(tr("Enter URL address"));
|
setPlaceholderText(tr("Enter address"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocationBar::showCompletion(const QString &completion, bool completeDomain)
|
void LocationBar::showCompletion(const QString &completion, bool completeDomain)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user