From 103098c6305d48ac58d2eb78eb4051c0321ba9b8 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Sat, 21 May 2022 09:15:48 +0200 Subject: [PATCH] Fix interpret actions description (#2969) Signed-off-by: Laurent Garnier --- .../src/org/openhab/core/model/script/actions/Voice.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Voice.java b/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Voice.java index b1620f7d9..933165b75 100644 --- a/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Voice.java +++ b/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Voice.java @@ -161,7 +161,7 @@ public class Voice { * @param text The text to interpret * @param interpreters Comma separated list of human language text interpreters to use */ - @ActionDoc(text = "interprets a given text by a given human language interpreter(s)", returns = "human language response") + @ActionDoc(text = "interprets a given text by given human language interpreter(s)", returns = "human language response") public static String interpret(@ParamDoc(name = "text") Object text, @ParamDoc(name = "interpreters") @Nullable String interpreters) { String response; @@ -185,7 +185,7 @@ public class Voice { * @param interpreters Comma separated list of human language text interpreters to use * @param sink The name of audio sink to be used to play the error message */ - @ActionDoc(text = "interprets a given text by a given human language interpreter(s)", returns = "human language response") + @ActionDoc(text = "interprets a given text by given human language interpreter(s) and using the given sink", returns = "human language response") public static String interpret(@ParamDoc(name = "text") Object text, @ParamDoc(name = "interpreters") String interpreters, @ParamDoc(name = "sink") @Nullable String sink) { String response;