Merge the Smartlinks plugin (SmartlinksBundle 0.6.0) into the bundle as the Smart Links domain (0.18.0)

Two domains, one MT3S bundle: Marketing Programs (unchanged) and the
imported Smart Links (smart links + UTM taxonomies), each keeping its
own menu, tables, routes and translations.

- Code moved from MauticPlugin\SmartlinksBundle\ to
  MauticPlugin\MT3SMarketingProgramBundle\; template namespace
  @Smartlinks/ -> @MT3SMarketingProgram/; smartlinks.js ->
  Assets/js/mt3s-mp-smartlinks.js; icon -> Assets/img/smartlinks-icon.svg.
- Incoming migrations renamed Version_0_X_0_SmartLinks.php to avoid
  the class-name collision; schema untouched, data intact.
- Permissions folded into MT3SMarketingProgramPermissions:
  smart_links + taxonomies under the mt3smarketingprogram: base
  (roles that had the old smartlinks: grants must be re-granted).
- config.php: Smart Links routes + menu group, public /l/{slug},
  SmartlinksIntegration services, smartlinks_* parameters (legacy
  utm_manager_* keys still readable), version 0.18.0. The 0.17.0
  placeholder /s/marketing-program-utm-taxonomies is replaced by the
  real /s/utm-taxonomies.
- Translations merged (en_US) and added (fr_FR); Tests/ + phpunit moved
  in; readme documents both domains and the 0.18.0 merge history.

Verified live: menus, both config tabs, both lists + forms, program
pages, public redirect with taxonomy UTM values, host + unknown-slug
404s, 90/90 unit tests, full php -l, all ini catalogs parse.
This commit is contained in:
Alexandre Gain committed 2026-11-16 13:48:13 +01:00
1 parent debce4ba4a
commit dce849610c
69 files changed
+8225 -43

No files matched your search

+38
View File
@@ -21,3 +21,41 @@ mt3s.marketing_program.description_item.type.required="Choose a type."
mt3s.marketing_program.config.type.name.required="A type needs a name in the default language."
mt3s.marketing_program.config.type.in_use="These types are in use and can't be removed: %types%. Change the items or tasks that use them to another type first."
mt3s.marketing_program.allocation_item.type.required="Choose a type."
; Form validation messages of Settings > Configuration > UTM Settings (Symfony translates them in the validators domain).
mautic.smartlinks.config.error.key_required="Enter a key for the custom parameter."
mautic.smartlinks.config.error.key_invalid="The key \"%key%\" is invalid. Use 2 to 41 lowercase letters, digits or underscores, starting with a letter."
mautic.smartlinks.config.error.key_reserved="The key \"%key%\" is reserved. Keys of the catalog, \"ct\", keys starting with \"utm\" and keys starting with \"mtc_\" can't be used."
mautic.smartlinks.config.error.key_duplicate="The key \"%key%\" is used by more than one custom parameter."
mautic.smartlinks.config.error.mode_invalid="This mode isn't available for this parameter."
mautic.smartlinks.config.error.separator_invalid="Choose a hyphen, an underscore or a dot."
mautic.smartlinks.config.error.label_required="Enter a label."
mautic.smartlinks.config.error.label_length="The label can't be longer than {{ limit }} characters."
mautic.smartlinks.config.error.label_invalid="The label can't contain the % character."
mautic.smartlinks.config.error.value_required="Enter a value."
mautic.smartlinks.config.error.value_length="The value can't be longer than {{ limit }} characters."
mautic.smartlinks.config.error.value_invalid="Use only lowercase letters, digits, hyphens, underscores and dots in values."
mautic.smartlinks.config.error.value_duplicate="The value \"%value%\" appears more than once."
mautic.smartlinks.config.error.values_required="An enabled parameter in dropdown mode needs at least one value."
mautic.smartlinks.config.error.default_multiple="Only one value can be the default."
; "UTM tags" section of the Email and Focus Item forms.
mautic.smartlinks.form.error.not_in_taxonomy="This value is not part of the UTM taxonomy. Choose a value from the list."
; Smart Link form (main menu > Smart Links).
mautic.smartlinks.smart_links.error.slug_required="Enter a slug."
mautic.smartlinks.smart_links.error.slug_length="The slug can't be longer than {{ limit }} characters."
mautic.smartlinks.smart_links.error.slug_characters="Use only letters, digits, hyphens, underscores and dots in the slug."
mautic.smartlinks.smart_links.error.slug_taken="Another Smart Link already uses the slug \"%slug%\". Choose a different one."
mautic.smartlinks.smart_links.error.slug_immutable="The slug of a Smart Link can't be changed. Delete it and create a new one."
mautic.smartlinks.smart_links.error.destination_required="Enter the destination URL of the external redirect."
mautic.smartlinks.smart_links.error.destination_required_mautic="Choose a landing page or a standalone form as the destination of the Mautic redirect."
mautic.smartlinks.smart_links.error.destination_invalid="The destination URL must be a valid http(s) URL."
mautic.smartlinks.smart_links.error.utm_value_invalid="The parameter \"%key%\" is not enabled, or its value is invalid. Use only lowercase letters, digits, hyphens, underscores and dots."
mautic.smartlinks.smart_links.error.utm_value_not_allowed="The value \"%value%\" of the parameter \"%key%\" is not part of its allowed values."
; UTM Taxonomy form and taxonomy-driven Smart Link values.
mautic.smartlinks.taxonomies.error.name_required="Enter a name."
mautic.smartlinks.taxonomies.error.name_length="The name cannot be longer than {{ limit }} characters."
mautic.smartlinks.taxonomies.error.name_taken="Another UTM Taxonomy already uses the name %name%."
mautic.smartlinks.taxonomies.error.name_characters="The name cannot contain the characters %, { or }."
mautic.smartlinks.taxonomies.error.value_invalid="The value %value% is invalid. Use only lowercase letters, digits, hyphens, underscores and dots."
mautic.smartlinks.smart_links.error.taxonomy_required="Choose a UTM Taxonomy."
mautic.smartlinks.smart_links.error.taxonomy_parameter_unknown="The parameter %key% is not part of the taxonomy %name%."