1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00

ZoomLabel - Make the label text translateable

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2023-07-16 18:10:19 +02:00
parent 695f3ba802
commit b48132a806
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -57,7 +57,7 @@ void ZoomLabel::requestShow()
void ZoomLabel::valueChanged(int value) void ZoomLabel::valueChanged(int value)
{ {
if ((m_view) && (value != qzSettings->defaultZoomLevel) && (qzSettings->showZoomLabel)) { if ((m_view) && (value != qzSettings->defaultZoomLevel) && (qzSettings->showZoomLabel)) {
setText(QSL("%1%").arg(m_view->zoomFactor() * 100)); setText(tr("%1%").arg(m_view->zoomFactor() * 100));
show(); show();
} }
else { else {