Fix i18n syntax to avoid runtime errors
ClosedPublic

Authored by ngraham on Nov 28 2019, 4:19 AM.

Details

Summary

Using .arg() in i18n() calls can lead to runtime errors such as the ones shown in
https://bugs.kde.org/show_bug.cgi?id=414498. Let's port away from that.

BUG: 414498

Test Plan

QML GHNS dialog no longer has any i18n errors in strings

Diff Detail

Repository
R304 KNewStuff
Branch
fix-i18n-usage (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 19238
Build 19256: arc lint + arc unit
ngraham created this revision.Nov 28 2019, 4:19 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptNov 28 2019, 4:19 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
ngraham requested review of this revision.Nov 28 2019, 4:19 AM
leinir accepted this revision.Nov 28 2019, 10:33 AM

...wow, ok, right, that's a fun bit of api difference right there ;) Thanks for those!

This revision is now accepted and ready to land.Nov 28 2019, 10:33 AM
This revision was automatically updated to reflect the committed changes.