Skip to content

Commit

Permalink
Merge pull request #268 from atls/feat/messages-translation
Browse files Browse the repository at this point in the history
feat: add error messages
  • Loading branch information
Nelfimov authored May 13, 2024
2 parents f56cf8d + 4d5b36d commit 5ffc4f1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
Binary file not shown.
Binary file added .yarn/cache/fsevents-patch-6b67494872-10.zip
Binary file not shown.
18 changes: 18 additions & 0 deletions packages/identity-integration/src/locales/ru/ru-messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,24 @@
"type": "error",
"context": {}
},
{
"id": 4000032,
"text": "{reason}",
"ru": "{reason}",
"type": "error",
"context": {
"reason": "{reason}"
}
},
{
"id": 4000034,
"text": "{reason}",
"ru": "{reason}",
"type": "error",
"context": {
"reason": "{reason}"
}
},
{
"id": 4010001,
"text": "The login flow expired 1.02 minutes ago, please try again.",
Expand Down
4 changes: 2 additions & 2 deletions packages/identity-integration/src/locales/ru/ru-reasons.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[
{
"en": "the password has been found in data breaches and must no longer be used",
"en": "password has been found in data breaches and must no longer be used",
"ru": "пароль был найден в слитых базах данных и не может быть использован"
},
{
"en": "is not valid",
"ru": "Проверьте введенные данные"
},
{
"en": "password length must be at least 8 characters but only got",
"en": "password must be at least 8 characters",
"ru": "длина пароля должна быть минимум 8 символов"
}
]

0 comments on commit 5ffc4f1

Please sign in to comment.