Skip to content

Commit 83a1668

Browse files
AdrienZorin95670
authored andcommitted
feat: add translation for unauthorized error
1 parent c3a9219 commit 83a1668

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/main/resources/i18n/en.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"error.attribute.unknown": "Unknown attribute '{attribute}' for entity '{entity}'",
55
"error.entity.attributes": "Validation errors occurred for entity: {entity}",
66
"error.provider.unknown": "Unknown provider '{provider}' for entity '{entity}'",
7-
"error.plugin.unknown": "Unknown plugin: {type}"
8-
}
7+
"error.plugin.unknown": "Unknown plugin: {type}",
8+
"error.authentication.unauthorized": "Unauthorized"
9+
}

src/main/resources/i18n/fr.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"error.attribute.unknown": "Attribut inconnu '{attribute}' pour l'entité '{entity}'",
55
"error.entity.attributes": "Erreurs de validation pour l'entité: {entity}",
66
"error.provider.unknown": "Provider inconnu '{provider}' pour l'entité '{entity}'",
7-
"error.plugin.unknown": "Plugin inconnu: {type}"
8-
}
7+
"error.plugin.unknown": "Plugin inconnu: {type}",
8+
"error.authentication.unauthorized": "Non autorisé"
9+
}

0 commit comments

Comments
 (0)