From 53b7439f0255c7b512628a068c05058fc12b800a Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sun, 10 Jul 2022 07:31:34 +0200 Subject: [PATCH] [hueemulation] Add default translations for module types (#13102) Signed-off-by: Wouter Born --- .../OH-INF/i18n/hueemulation.properties | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/bundles/org.openhab.io.hueemulation/src/main/resources/OH-INF/i18n/hueemulation.properties b/bundles/org.openhab.io.hueemulation/src/main/resources/OH-INF/i18n/hueemulation.properties index 231bfb59628..f14a700d807 100644 --- a/bundles/org.openhab.io.hueemulation/src/main/resources/OH-INF/i18n/hueemulation.properties +++ b/bundles/org.openhab.io.hueemulation/src/main/resources/OH-INF/i18n/hueemulation.properties @@ -23,6 +23,79 @@ io.config.hueemulation.temporarilyEmulateV1bridge.description = Some Amazon Echo io.config.hueemulation.uuid.label = Unique Bridge ID io.config.hueemulation.uuid.description = Each Hue bridge has a universal unique id (UUID) assigned. This is random generated if no value has been assigned. Note on Amazon Alexa Echo devices: It might help to change the UUID after you have changed item ids. The Echos will recognize this service as a new bridge. +# hue.ruleCondition + +module-type.hue.ruleCondition.label = A condition especially for Hue rules +module-type.hue.ruleCondition.description = Depending on the operator and item state this condition will be satisfied or not +module-type.hue.ruleCondition.config.operator.label = Operator +module-type.hue.ruleCondition.config.operator.description = The operator that compares either the hue bridge time or a light/sensor state with a given static value +module-type.hue.ruleCondition.config.operator.option.eq = Equal +module-type.hue.ruleCondition.config.operator.option.gt = Greater than +module-type.hue.ruleCondition.config.operator.option.lt = Lower than +module-type.hue.ruleCondition.config.operator.option.dx = On item state change +module-type.hue.ruleCondition.config.operator.option.ddx = On item state change, delayed +module-type.hue.ruleCondition.config.operator.option.stable = Item has been updated but did not change +module-type.hue.ruleCondition.config.operator.option.not_stable = Item has been updated and has changed +module-type.hue.ruleCondition.config.operator.option.in = The current time is in range of the given time +module-type.hue.ruleCondition.config.operator.option.not_in = The current time is NOT in range of the given time +module-type.hue.ruleCondition.config.address.label = Hue link address +module-type.hue.ruleCondition.config.address.description = A hue local link address like /sensors/2/state/buttonevent or /config/localtime +module-type.hue.ruleCondition.config.value.label = An optional compare value +module-type.hue.ruleCondition.config.value.description = Only valid for eq,lg,lt operators and a number or boolean item type or in,not_in. For the later it must be in the format of W127/T12:12:12/T14:00:00 describing the valid weekdays (binary encoded), the start time and stop time. + +# rules.HttpAction + +module-type.rules.HttpAction.label = Remove rule +module-type.rules.HttpAction.description = Removes a rule permanently +module-type.rules.HttpAction.config.method.label = Http method +module-type.rules.HttpAction.config.method.description = The http method to be used +module-type.rules.HttpAction.config.method.option.GET = GET +module-type.rules.HttpAction.config.method.option.POST = POST +module-type.rules.HttpAction.config.method.option.PUT = PUT +module-type.rules.HttpAction.config.method.option.HEAD = HEAD +module-type.rules.HttpAction.config.method.option.DELETE = DELETE +module-type.rules.HttpAction.config.url.label = URL +module-type.rules.HttpAction.config.url.description = The url that the http request should be done on. Can be a relative one, starting with '/'. For example '/api/foo/bar' +module-type.rules.HttpAction.config.body.label = Data +module-type.rules.HttpAction.config.body.description = For post and put request you can send data with the request +module-type.rules.HttpAction.config.mimetype.label = Mimetype +module-type.rules.HttpAction.config.mimetype.description = For post and put request you can send data with the request. Set the mimetype of that date here. +module-type.rules.HttpAction.config.mimetype.option.text/plain = Text +module-type.rules.HttpAction.config.mimetype.option.application/json = Json +module-type.rules.HttpAction.config.mimetype.option.application/xml = XML +module-type.rules.HttpAction.config.mimetype.option.application/octet-stream = Binary +module-type.rules.HttpAction.config.timeout.label = Timeout in sec +module-type.rules.HttpAction.config.timeout.description = The timeout of this request in seconds. + +# rules.RemoveRuleAction + +module-type.rules.RemoveRuleAction.label = Remove rule +module-type.rules.RemoveRuleAction.description = Removes a rule permanently +module-type.rules.RemoveRuleAction.config.removeuid.label = Rule +module-type.rules.RemoveRuleAction.config.removeuid.description = The rule that should be removed + +# timer.AbsoluteDateTimeTrigger + +module-type.timer.AbsoluteDateTimeTrigger.label = Absolute date/time Trigger +module-type.timer.AbsoluteDateTimeTrigger.description = This triggers a rule based on a fixed date/time +module-type.timer.AbsoluteDateTimeTrigger.config.date.label = Date +module-type.timer.AbsoluteDateTimeTrigger.config.date.description = A date with the pattern yyyy-mm-dd +module-type.timer.AbsoluteDateTimeTrigger.config.time.label = Time +module-type.timer.AbsoluteDateTimeTrigger.config.time.description = A time with the pattern hh:mm:ss +module-type.timer.AbsoluteDateTimeTrigger.config.randomizeTime.label = Randomized Time bound +module-type.timer.AbsoluteDateTimeTrigger.config.randomizeTime.description = An upper time bound with the pattern hh:mm:ss. If this is given, the trigger triggers on a random time between Time and Randomized Time + +# timer.TimerTrigger + +module-type.timer.TimerTrigger.label = Timer Trigger +module-type.timer.TimerTrigger.description = This triggers a rule based on a timer +module-type.timer.TimerTrigger.config.time.label = Duration +module-type.timer.TimerTrigger.config.time.description = A duration before this timer expires with the pattern hh:mm:ss. The shortest duration is therefore 1 second, the longest is 99 hours. +module-type.timer.TimerTrigger.config.randomizeTime.label = Duration Upper Bound +module-type.timer.TimerTrigger.config.randomizeTime.description = An optional upper bound duration before this timer expires with the pattern hh:mm:ss. A random duration between Duration and Duration Upper Bound will be chosen. +module-type.timer.TimerTrigger.config.repeat.label = Repeat +module-type.timer.TimerTrigger.config.repeat.description = You can make this timer a recurring timer by setting a value above 1. The default is 1. If you set a value below 0 like -1 this timer will be repeated indefinitely + # service service.io.hueemulation.label = Hue Emulation