Add context for "Automatic" strings
ClosedPublic

Authored by yurchor on May 2 2020, 11:05 AM.

Details

Summary

"Some of these topics are masculine gender and others are feminine gender, as "automatic" should be. The result is that I can't translate "automatic" correctly in Spanish (and other languages)." -- Eloy Cuadra, Spanish translation coordinator

Test Plan

Should work as is.

Diff Detail

Repository
R116 Plasma Network Management Applet
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
yurchor created this revision.May 2 2020, 11:05 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 2 2020, 11:05 AM
Restricted Application added a reviewer: jgrulich. · View Herald Transcript
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
yurchor requested review of this revision.May 2 2020, 11:05 AM
davidedmundson accepted this revision.May 2 2020, 2:57 PM
ngraham accepted this revision.May 2 2020, 10:37 PM
ecuadra requested changes to this revision.May 3 2020, 12:01 AM
ecuadra added a subscriber: ecuadra.

I think the right attribute to adding context to .ui files is "comment" instead of "context". The attribute "context" is only for .rc and .kcfg files ;-)
See https://api.kde.org/frameworks/ki18n/html/prg_guide.html#nocpp_ctxt

This revision now requires changes to proceed.May 3 2020, 12:01 AM
yurchor updated this revision to Diff 81774.May 3 2020, 6:03 AM

Use "comment" instead of "context", fix extracomment according to

https://tsdgeos.blogspot.com/2011/05/qt-designer-texts-disambiguation-vs.html

ecuadra accepted this revision.May 9 2020, 2:39 PM

Yes. Sorry for the delay.

This revision was not accepted when it landed; it landed in state Needs Review.May 9 2020, 2:41 PM
This revision was automatically updated to reflect the committed changes.