Translates the Search placeholder in kcm_kwin_effects
AbandonedPublic

Authored by meven on Thu, Nov 7, 12:54 PM.

Details

Reviewers
davidedmundson
Group Reviewers
KWin
Summary

BUG:413900

Diff Detail

Repository
R108 KWin
Branch
master
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 18561
Build 18579: arc lint + arc unit
meven created this revision.Thu, Nov 7, 12:54 PM
Restricted Application added a project: KWin. · View Herald TranscriptThu, Nov 7, 12:54 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
meven requested review of this revision.Thu, Nov 7, 12:54 PM
davidedmundson requested changes to this revision.Thu, Nov 7, 1:00 PM
davidedmundson added a subscriber: davidedmundson.

Kirigami has:
SearchField.qml

placeholderText: qsTr("Search...")

If there is a bug (lack of domain set / loaded) we need to fix that at the root.

This revision now requires changes to proceed.Thu, Nov 7, 1:00 PM
meven added a comment.Thu, Nov 7, 1:33 PM

Kirigami has:
SearchField.qml

placeholderText: qsTr("Search...")

If there is a bug (lack of domain set / loaded) we need to fix that at the root.

It seems kirigami does not depend on KF5I18n at the moment, I saw from other code in plasma this was common to do this replacement.

I saw from other code in plasma this was common to do this replacement.

Where? There are lots of TextFields with the placeholder set.

The SearchFields I found (notifications KCM, systemsettings, discover) didn't.
Which either means they exhibit the same bug, or they do something we're not doing.

meven abandoned this revision.Thu, Nov 7, 2:03 PM

I saw from other code in plasma this was common to do this replacement.

Where? There are lots of TextFields with the placeholder set.

The SearchFields I found (notifications KCM, systemsettings, discover) didn't.

You are right I naively assumed some of the grep'ed instance of placeholderText concerned SeachField but it didn't.

Which either means they exhibit the same bug, or they do something we're not doing.

They don't exhibit the bug, so the bug is most likely in kwineffects kcm.
Will look into it.