From 6be0472f28d21428a2077114a7539c3b3d5657d9 Mon Sep 17 00:00:00 2001 From: jsetton Date: Sat, 28 Sep 2024 14:31:17 -0400 Subject: [PATCH] Add missing i18n thing and channel types entries Signed-off-by: jsetton --- .../OH-INF/i18n/pushbullet.properties | 20 +++++++++++++ .../resources/OH-INF/thing/thing-types.xml | 28 +++++++++---------- 2 files changed, 34 insertions(+), 14 deletions(-) diff --git a/bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/i18n/pushbullet.properties b/bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/i18n/pushbullet.properties index 68b4f738b121f..beb771ae5f40e 100644 --- a/bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/i18n/pushbullet.properties +++ b/bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/i18n/pushbullet.properties @@ -2,6 +2,26 @@ addon.pushbullet.name = Pushbullet Binding addon.pushbullet.description = The Pushbullet binding allows you to send messages to other users of the Pushbullet service. +# thing types +thing-type.pushbullet.bot.label = Pushbullet Bot +thing-type.pushbullet.bot.description = Bot to send messages with. + +# thing types config +thing-type.config.pushbullet.bot.name.label = Name +thing-type.config.pushbullet.bot.name.description = Explicit Name of Bot, if wanted +thing-type.config.pushbullet.bot.token.label = Access Token +thing-type.config.pushbullet.bot.token.description = Access token obtained from the account settings page +thing-type.config.pushbullet.bot.apiUrlBase.label = API Server +thing-type.config.pushbullet.bot.apiUrlBase.description = The Pushbullet API Server to use, for local testing + +# channel types +channel-type.pushbullet.recipient-channel.label = Recipient +channel-type.pushbullet.recipient-channel.description = Mail address or Channel Name +channel-type.pushbullet.title-channel.label = Title +channel-type.pushbullet.title-channel.description = Title of the message +channel-type.pushbullet.message-channel.label = Message +channel-type.pushbullet.message-channel.description = The text that is to be sent + # action actionSendPushbulletNoteLabel = publish a Pushbullet message actionSendPushbulletNoteDesc = Publishes a note to the given Pushbullet Recipient. diff --git a/bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/thing/thing-types.xml index 9e5e31ef0d50f..3c131c67343c6 100644 --- a/bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/thing/thing-types.xml @@ -5,8 +5,8 @@ xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd"> - - Bot to send messages with. + + @text/thing-type.pushbullet.bot.description @@ -16,19 +16,19 @@ - - Explicit Name of Bot, if wanted + + @text/thing-type.config.pushbullet.bot.name.description true - - Access token obtained from the account settings page + + @text/thing-type.config.pushbullet.bot.token.description - - The Pushbullet API Server to use, for local testing + + @text/thing-type.config.pushbullet.bot.apiUrlBase.description https://api.pushbullet.com/v2 true @@ -39,20 +39,20 @@ String - - Mail address or Channel Name + + @text/channel-type.pushbullet.recipient-channel.description String - - Title of the message + + @text/channel-type.pushbullet.title-channel.description String - - The text that is to be sent + + @text/channel-type.pushbullet.message-channel.description