feat(i18n): localize submit button states
This commit is contained in:
@@ -139,11 +139,23 @@ describe("i18n dictionaries", () => {
|
||||
next: "Siguiente",
|
||||
})
|
||||
|
||||
expect(getDictionary("en").common.submitButton).toEqual({
|
||||
defaultLabel: "Submit",
|
||||
processing: "Processing",
|
||||
success: "Success",
|
||||
})
|
||||
|
||||
expect(getDictionary("en").common.forbidden).toEqual({
|
||||
title: "Access denied",
|
||||
description: "You do not have permission to access this section.",
|
||||
homeLink: "Back to home",
|
||||
})
|
||||
expect(getDictionary("es").common.submitButton).toEqual({
|
||||
defaultLabel: "Enviar",
|
||||
processing: "Procesando",
|
||||
success: "Completado",
|
||||
})
|
||||
|
||||
expect(getDictionary("es").common.forbidden).toEqual({
|
||||
title: "Acceso denegado",
|
||||
description: "No tienes permisos para acceder a esta sección.",
|
||||
|
||||
Reference in New Issue
Block a user