From 859e255186cda1f16410842bfea0b815e283a6e6 Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Sun, 21 Nov 2021 15:56:13 +0100 Subject: [PATCH] [feed] Change patter for DateTime channel types to be considered by i18n-tool (#11618) Signed-off-by: Christoph Weitkamp --- .../src/main/resources/OH-INF/i18n/feed.properties | 2 ++ .../src/main/resources/OH-INF/thing/thing-types.xml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/i18n/feed.properties b/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/i18n/feed.properties index a2fcf337e..b8cfef11b 100644 --- a/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/i18n/feed.properties +++ b/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/i18n/feed.properties @@ -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 diff --git a/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/thing/thing-types.xml index 017295641..188872273 100644 --- a/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.feed/src/main/resources/OH-INF/thing/thing-types.xml @@ -62,7 +62,7 @@ DateTime Contains the published date of the last feed entry. - + @@ -104,7 +104,7 @@ DateTime The last update date of the feed. - +