diff --git a/src/Settings/MiscSettings/IpnSuggestSettings.php b/src/Settings/MiscSettings/IpnSuggestSettings.php index 16face21..2c2cb21a 100644 --- a/src/Settings/MiscSettings/IpnSuggestSettings.php +++ b/src/Settings/MiscSettings/IpnSuggestSettings.php @@ -35,7 +35,7 @@ use Symfony\Component\Translation\TranslatableMessage as TM; use Symfony\Component\Validator\Constraints as Assert; #[Settings(label: new TM("settings.misc.ipn_suggest"))] -#[SettingsIcon("fa-list")] +#[SettingsIcon("fa-arrow-up-1-9")] class IpnSuggestSettings { use SettingsTrait; @@ -91,14 +91,14 @@ class IpnSuggestSettings description: new TM("settings.misc.ipn_suggest.numberSeparator.help"), options: ['type' => StringType::class], )] - public ?string $numberSeparator = '-'; + public string $numberSeparator = '-'; #[SettingsParameter( label: new TM("settings.misc.ipn_suggest.categorySeparator"), description: new TM("settings.misc.ipn_suggest.categorySeparator.help"), options: ['type' => StringType::class], )] - public ?string $categorySeparator = '-'; + public string $categorySeparator = '-'; #[SettingsParameter( label: new TM("settings.misc.ipn_suggest.globalPrefix"), diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 5b7749e1..d6092f03 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -14484,5 +14484,53 @@ Please note that this system is currently experimental, and the synonyms defined The global IPN prefix, common across all parts + + + settings.misc.ipn_suggest.fallbackPrefix + Fallback prefix + + + + + settings.misc.ipn_suggest.fallbackPrefix.help + The IPN prefix that should be used, if a category has no prefix defined. + + + + + settings.misc.ipn_suggest.numberSeparator + Number separator + + + + + settings.misc.ipn_suggest.numberSeparator.help + The separator character used to separate the IPN number from the prefix. + + + + + settings.misc.ipn_suggest.categorySeparator + Category separator + + + + + settings.misc.ipn_suggest.categorySeparator.help + The separator character used to separate different levels of category prefixes. + + + + + settings.misc.ipn_suggest.globalPrefix + Global prefix + + + + + settings.misc.ipn_suggest.globalPrefix.help + If enabled, an option for to generate IPN with this global prefix, shared across parts in all categories. + +