Skip to content

Add setup switch and default enable for MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES#11

Merged
mapiolca merged 1 commit intomainfrom
2026-01-19-add-switch-for-main_enable_import_linked_object_lines
Jan 19, 2026
Merged

Add setup switch and default enable for MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES#11
mapiolca merged 1 commit intomainfrom
2026-01-19-add-switch-for-main_enable_import_linked_object_lines

Conversation

@mapiolca
Copy link
Copy Markdown
Owner

Motivation

  • Permettre d'activer/désactiver l'import des lignes d'objets liés depuis l'interface d'administration et garantir que le comportement par défaut est activé pour les installations existantes.

Description

  • Définition par défaut de la constante MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES à 1 si elle n'est pas encore définie dans admin/setup.php.
  • Ajout d'une section Imports dans la page de configuration et d'un interrupteur on/off pour MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES via la fonction d'aide de configuration existante (delegation_setup_print_on_off).
  • Ajout des libellés de traduction pour la nouvelle section et l'option dans les fichiers de langues langs/en_EN/delegation.lang, langs/en_US/delegation.lang, langs/fr_FR/delegation.lang, langs/de_DE/delegation.lang, langs/es_ES/delegation.lang et langs/it_IT/delegation.lang.

Testing

  • Aucun test automatique exécuté pour cette modification.

Codex Task

@mapiolca mapiolca merged commit 6b2cfd4 into main Jan 19, 2026
1 check passed
@mapiolca mapiolca deleted the 2026-01-19-add-switch-for-main_enable_import_linked_object_lines branch January 19, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant