Fix missing i18n keys in editor (save/edit/delete)
ProductEditor and CatalogTab use t('save'/'edit'/'delete') from the editor
namespace, but those keys only existed in the common namespace, so the UI showed
raw keys (editor.save, editor.delete). Add them to messages/es.json and en.json.
Audited every useTranslations call across src/ against both catalogs: no other
unresolved keys, and es/en are at full key parity.
This commit is contained in:
1 parent
112e95dc28
commit
d6ffbbd60b
2 files changed
+6
No files matched your search
@@ -44,6 +44,9 @@
|
||||
"intro": "Tell me what you're after and I'll recommend dishes from the menu."
|
||||
},
|
||||
"editor": {
|
||||
"save": "Save",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"catalog": "Catalog",
|
||||
"palette": "Palette",
|
||||
"orders": "Orders",
|
||||
|
||||
@@ -44,6 +44,9 @@
|
||||
"intro": "Cuéntame qué buscas y te recomiendo platillos del menú."
|
||||
},
|
||||
"editor": {
|
||||
"save": "Guardar",
|
||||
"edit": "Editar",
|
||||
"delete": "Eliminar",
|
||||
"catalog": "Catálogo",
|
||||
"palette": "Paleta",
|
||||
"orders": "Órdenes",
|
||||
|
||||
Reference in new issue
Block a user