refactor(naming): normalise the Smart Links domain to the bundle's canonical names (0.18.1)

One bundle, two domains (Marketing Programs and Smart Links), one naming scheme.\nNothing in the database changed (no tables, columns, URLs or stored data);\nthe runtime was rebuilt and verified live.\n\n- Route names mautic_smartlinks_* -> mt3s_smartlinks_* (paths unchanged);\n  the menu ids follow\n- Model service aliases collapsed to one canonical alias per model:\n  mautic.mt3smarketingprogram.model.<entity> (core's mautic.<x>.model.<x>\n  pattern), so getModel('mt3smarketingprogram.smart_link'); the dead\n  mt3s.* and mautic.mt3smp.*-era aliases are gone\n- Translation keys mautic.smartlinks.* -> mt3s.smart_links.*\n  (mautic.config.tab.smartlinksconfig stays: core derives it)\n- Settings parameters smartlinks_utm_config/smartlinks_config ->\n  mt3s_smart_links_utm_config/mt3s_smart_links_config, with both legacy\n  keys (smartlinks_* of the standalone bundle, utm_manager_* of the\n  UtmManagerBundle era) still readable until the settings are saved again\n- JS loader prefixes smartlinksSmartLink/smartlinksUtmTaxonomy ->\n  mt3sMpSmartLink/mt3sMpUtmTaxonomy (the mt3sMp* family of the program\n  domain)\n- Integration/Support/ConfigSupport -> SmartlinksConfigSupport; integration\n  display names aligned ('MT3S Marketing Program' / 'Smart Links'); the\n  dead mautic.plugin.smartlinks.name catalog keys removed\n- phpunit suite renamed UtmManagerBundle -> MT3SMarketingProgramBundle;\n  version 0.18.1\n\nVerified: full php -l, 90/90 unit tests (phpunit 11.5 phar), cache clear +\nwarm + assets regenerate + plugins reload (as www-data), live: both lists\nand forms (mauticContent mt3sMpSmartLink/mt3sMpUtmTaxonomy), both config\ntabs, the menu labels, the program pages (regression), the public /l/y32b\nredirect through the legacy utm_manager_* settings (302 with the taxonomy's\nUTM values, wrong host and unknown slug 404), all ini catalogs parse, zero\nnew log errors.
This commit is contained in:
Alexandre Gain committed 2026-11-16 15:47:30 +01:00
1 parent dce849610c
commit 9d81d6c815
53 files changed
+777 -751

No files matched your search

+33 -33
View File
@@ -23,39 +23,39 @@ mt3s.marketing_program.config.type.in_use="These types are in use and can't be r
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."
mt3s.smart_links.config.error.key_required="Enter a key for the custom parameter."
mt3s.smart_links.config.error.key_invalid="The key \"%key%\" is invalid. Use 2 to 41 lowercase letters, digits or underscores, starting with a letter."
mt3s.smart_links.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."
mt3s.smart_links.config.error.key_duplicate="The key \"%key%\" is used by more than one custom parameter."
mt3s.smart_links.config.error.mode_invalid="This mode isn't available for this parameter."
mt3s.smart_links.config.error.separator_invalid="Choose a hyphen, an underscore or a dot."
mt3s.smart_links.config.error.label_required="Enter a label."
mt3s.smart_links.config.error.label_length="The label can't be longer than {{ limit }} characters."
mt3s.smart_links.config.error.label_invalid="The label can't contain the % character."
mt3s.smart_links.config.error.value_required="Enter a value."
mt3s.smart_links.config.error.value_length="The value can't be longer than {{ limit }} characters."
mt3s.smart_links.config.error.value_invalid="Use only lowercase letters, digits, hyphens, underscores and dots in values."
mt3s.smart_links.config.error.value_duplicate="The value \"%value%\" appears more than once."
mt3s.smart_links.config.error.values_required="An enabled parameter in dropdown mode needs at least one value."
mt3s.smart_links.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."
mt3s.smart_links.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."
mt3s.smart_links.smart_links.error.slug_required="Enter a slug."
mt3s.smart_links.smart_links.error.slug_length="The slug can't be longer than {{ limit }} characters."
mt3s.smart_links.smart_links.error.slug_characters="Use only letters, digits, hyphens, underscores and dots in the slug."
mt3s.smart_links.smart_links.error.slug_taken="Another Smart Link already uses the slug \"%slug%\". Choose a different one."
mt3s.smart_links.smart_links.error.slug_immutable="The slug of a Smart Link can't be changed. Delete it and create a new one."
mt3s.smart_links.smart_links.error.destination_required="Enter the destination URL of the external redirect."
mt3s.smart_links.smart_links.error.destination_required_mautic="Choose a landing page or a standalone form as the destination of the Mautic redirect."
mt3s.smart_links.smart_links.error.destination_invalid="The destination URL must be a valid http(s) URL."
mt3s.smart_links.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."
mt3s.smart_links.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%."
mt3s.smart_links.taxonomies.error.name_required="Enter a name."
mt3s.smart_links.taxonomies.error.name_length="The name cannot be longer than {{ limit }} characters."
mt3s.smart_links.taxonomies.error.name_taken="Another UTM Taxonomy already uses the name %name%."
mt3s.smart_links.taxonomies.error.name_characters="The name cannot contain the characters %, { or }."
mt3s.smart_links.taxonomies.error.value_invalid="The value %value% is invalid. Use only lowercase letters, digits, hyphens, underscores and dots."
mt3s.smart_links.smart_links.error.taxonomy_required="Choose a UTM Taxonomy."
mt3s.smart_links.smart_links.error.taxonomy_parameter_unknown="The parameter %key% is not part of the taxonomy %name%."