@softure-ai/auth 0.1.12 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +40 -8
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/mailing/reset-mail.d.ts.map +1 -1
- package/dist/mailing/reset-mail.js +2 -2
- package/dist/mailing/reset-mail.js.map +1 -1
- package/dist/messages/index.d.ts +1 -97
- package/dist/messages/index.d.ts.map +1 -1
- package/dist/messages/index.js +2 -3
- package/dist/messages/index.js.map +1 -1
- package/dist/next/messages.d.ts +1 -1
- package/dist/next/messages.d.ts.map +1 -1
- package/dist/next/messages.js +2 -1
- package/dist/next/messages.js.map +1 -1
- package/dist/proxy/index.d.ts +5 -3
- package/dist/proxy/index.d.ts.map +1 -1
- package/dist/proxy/index.js +23 -3
- package/dist/proxy/index.js.map +1 -1
- package/dist/scripts/index.d.ts +1 -0
- package/dist/scripts/index.d.ts.map +1 -1
- package/dist/scripts/index.js +4 -2
- package/dist/scripts/index.js.map +1 -1
- package/dist/scripts/seed-account.d.ts +19 -0
- package/dist/scripts/seed-account.d.ts.map +1 -0
- package/dist/scripts/seed-account.js +95 -0
- package/dist/scripts/seed-account.js.map +1 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +1 -0
- package/dist/server/index.js.map +1 -1
- package/dist/server/only-account.d.ts +21 -0
- package/dist/server/only-account.d.ts.map +1 -0
- package/dist/server/only-account.js +34 -0
- package/dist/server/only-account.js.map +1 -0
- package/module.json +2 -2
- package/package.json +7 -7
- package/src/index.ts +2 -2
- package/src/mailing/reset-mail.ts +2 -2
- package/src/messages/index.ts +2 -3
- package/src/next/messages.ts +2 -2
- package/src/proxy/index.ts +30 -6
- package/src/scripts/index.ts +4 -2
- package/src/scripts/seed-account.ts +108 -0
- package/src/server/index.ts +7 -0
- package/src/server/only-account.ts +50 -0
- package/dist/messages/pl.d.ts +0 -3
- package/dist/messages/pl.d.ts.map +0 -1
- package/dist/messages/pl.js +0 -92
- package/dist/messages/pl.js.map +0 -1
- package/src/messages/pl.ts +0 -93
package/src/messages/pl.ts
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import type { en } from "./en.js";
|
|
2
|
-
|
|
3
|
-
export const pl: typeof en = {
|
|
4
|
-
fields: {
|
|
5
|
-
email: "E-mail",
|
|
6
|
-
password: "Hasło",
|
|
7
|
-
currentPassword: "Obecne hasło",
|
|
8
|
-
newPassword: "Nowe hasło",
|
|
9
|
-
newPasswordHint: "Co najmniej {minLength} znaków.",
|
|
10
|
-
consent: "Akceptuję regulamin i politykę prywatności.",
|
|
11
|
-
},
|
|
12
|
-
login: {
|
|
13
|
-
title: "Zaloguj się",
|
|
14
|
-
lead: "Witaj ponownie.",
|
|
15
|
-
submit: "Zaloguj się",
|
|
16
|
-
pending: "Logowanie…",
|
|
17
|
-
noAccount: "Nie masz jeszcze konta?",
|
|
18
|
-
registerLink: "Załóż je",
|
|
19
|
-
forgotPassword: "Nie pamiętasz hasła?",
|
|
20
|
-
},
|
|
21
|
-
register: {
|
|
22
|
-
title: "Załóż konto",
|
|
23
|
-
lead: "To zajmie chwilę.",
|
|
24
|
-
submit: "Załóż konto",
|
|
25
|
-
pending: "Zakładanie…",
|
|
26
|
-
hasAccount: "Masz już konto?",
|
|
27
|
-
loginLink: "Zaloguj się",
|
|
28
|
-
closedTitle: "Rejestracja jest zamknięta",
|
|
29
|
-
closedBody: "Nie można teraz założyć nowego konta. Spróbuj ponownie później.",
|
|
30
|
-
},
|
|
31
|
-
changePassword: {
|
|
32
|
-
title: "Zmień hasło",
|
|
33
|
-
lead: "Wszystkie inne urządzenia, na których jesteś zalogowany, zostaną wylogowane.",
|
|
34
|
-
submit: "Zmień hasło",
|
|
35
|
-
pending: "Zapisywanie…",
|
|
36
|
-
success: "Hasło zostało zmienione.",
|
|
37
|
-
},
|
|
38
|
-
forgotPassword: {
|
|
39
|
-
title: "Zresetuj hasło",
|
|
40
|
-
lead: "Podaj e-mail swojego konta, a wyślemy Ci link do ustawienia nowego hasła.",
|
|
41
|
-
submit: "Wyślij link",
|
|
42
|
-
pending: "Wysyłanie…",
|
|
43
|
-
sent: "Jeśli istnieje konto z tym adresem, wysłaliśmy na niego link do zmiany hasła. Link działa przez {ttlMinutes} minut.",
|
|
44
|
-
backToLogin: "Wróć do logowania",
|
|
45
|
-
},
|
|
46
|
-
resetPassword: {
|
|
47
|
-
title: "Ustaw nowe hasło",
|
|
48
|
-
lead: "Zostaniesz wylogowany na wszystkich urządzeniach.",
|
|
49
|
-
submit: "Ustaw hasło",
|
|
50
|
-
pending: "Zapisywanie…",
|
|
51
|
-
success: "Hasło zostało zmienione. Zaloguj się nowym hasłem.",
|
|
52
|
-
invalidTitle: "Ten link nie działa",
|
|
53
|
-
invalidBody: "Link wygasł albo został już użyty. Poproś o nowy.",
|
|
54
|
-
requestNew: "Wyślij nowy link",
|
|
55
|
-
},
|
|
56
|
-
resetMail: {
|
|
57
|
-
subject: "Zresetuj hasło",
|
|
58
|
-
greeting: "Dzień dobry,",
|
|
59
|
-
intro: "Otrzymaliśmy prośbę o zresetowanie hasła do Twojego konta. Otwórz ten link, aby ustawić nowe:",
|
|
60
|
-
action: "Ustaw nowe hasło",
|
|
61
|
-
expiry: "Link działa przez {duration} i tylko raz.",
|
|
62
|
-
minutes: { one: "{count} minutę", few: "{count} minuty", many: "{count} minut", other: "{count} minuty" },
|
|
63
|
-
ignore: "Jeśli to nie Ty, zignoruj tę wiadomość: Twoje hasło się nie zmieni.",
|
|
64
|
-
},
|
|
65
|
-
logout: {
|
|
66
|
-
submit: "Wyloguj się",
|
|
67
|
-
},
|
|
68
|
-
errors: {
|
|
69
|
-
auth: {
|
|
70
|
-
invalid_credentials: "Nieprawidłowy e-mail lub hasło.",
|
|
71
|
-
email_invalid: "Podaj prawidłowy adres e-mail.",
|
|
72
|
-
email_taken: "Konto z tym adresem e-mail już istnieje.",
|
|
73
|
-
password_too_short: "Hasło jest za krótkie.",
|
|
74
|
-
password_too_long: "Hasło jest za długie.",
|
|
75
|
-
consent_required: "Aby założyć konto, zaakceptuj regulamin.",
|
|
76
|
-
registration_closed: "Rejestracja jest zamknięta.",
|
|
77
|
-
current_password_invalid: "Obecne hasło jest nieprawidłowe.",
|
|
78
|
-
password_unchanged: "Nowe hasło musi różnić się od obecnego.",
|
|
79
|
-
unauthenticated: "Sesja wygasła. Zaloguj się ponownie.",
|
|
80
|
-
forbidden: "Nie masz dostępu do tej funkcji.",
|
|
81
|
-
reset_token_invalid: "Ten link wygasł albo został już użyty. Poproś o nowy.",
|
|
82
|
-
password_reset_unavailable: "Reset hasła jest niedostępny.",
|
|
83
|
-
},
|
|
84
|
-
security: {
|
|
85
|
-
rate_limited: "Zbyt wiele prób. Odczekaj kilka minut i spróbuj ponownie.",
|
|
86
|
-
client_unidentified: "Nie udało się ustalić, skąd przyszło to żądanie. Spróbuj ponownie później.",
|
|
87
|
-
},
|
|
88
|
-
core: {
|
|
89
|
-
database_failed: "Coś poszło nie tak po naszej stronie. Spróbuj ponownie za chwilę.",
|
|
90
|
-
unexpected: "Coś poszło nie tak po naszej stronie. Spróbuj ponownie za chwilę.",
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
};
|