From d24204bdbe3312132b706a423806339404cbbdb8 Mon Sep 17 00:00:00 2001 From: Anupam Kumar Date: Tue, 18 Nov 2025 20:21:27 +0530 Subject: [PATCH] chore: do not translation enum values description (#193) Signed-off-by: Anupam Kumar --- lib/TaskProcessing/ContextChatSearchTaskType.php | 2 +- lib/TaskProcessing/ContextChatTaskType.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/TaskProcessing/ContextChatSearchTaskType.php b/lib/TaskProcessing/ContextChatSearchTaskType.php index 16f40623..36ecad04 100644 --- a/lib/TaskProcessing/ContextChatSearchTaskType.php +++ b/lib/TaskProcessing/ContextChatSearchTaskType.php @@ -60,7 +60,7 @@ public function getInputShape(): array { ), 'scopeType' => new ShapeDescriptor( $this->l->t('Scope type'), - $this->l->t('none, provider'), + 'Any of the following values: "none", "provider".', // not translated as these are fixed values EShapeType::Text, ), 'scopeList' => new ShapeDescriptor( diff --git a/lib/TaskProcessing/ContextChatTaskType.php b/lib/TaskProcessing/ContextChatTaskType.php index 86d21f36..bd857f98 100644 --- a/lib/TaskProcessing/ContextChatTaskType.php +++ b/lib/TaskProcessing/ContextChatTaskType.php @@ -60,7 +60,7 @@ public function getInputShape(): array { ), 'scopeType' => new ShapeDescriptor( $this->l->t('Scope type'), - $this->l->t('none, source, provider'), + 'Any of the following values: "none", "source", "provider".', // not translated as these are fixed values EShapeType::Text, ), 'scopeList' => new ShapeDescriptor(