16 lines
1.2 KiB
SQL
16 lines
1.2 KiB
SQL
-- MSIN-4443 — Message d'erreur création séquences (assignation globale sans séquence)
|
|
-- Contexte : remplace le message trop vague « Erreur » (bib_v4_ajax_error) sur échec INSERT
|
|
-- Notes prod : idempotent
|
|
|
|
DELETE FROM info
|
|
WHERE info_clef IN (
|
|
'bib_v4_global_batch_gen_insert_failed',
|
|
'bib_v4_js_global_gen_epr_missing'
|
|
) AND info_prg = 'compte.php';
|
|
|
|
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
|
|
('bib_v4_global_batch_gen_insert_failed', 'fr', 'Impossible de créer la séquence de dossards. Réessayez ou rechargez la page.', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('bib_v4_global_batch_gen_insert_failed', 'en', 'Could not create the bib sequence. Try again or reload the page.', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('bib_v4_js_global_gen_epr_missing', 'fr', 'Épreuve introuvable sur la page après création des séquences. Rechargez la page puis réessayez.', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('bib_v4_js_global_gen_epr_missing', 'en', 'Race not found on the page after creating sequences. Reload the page and try again.', '', 'compte.php', '', 0, 1, '', '', '', NOW());
|