diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-31 17:19:17 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-31 17:19:17 +0200 |
| commit | c6fd7ea89b6e0a96eb1d81989de891b4768b1044 (patch) | |
| tree | 12e869044c80c889f83b588210cc0ac500cd7a6a /packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js | |
| parent | f4c6628c8e85513d9fd110ead95682368a15a0fd (diff) | |
| download | meshbay-c6fd7ea89b6e0a96eb1d81989de891b4768b1044.tar.gz | |
feat: email verification for registration, email change, and invitations
Registration now creates a pending account and sends a 6-digit code via
email; the account activates only after verification. Email changes on
the profile page follow the same flow. Group invitations send a
notification email to the invitee (without revealing their address to
the inviter) containing the invite code and hub link.
Backend: blind HMAC-SHA256 email index for uniqueness without decryption,
mail.py for localhost Postfix delivery, verification endpoints, cleanup
of expired codes and stale pending accounts, startup backfill of
email_hash for existing users.
Frontend: 3-phase register page, inline email change verification on
profile, invite-notify call with status display. All 10 locales updated.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js index c221cea..bb2361e 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js @@ -43,9 +43,18 @@ export default { 'register.loading': 'Tworzenie konta...', 'register.has_account': 'Konto już istnieje?', 'register.login_link': 'Zaloguj', - 'register.success_title': 'Konto zostało założone', - 'register.success_msg': 'Można się już zalogować przy użyciu swoich danych.', + 'register.success_title': 'Zweryfikuj swój e-mail', + 'register.success_msg': 'Kod weryfikacyjny został wysłany na Twój adres e-mail. Wpisz go poniżej, aby aktywować konto.', 'register.go_login': 'Przejdź do logowania', + 'register.code_placeholder': 'Kod weryfikacyjny', + 'register.verify_btn': 'Zweryfikuj', + 'register.verifying': 'Weryfikacja…', + 'register.verified_title': 'E-mail zweryfikowany', + 'register.verified_msg': 'Twoje konto jest aktywne. Możesz się teraz zalogować.', + 'register.resend': 'Wyślij kod ponownie', + 'register.resend_sent': 'Nowy kod został wysłany.', + 'login.pending_verification': 'Twój adres e-mail nie został jeszcze zweryfikowany. Sprawdź skrzynkę odbiorczą.', + 'login.verify_link': 'Zweryfikuj e-mail', 'register.err_mismatch': 'Hasła nie są zgodne', 'register.err_min_len': { one: 'Proszę użyć co najmniej {n} znaku', @@ -272,10 +281,15 @@ export default { 'settings.profile': 'Profil', 'settings.username': 'Nazwa użytkownika', 'settings.email': 'Email', - 'settings.email_save': 'Save', - 'settings.email_saved': 'Email updated', - 'settings.notif_global_disable': 'Disable all notifications', - 'settings.notif_global_hint': 'When enabled, no notifications are created for any group.', + 'settings.email_save': 'Zapisz', + 'settings.email_saved': 'E-mail zaktualizowany', + 'settings.email_code_sent': 'Kod weryfikacyjny został wysłany na nowy adres e-mail.', + 'settings.email_code_placeholder': 'Kod weryfikacyjny', + 'settings.email_verify_btn': 'Zweryfikuj', + 'settings.email_verifying': 'Weryfikacja…', + 'settings.email_verified': 'Adres e-mail został pomyślnie zmieniony.', + 'settings.notif_global_disable': 'Wyłącz wszystkie powiadomienia', + 'settings.notif_global_hint': 'Po włączeniu nie będą tworzone żadne powiadomienia dla żadnej grupy.', 'settings.defaults': 'Wartości domyślne', 'settings.default_tab': 'Default tab', 'settings.default_tab_hint': 'Which tab opens first when you enter a group.', @@ -480,11 +494,11 @@ export default { + 'przechodzi przez hub.', 'members.pair_btn': 'Sparuj', 'members.pair_success': 'Ta przeglądarka jest już sparowana z node.', - 'members.invite_code_ready': 'Kod zaproszenia dla użytkownika {user} — proszę ' - + 'przekazać go tak, jak zwykle się Państwo kontaktują. Działa jednorazowo i nigdy ' - + 'nie przechodzi przez hub.', - 'members.invite_code_hint': 'Osoba zaproszona wpisze go, otwierając tę grupę po raz ' - + 'pierwszy. Nie trzeba być wtedy dostępnym.', + 'members.invite_code_ready': 'Kod zaproszenia dla użytkownika {user}:', + 'members.invite_email_sent': 'E-mail z kodem został wysłany do tego członka.', + 'members.invite_email_failed': 'Nie udało się wysłać e-maila — przekaż kod ręcznie.', + 'members.invite_code_hint': 'Możesz też przekazać ten kod innym kanałem (np. SMS). ' + + 'Kod działa jednorazowo i nigdy nie przechodzi przez hub.', 'transfers.title': 'Transfery', 'transfers.clear': 'Wyczyść zakończone', 'transfers.cancel': 'Anuluj', |