119 lines
8.0 KiB
SQL
119 lines
8.0 KiB
SQL
-- MSIN-4467 — Refonte visuelle de la gestion des dossards
|
||
-- Ajoute uniquement de nouvelles clés Info pour la navigation et l'aperçu de production.
|
||
-- Idempotent. Aucun libellé existant ni aucune donnée métier ne sont modifiés.
|
||
|
||
INSERT INTO info (
|
||
info_clef,
|
||
info_langue,
|
||
info_texte,
|
||
info_aide,
|
||
info_prg,
|
||
info_description,
|
||
info_trie,
|
||
info_actif,
|
||
info_option1,
|
||
info_option2,
|
||
info_option3,
|
||
info_creation
|
||
)
|
||
SELECT
|
||
src.info_clef,
|
||
src.info_langue,
|
||
src.info_texte,
|
||
src.info_aide,
|
||
'compte.php',
|
||
'MSIN-4467',
|
||
0,
|
||
1,
|
||
'',
|
||
'',
|
||
'',
|
||
NOW()
|
||
FROM (
|
||
SELECT 'bib_v5_workspace_label' info_clef, 'fr' info_langue, 'Gestion des dossards' info_texte, '' info_aide
|
||
UNION ALL SELECT 'bib_v5_workspace_label', 'en', 'Bib management', ''
|
||
UNION ALL SELECT 'bib_v5_workspace_preparation', 'fr', 'Préparation', 'Préparer les épreuves, les plages de numéros et l''attribution des dossards.'
|
||
UNION ALL SELECT 'bib_v5_workspace_preparation', 'en', 'Preparation', 'Prepare races, number ranges and bib assignment.'
|
||
UNION ALL SELECT 'bib_v5_workspace_production', 'fr', 'Production de dossards', 'Préparer les choix à transmettre à l''imprimeur à partir des plages existantes.'
|
||
UNION ALL SELECT 'bib_v5_workspace_production', 'en', 'Bib production', 'Prepare printer instructions using existing bib ranges.'
|
||
UNION ALL SELECT 'bib_v5_workspace_operations', 'fr', 'Opérations', 'Vérifier les anomalies et préparer la distribution.'
|
||
UNION ALL SELECT 'bib_v5_workspace_operations', 'en', 'Operations', 'Review anomalies and prepare distribution.'
|
||
UNION ALL SELECT 'bib_v5_workspace_settings', 'fr', 'Réglages', 'Règles qui s''appliquent à l''ensemble de l''événement.'
|
||
UNION ALL SELECT 'bib_v5_workspace_settings', 'en', 'Settings', 'Rules that apply to the entire event.'
|
||
UNION ALL SELECT 'bib_v5_preparation_intro', 'fr', 'Préparez les épreuves et attribuez les dossards aux inscriptions.', ''
|
||
UNION ALL SELECT 'bib_v5_preparation_intro', 'en', 'Prepare races and assign bibs to registrations.', ''
|
||
UNION ALL SELECT 'bib_v5_group_quantities', 'fr', 'Quantités', ''
|
||
UNION ALL SELECT 'bib_v5_group_quantities', 'en', 'Quantities', ''
|
||
UNION ALL SELECT 'bib_v5_group_bibs', 'fr', 'Dossards', ''
|
||
UNION ALL SELECT 'bib_v5_group_bibs', 'en', 'Bibs', ''
|
||
UNION ALL SELECT 'bib_v5_modes_intro', 'fr', 'Utilisez les modes d’assignation qui traitent plusieurs épreuves ou des besoins particuliers.', ''
|
||
UNION ALL SELECT 'bib_v5_modes_intro', 'en', 'Use assignment modes that process multiple races or special requirements.', ''
|
||
UNION ALL SELECT 'bib_v5_stat_races', 'fr', 'Épreuves actives', ''
|
||
UNION ALL SELECT 'bib_v5_stat_races', 'en', 'Active races', ''
|
||
UNION ALL SELECT 'bib_v5_stat_registered', 'fr', 'Inscriptions', ''
|
||
UNION ALL SELECT 'bib_v5_stat_registered', 'en', 'Registrations', ''
|
||
UNION ALL SELECT 'bib_v5_stat_assigned', 'fr', 'Dossards attribués', ''
|
||
UNION ALL SELECT 'bib_v5_stat_assigned', 'en', 'Assigned bibs', ''
|
||
UNION ALL SELECT 'bib_v5_stat_pending', 'fr', 'À attribuer', ''
|
||
UNION ALL SELECT 'bib_v5_stat_pending', 'en', 'To assign', ''
|
||
UNION ALL SELECT 'bib_v5_race_ready', 'fr', 'Prête', ''
|
||
UNION ALL SELECT 'bib_v5_race_ready', 'en', 'Ready', ''
|
||
UNION ALL SELECT 'bib_v5_race_incomplete', 'fr', 'À compléter', ''
|
||
UNION ALL SELECT 'bib_v5_race_incomplete', 'en', 'To complete', ''
|
||
UNION ALL SELECT 'bib_v5_quantities_title', 'fr', 'Quantités d’inscription', ''
|
||
UNION ALL SELECT 'bib_v5_quantities_title', 'en', 'Registration quantities', ''
|
||
UNION ALL SELECT 'bib_v5_bib_assignment_title', 'fr', 'Attribution des dossards', ''
|
||
UNION ALL SELECT 'bib_v5_bib_assignment_title', 'en', 'Bib assignment', ''
|
||
UNION ALL SELECT 'bib_v5_ranges_title', 'fr', 'Plages de numéros', ''
|
||
UNION ALL SELECT 'bib_v5_ranges_title', 'en', 'Number ranges', ''
|
||
UNION ALL SELECT 'bib_v5_ranges_hint', 'fr', 'Définissez les numéros disponibles pour cette épreuve.', ''
|
||
UNION ALL SELECT 'bib_v5_ranges_hint', 'en', 'Define the numbers available for this race.', ''
|
||
UNION ALL SELECT 'bib_v5_method_title', 'fr', 'Méthode d’attribution', ''
|
||
UNION ALL SELECT 'bib_v5_method_title', 'en', 'Assignment method', ''
|
||
UNION ALL SELECT 'bib_v5_batch_title', 'fr', 'Attribuer maintenant', ''
|
||
UNION ALL SELECT 'bib_v5_batch_title', 'en', 'Assign now', ''
|
||
UNION ALL SELECT 'bib_v5_batch_hint', 'fr', 'Attribuer en lot aux inscriptions qui n’ont pas encore de dossard.', ''
|
||
UNION ALL SELECT 'bib_v5_batch_hint', 'en', 'Assign in bulk to registrations that do not have a bib yet.', ''
|
||
UNION ALL SELECT 'bib_v5_auto_title', 'fr', 'Nouvelles inscriptions', ''
|
||
UNION ALL SELECT 'bib_v5_auto_title', 'en', 'New registrations', ''
|
||
UNION ALL SELECT 'bib_v5_auto_hint', 'fr', 'Attribuer automatiquement un dossard lors des prochaines inscriptions.', ''
|
||
UNION ALL SELECT 'bib_v5_auto_hint', 'en', 'Automatically assign a bib to future registrations.', ''
|
||
UNION ALL SELECT 'bib_v5_advanced_actions', 'fr', 'Actions avancées', ''
|
||
UNION ALL SELECT 'bib_v5_advanced_actions', 'en', 'Advanced actions', ''
|
||
UNION ALL SELECT 'bib_v5_production_intro', 'fr', 'Préparez les informations nécessaires à l’impression des dossards à partir des plages déjà configurées.', ''
|
||
UNION ALL SELECT 'bib_v5_production_intro', 'en', 'Prepare the information required to print bibs using the ranges already configured.', ''
|
||
UNION ALL SELECT 'bib_v5_production_planned', 'fr', 'Fonctionnalité prévue — aucune donnée ne sera enregistrée pour le moment.', ''
|
||
UNION ALL SELECT 'bib_v5_production_planned', 'en', 'Planned feature — no data will be saved yet.', ''
|
||
UNION ALL SELECT 'bib_v5_production_step_ranges', 'fr', 'Choisir les plages', ''
|
||
UNION ALL SELECT 'bib_v5_production_step_ranges', 'en', 'Choose ranges', ''
|
||
UNION ALL SELECT 'bib_v5_production_step_answers', 'fr', 'Répondre par catégorie', ''
|
||
UNION ALL SELECT 'bib_v5_production_step_answers', 'en', 'Answer by category', ''
|
||
UNION ALL SELECT 'bib_v5_production_step_review', 'fr', 'Réviser la production', ''
|
||
UNION ALL SELECT 'bib_v5_production_step_review', 'en', 'Review production', ''
|
||
UNION ALL SELECT 'bib_v5_production_step_printer', 'fr', 'Transmettre à l’imprimeur', ''
|
||
UNION ALL SELECT 'bib_v5_production_step_printer', 'en', 'Send to printer', ''
|
||
UNION ALL SELECT 'bib_v5_production_categories', 'fr', 'Préparation par épreuve et catégorie', ''
|
||
UNION ALL SELECT 'bib_v5_production_categories', 'en', 'Preparation by race and category', ''
|
||
UNION ALL SELECT 'bib_v5_production_ranges', 'fr', 'Plages existantes', ''
|
||
UNION ALL SELECT 'bib_v5_production_ranges', 'en', 'Existing ranges', ''
|
||
UNION ALL SELECT 'bib_v5_production_color', 'fr', 'Couleur du dossard', ''
|
||
UNION ALL SELECT 'bib_v5_production_color', 'en', 'Bib colour', ''
|
||
UNION ALL SELECT 'bib_v5_production_questions', 'fr', 'Questions de production', ''
|
||
UNION ALL SELECT 'bib_v5_production_questions', 'en', 'Production questions', ''
|
||
UNION ALL SELECT 'bib_v5_production_to_define', 'fr', 'À définir', ''
|
||
UNION ALL SELECT 'bib_v5_production_to_define', 'en', 'To be defined', ''
|
||
UNION ALL SELECT 'bib_v5_production_status', 'fr', 'À préparer', ''
|
||
UNION ALL SELECT 'bib_v5_production_status', 'en', 'To prepare', ''
|
||
UNION ALL SELECT 'bib_v5_operations_intro', 'fr', 'Contrôlez les anomalies et préparez les documents pour la distribution.', ''
|
||
UNION ALL SELECT 'bib_v5_operations_intro', 'en', 'Review anomalies and prepare distribution documents.', ''
|
||
UNION ALL SELECT 'bib_v5_settings_intro', 'fr', 'Gérez les règles qui s’appliquent à l’ensemble de l’événement.', ''
|
||
UNION ALL SELECT 'bib_v5_settings_intro', 'en', 'Manage rules that apply to the entire event.', ''
|
||
) src
|
||
WHERE NOT EXISTS (
|
||
SELECT 1
|
||
FROM info current_info
|
||
WHERE current_info.info_clef = src.info_clef
|
||
AND current_info.info_langue = src.info_langue
|
||
AND current_info.info_prg = 'compte.php'
|
||
);
|