mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 11:09:29 +00:00
Made IPN format help placeholder translatable
This commit is contained in:
parent
3649fffde1
commit
161a9e930d
2 changed files with 7 additions and 1 deletions
|
|
@ -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: 3–4 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;
|
||||
|
|
|
|||
|
|
@ -14472,5 +14472,11 @@ Please note that this system is currently experimental, and the synonyms defined
|
|||
<target>Show</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="PVw6Lx4" name="settings.misc.ipn_suggest.regex.help.placeholder">
|
||||
<segment>
|
||||
<source>settings.misc.ipn_suggest.regex.help.placeholder</source>
|
||||
<target>e.g. Format: 3–4 alphanumeric segments (any number) separated by "-", followed by "-" and 4 digits, e.g., PCOM-RES-0001</target>
|
||||
</segment>
|
||||
</unit>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue