From 682cb8a1b5235176c3446de3634d74ea8b6c9408 Mon Sep 17 00:00:00 2001 From: dalgwen Date: Tue, 11 Jan 2022 13:17:33 +0100 Subject: [PATCH] [mycroft] Init i18n (#12020) (and by the way, reorder alphabetically the CODEOWNERS file) Signed-off-by: Gwendal Roulleau --- CODEOWNERS | 2 +- .../resources/OH-INF/i18n/mycroft.properties | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 bundles/org.openhab.binding.mycroft/src/main/resources/OH-INF/i18n/mycroft.properties diff --git a/CODEOWNERS b/CODEOWNERS index 42d9cf0e97053..438150878bc27 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -197,8 +197,8 @@ /bundles/org.openhab.binding.mqtt.generic/ @davidgraeff /bundles/org.openhab.binding.mqtt.homeassistant/ @davidgraeff @antroids /bundles/org.openhab.binding.mqtt.homie/ @davidgraeff -/bundles/org.openhab.binding.myq/ @digitaldan /bundles/org.openhab.binding.mycroft/ @dalgwen +/bundles/org.openhab.binding.myq/ @digitaldan /bundles/org.openhab.binding.mystrom/ @pail23 /bundles/org.openhab.binding.nanoleaf/ @raepple @stefan-hoehn /bundles/org.openhab.binding.neato/ @jjlauterbach diff --git a/bundles/org.openhab.binding.mycroft/src/main/resources/OH-INF/i18n/mycroft.properties b/bundles/org.openhab.binding.mycroft/src/main/resources/OH-INF/i18n/mycroft.properties new file mode 100644 index 0000000000000..0e267f734d22d --- /dev/null +++ b/bundles/org.openhab.binding.mycroft/src/main/resources/OH-INF/i18n/mycroft.properties @@ -0,0 +1,34 @@ +# binding + +binding.mycroft.name = Mycroft Binding +binding.mycroft.description = Connects to a Mycroft instance in order to receive information from, and send commands to it. Typical usage includes triggering Mycroft to listen (as if a wake word was detected), sending text for Mycroft to speak, reacting on some specific intent, command skills by faking a spoken utterance, etc. + +# thing types + +thing-type.mycroft.mycroft.label = Mycroft +thing-type.mycroft.mycroft.description = A Mycroft instance + +# thing types config + +thing-type.config.mycroft.mycroft.host.label = Hostname +thing-type.config.mycroft.mycroft.host.description = This is the host to connect to (ip or hostname) +thing-type.config.mycroft.mycroft.port.label = Port +thing-type.config.mycroft.mycroft.port.description = This is the port to connect to. +thing-type.config.mycroft.mycroft.volume_restoration_level.label = Volume Restoration Level +thing-type.config.mycroft.mycroft.volume_restoration_level.description = When unmuted, force Mycroft to restore volume to this value + +# channel types + +channel-type.mycroft.full-message-channel.label = Full Bus Message +channel-type.mycroft.full-message-channel.description = The last full message seen on the Mycroft Bus. +channel-type.mycroft.listen-channel.label = Listen State +channel-type.mycroft.listen-channel.description = Switch to ON when Mycroft is listening. Can simulate a wake work detection to trigger the STT. +channel-type.mycroft.speak-channel.label = TTS +channel-type.mycroft.speak-channel.description = The last sentence Mycroft spoke. +channel-type.mycroft.utterance-channel.label = Utterance +channel-type.mycroft.utterance-channel.description = The last utterance Mycroft received. + +# channel types config + +channel-type.config.mycroft.full-message-channel.messageTypes.label = Full Message Channel Filter +channel-type.config.mycroft.full-message-channel.messageTypes.description = The full message channel will be updated on these message types only (comma separated value)