Files
ms1inscription-v5/sql/MSIN-4440-anomalies-nav-badge.sql
stephan ea52e72086 Update anomaly navigation badge functionality and localization, increment version code to 4.72.771
This commit enhances the anomaly navigation badge by updating the label format to include a count of items to review. The JavaScript and PHP files are modified to support this new format, improving user feedback on the number of anomalies. Additionally, new localization keys are added for the formatted label in both French and English. The version code is incremented to 4.72.771 to reflect these updates.
2026-07-08 15:04:30 -04:00

16 lines
1.4 KiB
SQL

-- MSIN-4440 — Pastille tuile Anomalies (grille outils bib v4)
-- Libellé « Élément à valider : N » sur la tuile, style Inter épreuve (pas de compteur rouge).
-- Idempotent.
SELECT 'bib_v4_anomalies_nav_todo', 'fr', 'Élément à valider', 'Libellé court pastille tuile Anomalies.', 'compte.php', '', 0, 1, '', '', '', NOW()
FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM info WHERE info_clef = 'bib_v4_anomalies_nav_todo' AND info_langue = 'fr' AND info_prg = 'compte.php');
SELECT 'bib_v4_anomalies_nav_todo', 'en', 'Item to review', 'Short label for anomalies tool tile badge.', 'compte.php', '', 0, 1, '', '', '', NOW()
FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM info WHERE info_clef = 'bib_v4_anomalies_nav_todo' AND info_langue = 'en' AND info_prg = 'compte.php');
SELECT 'bib_v4_anomalies_nav_todo_fmt', 'fr', 'Élément à valider : %d', 'Pastille tuile Anomalies avec quantité.', 'compte.php', '', 0, 1, '', '', '', NOW()
FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM info WHERE info_clef = 'bib_v4_anomalies_nav_todo_fmt' AND info_langue = 'fr' AND info_prg = 'compte.php');
SELECT 'bib_v4_anomalies_nav_todo_fmt', 'en', 'Item to review: %d', 'Anomalies tool tile badge with count.', 'compte.php', '', 0, 1, '', '', '', NOW()
FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM info WHERE info_clef = 'bib_v4_anomalies_nav_todo_fmt' AND info_langue = 'en' AND info_prg = 'compte.php');