Files
ms1inscription-v5/sql/MSIN-4401-inscr-gestion-list-i18n.sql

32 lines
2.0 KiB
SQL

-- MSIN-4401 — Libellés Info liste résultats (gestion inscriptions V2)
-- Prérequis : aucun
-- Idempotent (DELETE + INSERT). Jamais de FR/EN en dur dans le PHP de la liste.
DELETE FROM info
WHERE info_prg = 'compte.php'
AND info_clef IN (
'inscr_gestion_col_participant',
'inscr_gestion_col_commande',
'inscr_gestion_col_dossard',
'inscr_gestion_col_remis',
'inscr_gestion_list_count_one',
'inscr_gestion_list_count_many',
'inscr_gestion_list_page'
);
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) VALUES
('inscr_gestion_col_participant', 'fr', 'Participant', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_col_participant', 'en', 'Participant', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_col_commande', 'fr', 'Commande', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_col_commande', 'en', 'Order', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_col_dossard', 'fr', 'Dossard', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_col_dossard', 'en', 'Bib', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_col_remis', 'fr', 'Remis', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_col_remis', 'en', 'Issued', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_list_count_one', 'fr', '%d inscription', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_list_count_one', 'en', '%d registration', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_list_count_many', 'fr', '%d inscriptions', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_list_count_many', 'en', '%d registrations', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_list_page', 'fr', 'Page %d / %d', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_gestion_list_page', 'en', 'Page %d / %d', '', 'compte.php', '', 0, 1, '', '', '', NOW());