Improve replacement text when action description is not provided
ClosedPublic

Authored by bruns on Oct 24 2018, 8:30 PM.

Diff Detail

Repository
R121 Policykit (Polkit) KDE Agent
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Oct 24 2018, 8:30 PM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 24 2018, 8:30 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bruns requested review of this revision.Oct 24 2018, 8:30 PM
ngraham added inline comments.Oct 24 2018, 8:34 PM
AuthDialog.cpp
356

So I gather .isEmpty() works now?

359

I would prefer "not available" over "not provided", but I won't choose this as my hill to die on. :)

Do we actually need to repeat the word 'Description' here?

bruns added inline comments.Oct 24 2018, 8:51 PM
AuthDialog.cpp
356

Yes.

359

There is no repetition here - the Polkit "<description>" is labeled "Action:" in the dialog.

bruns added inline comments.Oct 24 2018, 8:58 PM
AuthDialog.cpp
359

Btw, "not provided" is your own proposal ;-)

ngraham accepted this revision.Oct 25 2018, 4:46 AM

Thanks, this works.

AuthDialog.cpp
359

What!? I must be going senile already...

This revision is now accepted and ready to land.Oct 25 2018, 4:46 AM
This revision was automatically updated to reflect the committed changes.