Skip to content

Commit 1925a71

Browse files
committed
Added translations for new IPN suggestion settings
1 parent 023d38d commit 1925a71

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
lines changed

src/Settings/MiscSettings/IpnSuggestSettings.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
use Symfony\Component\Validator\Constraints as Assert;
3636

3737
#[Settings(label: new TM("settings.misc.ipn_suggest"))]
38-
#[SettingsIcon("fa-list")]
38+
#[SettingsIcon("fa-arrow-up-1-9")]
3939
class IpnSuggestSettings
4040
{
4141
use SettingsTrait;
@@ -91,14 +91,14 @@ class IpnSuggestSettings
9191
description: new TM("settings.misc.ipn_suggest.numberSeparator.help"),
9292
options: ['type' => StringType::class],
9393
)]
94-
public ?string $numberSeparator = '-';
94+
public string $numberSeparator = '-';
9595

9696
#[SettingsParameter(
9797
label: new TM("settings.misc.ipn_suggest.categorySeparator"),
9898
description: new TM("settings.misc.ipn_suggest.categorySeparator.help"),
9999
options: ['type' => StringType::class],
100100
)]
101-
public ?string $categorySeparator = '-';
101+
public string $categorySeparator = '-';
102102

103103
#[SettingsParameter(
104104
label: new TM("settings.misc.ipn_suggest.globalPrefix"),

translations/messages.en.xlf

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14484,5 +14484,53 @@ Please note that this system is currently experimental, and the synonyms defined
1448414484
<target>The global IPN prefix, common across all parts</target>
1448514485
</segment>
1448614486
</unit>
14487+
<unit id="WlKvQeB" name="settings.misc.ipn_suggest.fallbackPrefix">
14488+
<segment>
14489+
<source>settings.misc.ipn_suggest.fallbackPrefix</source>
14490+
<target>Fallback prefix</target>
14491+
</segment>
14492+
</unit>
14493+
<unit id="Fr8hXdE" name="settings.misc.ipn_suggest.fallbackPrefix.help">
14494+
<segment>
14495+
<source>settings.misc.ipn_suggest.fallbackPrefix.help</source>
14496+
<target>The IPN prefix that should be used, if a category has no prefix defined.</target>
14497+
</segment>
14498+
</unit>
14499+
<unit id="_p9cMpI" name="settings.misc.ipn_suggest.numberSeparator">
14500+
<segment>
14501+
<source>settings.misc.ipn_suggest.numberSeparator</source>
14502+
<target>Number separator</target>
14503+
</segment>
14504+
</unit>
14505+
<unit id="CqfzuM6" name="settings.misc.ipn_suggest.numberSeparator.help">
14506+
<segment>
14507+
<source>settings.misc.ipn_suggest.numberSeparator.help</source>
14508+
<target>The separator character used to separate the IPN number from the prefix.</target>
14509+
</segment>
14510+
</unit>
14511+
<unit id="PisGfwB" name="settings.misc.ipn_suggest.categorySeparator">
14512+
<segment>
14513+
<source>settings.misc.ipn_suggest.categorySeparator</source>
14514+
<target>Category separator</target>
14515+
</segment>
14516+
</unit>
14517+
<unit id="jlNd0CI" name="settings.misc.ipn_suggest.categorySeparator.help">
14518+
<segment>
14519+
<source>settings.misc.ipn_suggest.categorySeparator.help</source>
14520+
<target>The separator character used to separate different levels of category prefixes.</target>
14521+
</segment>
14522+
</unit>
14523+
<unit id="MkiJuRK" name="settings.misc.ipn_suggest.globalPrefix">
14524+
<segment>
14525+
<source>settings.misc.ipn_suggest.globalPrefix</source>
14526+
<target>Global prefix</target>
14527+
</segment>
14528+
</unit>
14529+
<unit id="Akh9iFg" name="settings.misc.ipn_suggest.globalPrefix.help">
14530+
<segment>
14531+
<source>settings.misc.ipn_suggest.globalPrefix.help</source>
14532+
<target>If enabled, an option for to generate IPN with this global prefix, shared across parts in all categories.</target>
14533+
</segment>
14534+
</unit>
1448714535
</file>
1448814536
</xliff>

0 commit comments

Comments
 (0)