Only disable translation for canopy choice options not the label

Fixes issue #1386
This commit is contained in:
Jan Böhmer 2026-07-19 23:11:33 +02:00
parent 65631dde4c
commit a47e56bd93

View file

@ -72,7 +72,7 @@ class CanopySettings
/** /**
* @var string The domain used internally for the API requests. This is not necessarily the same as the domain shown to the user, which is determined by the keys of the ALLOWED_DOMAINS constant * @var string The domain used internally for the API requests. This is not necessarily the same as the domain shown to the user, which is determined by the keys of the ALLOWED_DOMAINS constant
*/ */
#[SettingsParameter(label: new TM("settings.ips.tme.country"), formType: ChoiceType::class, formOptions: ["choices" => self::ALLOWED_DOMAINS, 'translation_domain' => false])] #[SettingsParameter(label: new TM("settings.ips.tme.country"), formType: ChoiceType::class, formOptions: ["choices" => self::ALLOWED_DOMAINS, 'choice_translation_domain' => false])]
public string $domain = "DE"; public string $domain = "DE";
/** /**