Improve some strings and UI elements in KWin KCM
ClosedPublic

Authored by ngraham on Nov 6 2017, 4:18 PM.

Details

Summary

BUG: 386571
BUG: 386574
BUG: 386576

Implemented some of @abetts' string change and UI suggestions in the above bugs.

Test Plan

Tested in KDE Neon:

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ngraham created this revision.Nov 6 2017, 4:18 PM
Restricted Application added a project: KWin. · View Herald TranscriptNov 6 2017, 4:18 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
davidedmundson accepted this revision.Nov 6 2017, 5:15 PM
This revision is now accepted and ready to land.Nov 6 2017, 5:15 PM

Thanks! Will wait for @graesslin's blessing before pushing. :)

ngraham updated this revision to Diff 22000.Nov 6 2017, 8:42 PM

Small grammar change on the touchscreen page

ngraham updated this revision to Diff 22005.Nov 6 2017, 9:56 PM

Also implement requested change in 386574

ngraham retitled this revision from Improve some strings in KWin KCM to Improve some strings and UI elements in KWin KCM.Nov 6 2017, 9:57 PM
ngraham edited the summary of this revision. (Show Details)
ngraham edited the test plan for this revision. (Show Details)
ngraham added a reviewer: graesslin.
ngraham edited the test plan for this revision. (Show Details)Nov 6 2017, 10:02 PM
ngraham edited the summary of this revision. (Show Details)Nov 6 2017, 10:24 PM
ngraham updated this revision to Diff 22008.Nov 6 2017, 10:27 PM

Also correct strange wording in description for MinimizeAll script

luebking added inline comments.
scripts/minimizeall/metadata.desktop
42

This is not what the script does.

The weird description that exists is weird, but correct ("un-minimize all windows that were minimized by the script" or something like this)

ngraham added inline comments.Nov 7 2017, 1:49 PM
scripts/minimizeall/metadata.desktop
42

I know, but does it really matter? Is the distinction between windows that were minimized by the script vs windows that the user manually minimized important enough to make this description longer and more awkward?

abetts added a comment.Nov 7 2017, 2:32 PM

Can we at least find something more legible? I don't care if it is my suggestion or not, just something more approachable and readable.

luebking added inline comments.Nov 7 2017, 2:42 PM
scripts/minimizeall/metadata.desktop
42

No idea, maybe ask the torch bearing crowd that cried for this feature because there once was a secret key to make desktop showing behave this way... (yes, the exact behavior was crucial ...)

iow: as long as Martin can always reply with "because translators are idiots, but the feature itself didn't change" I frankly don't care whether there's a description at all.

graesslin requested changes to this revision.Nov 7 2017, 4:46 PM

Please be aware that this will cause work for translators and they might be puzzled because their translated string will just be the same. If a native speaker thinks that the new texts are better than I'm fine with this. But if it is just a minor improvement or no real improvement at all I always decided against such changes to not cause unnecessary work for the translators.

That said: as I'm not a native speaker and thus I won't give an accept for this change. If a native speaker accepts it, I'm fine with it. David's accept of course does not hold any more as the review changed afterwards.

scripts/minimizeall/metadata.desktop
42

I think the distinction is important. Otherwise we get bug reports about it. Yes, such things happen.

48

Please don't adjust translations. That's handled by scripty automatically.

75

Same here: don't update translations.

This revision now requires changes to proceed.Nov 7 2017, 4:46 PM

Gotcha, thanks for the background. I will adjust the string to note the distinction and address the other inline comments. FWIW I am a native English speaker, and "...unminimize all such way minimized windows" is simply gramatically wrong, and needs to be changed regardless. How about "Adds a shortcut to minimize and un-minimize all windows (only affects windows minimized by this script)"

Gotcha, thanks for the background. I will adjust the string to note the distinction and address the other inline comments. FWIW I am a native English speaker, and "...unminimize all such way minimized windows" is simply gramatically wrong, and needs to be changed regardless. How about "Adds a shortcut to minimize and un-minimize all windows (only affects windows minimized by this script)"

sounds good.

ngraham updated this revision to Diff 22061.Nov 8 2017, 2:34 AM

Address the comments

ngraham marked 6 inline comments as done.Nov 8 2017, 2:35 AM

@graesslin, is this looking okay now?

@graesslin, is this looking okay now?

As mentioned before I won't give a shipit as I'm not a native speaker.

Can you resign from the revision then so you're not leaving unresolved negative feedback?

@graesslin are you okay with me landing with with only @davidedmundson's thumbs up?

No, as the thumbs up is older than most of the changes.

So what is the path forward here? Do I need more thumbs-up for the latest version from native English speakers?

@davidedmundson or @jriddell?

With my native speaker hat on:

Mostly fine.

kcmkwin/kwinscreenedges/touch.ui
36

we've removed full stops from all independent sentences on the last KCM, but left this one.

scripts/minimizeall/metadata.desktop
42

The word "restore" would probably simplify things.

That implies "(only affects windows minimized by this script)" in fewer words.

ngraham updated this revision to Diff 23740.Dec 10 2017, 10:23 PM

Implement review suggestions

ngraham updated this revision to Diff 23741.Dec 10 2017, 10:24 PM
ngraham marked an inline comment as done.

Remove "(only affects windows minimized by this script)", as it is implied by the word "restore"

ngraham marked an inline comment as done.Dec 10 2017, 10:26 PM
ngraham edited the test plan for this revision. (Show Details)Dec 10 2017, 11:02 PM

Will anybody be mad if I push this change now that a native speaker has weighed in?

abetts accepted this revision.Dec 29 2017, 3:12 PM

Will anybody be mad if I push this change now that a native speaker has weighed in?

Not me. :)

I just want to be sure I don't step on @graesslin's toes here.

apol accepted this revision.Dec 29 2017, 4:00 PM
apol added a subscriber: apol.

Looks better to me.

graesslin resigned from this revision.Dec 29 2017, 4:53 PM
davidedmundson accepted this revision.Dec 29 2017, 4:59 PM
This revision was not accepted when it landed; it landed in state Needs Review.Dec 29 2017, 5:22 PM
This revision was automatically updated to reflect the committed changes.

Thanks everyone.