fix(ux-audit): landing next/image + confirm AlertDialog + search-modal i18n
Landing page:
- <img> → next/image avec width/height (CLS fix)
- padding nav responsive px-4 sm:px-8
note-card:
- confirm() natif → AlertDialog (non-bloquant, stylable)
- showLeaveDialog state + dialog component
search-modal (20 chaînes FR → i18n):
- useLanguage ajouté
- 20 strings FR hardcoded → t('searchModal.*')
- Clés ajoutées dans en.json + fr.json
This commit is contained in:
@@ -3936,5 +3936,27 @@
|
||||
"openSite": "Ouvrir le site",
|
||||
"updateSite": "Mettre à jour le site",
|
||||
"unpublish": "Dépublier le site"
|
||||
},
|
||||
"searchModal": {
|
||||
"search_ariaLabel": "Recherche",
|
||||
"search_placeholder": "Rechercher dans toutes vos notes…",
|
||||
"search_caseSensitive": "Respecter la casse",
|
||||
"search_regexMode": "Mode regex",
|
||||
"search_trashIncluded": "Corbeille incluse",
|
||||
"search_openInEditor": "Ouvrir dans l'éditeur",
|
||||
"search_title": "Memento Search",
|
||||
"search_favorites": "Favoris :",
|
||||
"search_searching": "Recherche en cours…",
|
||||
"search_noResults": "Aucun résultat",
|
||||
"search_typeToSearch": "Tapez pour rechercher",
|
||||
"search_aiAnalysis": "Analyse...",
|
||||
"search_aiResponse": "Réponse IA",
|
||||
"search_resultsSummary": "Synthèse des résultats...",
|
||||
"search_documentPreview": "Aperçu du document",
|
||||
"search_noMatch": "Aucune note ne correspond.",
|
||||
"search_typeForResults": "Tapez pour obtenir des résultats instantanés.",
|
||||
"search_hintNavigate": "naviguer",
|
||||
"search_hintOpen": "ouvrir",
|
||||
"search_hintClose": "fermer"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user