Fix translation of actiondisplay
ClosedPublic

Authored by nicolasfella on Jun 23 2019, 2:43 PM.

Details

Summary

To be able to be translated the entries need to be subentry of KPlugin

Diff Detail

Repository
R495 Purpose Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Jun 23 2019, 2:43 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 23 2019, 2:43 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
nicolasfella requested review of this revision.Jun 23 2019, 2:43 PM
pino added a subscriber: pino.Jun 23 2019, 2:46 PM

I do not see how this is supposed to fix the translations. Nothing translates the strings statically (like the various Name/Comment/etc), nor at runtime.

@aacid and I have been working on making it possible to translate arbitrary JSON entries. See https://phabricator.kde.org/R883:1544734

apol accepted this revision.Jun 23 2019, 3:06 PM

okay

This revision is now accepted and ready to land.Jun 23 2019, 3:06 PM
This revision was automatically updated to reflect the committed changes.
aspotashev added inline comments.
src/plugins/pastebin/pastebinplugin.json
105

oops, ActionDisplay should have ellipsis, e.g. "Pastebin..."

aspotashev added inline comments.Jun 30 2019, 11:34 AM
src/plugins/imgur/imgurplugin.json
105

same for Imgur :(