[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    D14335: Make astronomical Plasma plugin JSON consistent with other plugins and translatable
From:       "Friedrich W. H. Kossebau" <noreply () phabricator ! kde ! org>
Date:       2018-07-24 15:04:07
Message-ID: 5a7034359b3a9200dfea6d50e14fa314 () localhost ! localdomain
[Download RAW message or body]

[Attachment #2 (text/plain)]

kossebau added a comment.


  TD;LR current legacy-based implementation might need that format. Needs complete \
tested porting to KPlugin.  
  I had blindly copying the only other-known-to-me existing plugin data, which also \
has that metadata schema.   Cmp. also \
https://phabricator.kde.org/source/plasma-workspace/browse/master/plasmacalendarintegration/holidayeventsplugin.json
  
  Looking at https://phabricator.kde.org/source/plasma-framework/browse/master/src/declarativeimports/calendar/eventpluginsmanager.cpp$136 \
I see now that this is some legacy schema, and one could also use kplugin-based \
metadata. Might need some other changes to the plugin, like changing the IID. Can \
have a look later this week.  
  But grepping for *.json makes my MIME/Media type heart bleed. Someone(tm) should \
introduce a proper file suffix (e.g. .kplugindata) for those specific schema.  We \
also use .cpp for C++ sources, despite the base format being plain text (.txt).

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D14335

To: yurchor, #plasma, #localization, kossebau
Cc: ltoscano, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, \
jensreuterberg, abetts, sebas, apol, mart


[Attachment #3 (text/html)]

<table><tr><td style="">kossebau added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: \
right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: \
#F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: \
inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D14335">View Revision</a></tr></table><br \
/><div><div><p>TD;LR current legacy-based implementation might need that format. \
Needs complete tested porting to KPlugin.</p>

<p>I had blindly copying the only other-known-to-me existing plugin data, which also \
has that metadata schema. <br /> Cmp. also <a \
href="https://phabricator.kde.org/source/plasma-workspace/browse/master/plasmacalendarintegration/holidayeventsplugin.json" \
class="remarkup-link" target="_blank" \
rel="noreferrer">https://phabricator.kde.org/source/plasma-workspace/browse/master/plasmacalendarintegration/holidayeventsplugin.json</a></p>


<p>Looking at <a href="https://phabricator.kde.org/source/plasma-framework/browse/master/src/declarativeimports/calendar/eventpluginsmanager.cpp$136" \
class="remarkup-link" target="_blank" \
rel="noreferrer">https://phabricator.kde.org/source/plasma-framework/browse/master/src/declarativeimports/calendar/eventpluginsmanager.cpp$136</a> \
I see now that this is some legacy schema, and one could also use kplugin-based \
metadata. Might need some other changes to the plugin, like changing the IID. Can \
have a look later this week.</p>

<p>But grepping for *.json makes my MIME/Media type heart bleed. Someone(tm) should \
introduce a proper file suffix (e.g. .kplugindata) for those specific schema.<br /> \
We also use .cpp for C++ sources, despite the base format being plain text \
(.txt).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma \
Addons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D14335">https://phabricator.kde.org/D14335</a></div></div><br \
/><div><strong>To: </strong>yurchor, Plasma, Localization, kossebau<br /><strong>Cc: \
</strong>ltoscano, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, \
jensreuterberg, abetts, sebas, apol, mart<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic