[GIT-44] refactor(auth): add PASSWORD_TOO_WEAK error code (#8522)

* refactor(auth): add PASSWORD_TOO_WEAK error code and update related error handling in password change flow

* fix(auth): update import to use type for EAuthenticationErrorCodes in security page

* Update apps/web/app/(all)/profile/security/page.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/security/page.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* refactor: updated auth error exception accross zxcvbn usages

* fix: improve error handling for password strength validation and update error messages

* i18n(ru): update Russian translations for stickies and automation description

Added translation for 'stickies' and improved formatting of the automation description in Russian locale.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jayash Tripathy 2026-02-13 18:51:33 +05:30 committed by GitHub
parent bf521b7b03
commit 53b3358a63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 45 additions and 23 deletions

View file

@ -23,6 +23,7 @@ export default {
favorites: "Избранное",
pro: "Pro",
upgrade: "Обновить",
stickies: "Стикеры",
},
auth: {
common: {
@ -2002,8 +2003,7 @@ export default {
automations: {
label: "Автоматизация",
heading: "Автоматизация",
description:
"Настройте автоматические действия для оптимизации рабочего процесса и сокращения ручных задач.",
description: "Настройте автоматические действия для оптимизации рабочего процесса и сокращения ручных задач.",
"auto-archive": {
title: "Автоархивация закрытых рабочих элементов",
description: "Plane будет автоматически архивировать рабочие элементы, которые были завершены или отменены.",
@ -2921,8 +2921,4 @@ export default {
enter_number_of_projects: "Введите количество проектов",
pin: "Закрепить",
unpin: "Открепить",
sidebar: {
stickies: "Стикеры",
your_work: "Ваша работа",
},
} as const;