Made IPN format help placeholder translatable

This commit is contained in:
Jan Böhmer 2025-11-30 15:38:46 +01:00
parent 3649fffde1
commit 161a9e930d
2 changed files with 7 additions and 1 deletions

View file

@ -53,7 +53,7 @@ class IpnSuggestSettings
label: new TM("settings.misc.ipn_suggest.regex_help"),
description: new TM("settings.misc.ipn_suggest.regex_help_description"),
options: ['type' => StringType::class],
formOptions: ['attr' => ['placeholder' => 'Format: 34 alphanumeric segments (any number) separated by "-", followed by "-" and 4 digits, e.g., PCOM-RES-0001']],
formOptions: ['attr' => ['placeholder' => new TM('settings.misc.ipn_suggest.regex.help.placeholder')]],
envVar: "IPN_SUGGEST_REGEX_HELP", envVarMode: EnvVarMode::OVERWRITE,
)]
public ?string $regexHelp = null;