feat(i18n): first shoot on translated errors

This commit is contained in:
Julien Froidefond
2025-02-27 15:05:44 +01:00
parent 41228e59bc
commit ea51ff53a9
14 changed files with 54 additions and 38 deletions

View File

@@ -232,5 +232,18 @@
"pages": "{current}/{total} pages",
"totalPages": "{count} pages"
}
},
"errors": {
"AUTH_INVALID_CREDENTIALS": "Invalid credentials",
"AUTH_PASSWORD_MISMATCH": "Passwords do not match",
"AUTH_EMAIL_EXISTS": "Email already exists",
"AUTH_PASSWORD_NOT_STRONG": "Password is not strong enough",
"AUTH_LOGOUT_ERROR": "Logout error",
"AUTH_INVALID_USER_DATA": "Invalid user data",
"AUTH_UNAUTHENTICATED": "Unauthenticated",
"SERIES_FETCH_ERROR": "Error fetching series",
"HOME_FETCH_ERROR": "Error fetching home",
"SERIES_NO_BOOKS_FOUND": "No books found in the series"
}
}