Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Commit

Permalink
i18n: Fix untranslatable table row "Delta"
Browse files Browse the repository at this point in the history
Test Plan: none

Reviewers: davidedmundson

Reviewed By: davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15561
  • Loading branch information
aspotashev committed Sep 17, 2018
1 parent 91ddeea commit ae21aa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debug_console.cpp
Expand Up @@ -234,7 +234,8 @@ void DebugConsoleFilter::wheelEvent(WheelEvent *event)
text.append(tableRow(i18nc("The orientation of a pointer axis event", "Orientation"),
orientation == Qt::Horizontal ? i18nc("An orientation of a pointer axis event", "Horizontal")
: i18nc("An orientation of a pointer axis event", "Vertical")));
text.append(tableRow(QStringLiteral("Delta"), orientation == Qt::Horizontal ? event->angleDelta().x() : event->angleDelta().y()));
text.append(tableRow(i18nc("The angle delta of a pointer axis event", "Delta"),
orientation == Qt::Horizontal ? event->angleDelta().x() : event->angleDelta().y()));
text.append(s_tableEnd);

m_textEdit->insertHtml(text);
Expand Down

0 comments on commit ae21aa7

Please sign in to comment.