[feed] Change patter for DateTime channel types to be considered by i18n-tool (#11618)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
Christoph Weitkamp 2021-11-21 15:56:13 +01:00 committed by GitHub
parent f9695f2d8d
commit 859e255186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,10 @@ channel-type.feed.description.label = Description
channel-type.feed.description.description = Description of the feed.
channel-type.feed.last-update.label = Last Update
channel-type.feed.last-update.description = The last update date of the feed.
channel-type.feed.last-update.state.pattern = %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS
channel-type.feed.latest-date.label = Latest Published Date
channel-type.feed.latest-date.description = Contains the published date of the last feed entry.
channel-type.feed.latest-date.state.pattern = %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS
channel-type.feed.latest-description.label = Latest Description
channel-type.feed.latest-description.description = Contains the description of the last feed entry.
channel-type.feed.latest-enclosure.label = Latest Enclosure

View File

@ -62,7 +62,7 @@
<item-type>DateTime</item-type>
<label>Latest Published Date</label>
<description>Contains the published date of the last feed entry.</description>
<state readOnly="true" pattern="%tc %n"/>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>
</channel-type>
<channel-type id="latest-link">
@ -104,7 +104,7 @@
<item-type>DateTime</item-type>
<label>Last Update</label>
<description>The last update date of the feed.</description>
<state readOnly="true" pattern="%tc %n"/>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>
</channel-type>
<channel-type id="number-of-entries" advanced="true">