From a4566981d3070dbd35da354b515c2640474aae09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Cailly?= Date: Mon, 22 Dec 2025 16:31:52 +0100 Subject: [PATCH] fix(forms): Fix quote display in tag destination field strategy labels --- CHANGELOG.md | 2 +- inc/destinationfieldstrategy.class.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f889f31..fbb84eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Fix tag search - +- Fix quote display in tag destination field strategy labels ## [2.14.2] - 2025-12-02 diff --git a/inc/destinationfieldstrategy.class.php b/inc/destinationfieldstrategy.class.php index 4481312..2d6e00d 100644 --- a/inc/destinationfieldstrategy.class.php +++ b/inc/destinationfieldstrategy.class.php @@ -40,10 +40,10 @@ enum PluginTagDestinationFieldStrategy: string public function getLabel(): string { return match ($this) { - self::NO_TAGS => __s("No tags"), - self::SPECIFIC_VALUES => __s("Specific tags"), - self::SPECIFIC_ANSWERS => __s("Answers from specific questions"), - self::LAST_VALID_ANSWER => __s('Answer to last "Tag" question'), + self::NO_TAGS => __("No tags"), + self::SPECIFIC_VALUES => __("Specific tags"), + self::SPECIFIC_ANSWERS => __("Answers from specific questions"), + self::LAST_VALID_ANSWER => __('Answer to last "Tag" question'), }; }