more fixes and update of translations database

This commit is contained in:
Daniel Goc
2026-03-11 15:24:00 +01:00
parent 4450468145
commit 6f00e7f784
11 changed files with 287 additions and 289 deletions

View File

@@ -49,7 +49,7 @@ const (
// TableName specifies the table name for User model // TableName specifies the table name for User model
func (Customer) TableName() string { func (Customer) TableName() string {
return "customers" return "b2b_customers"
} }
// IsAdmin checks if the user has admin role // IsAdmin checks if the user has admin role
@@ -140,5 +140,5 @@ type RefreshToken struct {
// TableName specifies the table name for RefreshToken model // TableName specifies the table name for RefreshToken model
func (RefreshToken) TableName() string { func (RefreshToken) TableName() string {
return "refresh_tokens" return "b2b_refresh_tokens"
} }

View File

@@ -25,7 +25,7 @@ type Translation struct {
} }
func (Translation) TableName() string { func (Translation) TableName() string {
return "translations" return "b2b_translations"
} }
type Language struct { type Language struct {
@@ -45,7 +45,7 @@ type Language struct {
} }
func (Language) TableName() string { func (Language) TableName() string {
return "language" return "b2b_language"
} }
type Component struct { type Component struct {
@@ -54,7 +54,7 @@ type Component struct {
} }
func (Component) TableName() string { func (Component) TableName() string {
return "components" return "b2b_components"
} }
type Scope struct { type Scope struct {
@@ -63,5 +63,5 @@ type Scope struct {
} }
func (Scope) TableName() string { func (Scope) TableName() string {
return "scopes" return "b2b_scopes"
} }

1
go.mod
View File

@@ -11,7 +11,6 @@ require (
github.com/joho/godotenv v1.5.1 github.com/joho/godotenv v1.5.1
golang.org/x/crypto v0.48.0 golang.org/x/crypto v0.48.0
golang.org/x/oauth2 v0.36.0 golang.org/x/oauth2 v0.36.0
gorm.io/driver/postgres v1.6.0
gorm.io/gorm v1.31.1 gorm.io/gorm v1.31.1
) )

2
go.sum
View File

@@ -172,7 +172,5 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gorm.io/driver/mysql v1.6.0 h1:eNbLmNTpPpTOVZi8MMxCi2aaIm0ZpInbORNXDwyLGvg= gorm.io/driver/mysql v1.6.0 h1:eNbLmNTpPpTOVZi8MMxCi2aaIm0ZpInbORNXDwyLGvg=
gorm.io/driver/mysql v1.6.0/go.mod h1:D/oCC2GWK3M/dqoLxnOlaNKmXz8WNTfcS9y5ovaSqKo= gorm.io/driver/mysql v1.6.0/go.mod h1:D/oCC2GWK3M/dqoLxnOlaNKmXz8WNTfcS9y5ovaSqKo=
gorm.io/driver/postgres v1.6.0 h1:2dxzU8xJ+ivvqTRph34QX+WrRaJlmfyPqXmoGVjMBa4=
gorm.io/driver/postgres v1.6.0/go.mod h1:vUw0mrGgrTK+uPHEhAdV4sfFELrByKVGnaVRkXDhtWo=
gorm.io/gorm v1.31.1 h1:7CA8FTFz/gRfgqgpeKIBcervUn3xSyPUmr6B2WXJ7kg= gorm.io/gorm v1.31.1 h1:7CA8FTFz/gRfgqgpeKIBcervUn3xSyPUmr6B2WXJ7kg=
gorm.io/gorm v1.31.1/go.mod h1:XyQVbO2k6YkOis7C2437jSit3SsDK72s7n7rsSHd+Gs= gorm.io/gorm v1.31.1/go.mod h1:XyQVbO2k6YkOis7C2437jSit3SsDK72s7n7rsSHd+Gs=

View File

@@ -1,6 +1,6 @@
# Database configuration (shared between Vue and Go extractors) # Database configuration (shared between Vue and Go extractors)
database: database:
type: postgres # "mysql" (default),sqlite or "postgres" type: mysql # "mysql" (default),sqlite or "postgres"
host: localhost host: localhost
port: 5432 port: 5432
user: gitea user: gitea

View File

@@ -54,7 +54,7 @@ CREATE TABLE IF NOT EXISTS b2b_translations (
-- customers -- customers
CREATE TABLE IF NOT EXISTS b2b_customers ( CREATE TABLE IF NOT EXISTS b2b_customers (
id INT AUTO_INCREMENT PRIMARY KEY, id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
email VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL,
password VARCHAR(255) NULL, password VARCHAR(255) NULL,
first_name VARCHAR(100) NULL, first_name VARCHAR(100) NULL,
@@ -101,7 +101,7 @@ ON b2b_customers (deleted_at);
-- refresh_tokens -- refresh_tokens
CREATE TABLE IF NOT EXISTS b2b_refresh_tokens ( CREATE TABLE IF NOT EXISTS b2b_refresh_tokens (
id INT AUTO_INCREMENT PRIMARY KEY, id INT AUTO_INCREMENT PRIMARY KEY,
customer_id INT NOT NULL, customer_id BIGINT UNSIGNED NOT NULL,
token_hash VARCHAR(64) NOT NULL, token_hash VARCHAR(64) NOT NULL,
expires_at DATETIME(6) NOT NULL, expires_at DATETIME(6) NOT NULL,
created_at DATETIME(6) NOT NULL, created_at DATETIME(6) NOT NULL,
@@ -116,6 +116,7 @@ CREATE INDEX IF NOT EXISTS idx_refresh_tokens_customer_id ON b2b_refresh_tokens
INSERT IGNORE INTO b2b_customers (id, email, password, first_name, last_name, role, provider, provider_id, avatar_url, is_active, email_verified, email_verification_token, email_verification_expires, password_reset_token, password_reset_expires, last_password_reset_request, last_login_at, lang, created_at, updated_at, deleted_at) INSERT IGNORE INTO b2b_customers (id, email, password, first_name, last_name, role, provider, provider_id, avatar_url, is_active, email_verified, email_verification_token, email_verification_expires, password_reset_token, password_reset_expires, last_password_reset_request, last_login_at, lang, created_at, updated_at, deleted_at)
VALUES VALUES
(1, 'admin@ma-al.com', '$2a$10$Owy9DjrS0l3Fz4XoOvh5pulgmOMqdwXmb7hYE9BovnSuWS2plGr82', 'Super', 'Admin', 'admin', 'local', '', '', 1, 1, NULL, NULL, '', NULL, NULL, NULL, 'pl', '2026-03-02 16:55:10.252740', '2026-03-02 16:55:10.252740', NULL); (1, 'admin@ma-al.com', '$2a$10$Owy9DjrS0l3Fz4XoOvh5pulgmOMqdwXmb7hYE9BovnSuWS2plGr82', 'Super', 'Admin', 'admin', 'local', '', '', 1, 1, NULL, NULL, '', NULL, NULL, NULL, 'pl', '2026-03-02 16:55:10.252740', '2026-03-02 16:55:10.252740', NULL);
ALTER TABLE b2b_customers AUTO_INCREMENT = 1;
-- +goose Down -- +goose Down

View File

@@ -2,272 +2,273 @@
-- Dump translations from database -- Dump translations from database
-- Components -- Components
INSERT IGNORE INTO b2b_components (id, name) VALUES INSERT IGNORE b2b_components (id, name) VALUES
(1, 'be'), (1, 'be'),
(2, 'login'), (2, 'login'),
(3, 'verify_email'), (3, 'verify_email'),
(100, 'email'), (100, 'email'),
(101, 'error'), (101, 'error'),
(102, 'auth'), (102, 'auth'),
(103, 'email'), (103, 'email'),
(300, 'general'), (300, 'general'),
(301, 'validate_error'), (301, 'validate_error'),
(302, 'repo_chart'), (302, 'repo_chart'),
(303, 'verify_email'); (303, 'verify_email');
-- Scope -- Scope
INSERT IGNORE INTO b2b_scopes (id, name) VALUES INSERT IGNORE b2b_scopes (id, name) VALUES (3, 'backoffice');
(3, 'backoffice');
-- Translations -- Translations
-- Component: general -- Component: general
INSERT IGNORE INTO b2b_translations INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(lang_id, scope_id, component_id, `key`, data) (1, 3, 300, 'already_have_an_account', 'Masz już konto?'),
VALUES (1, 3, 300, 'and', 'i'),
(1, 3, 300, 'already_have_an_account', 'Masz już konto?'), (1, 3, 300, 'back_to_sign_in', 'Powrót do logowania'),
(1, 3, 300, 'and', 'i'), (1, 3, 300, 'by_signing_in_you_agree_to_our', 'Logując się, zgadzasz się z naszymi'),
(1, 3, 300, 'back_to_sign_in', 'Powrót do logowania'), (1, 3, 300, 'check_your_email', 'Sprawdź swoją skrzynkę e-mail'),
(1, 3, 300, 'by_signing_in_you_agree_to_our', 'Logując się, zgadzasz się z naszymi'), (1, 3, 300, 'close', 'zamknij'),
(1, 3, 300, 'check_your_email', 'Sprawdź swoją skrzynkę e-mail'), (1, 3, 300, 'confirm_password', 'Potwierdź hasło'),
(1, 3, 300, 'confirm_password', 'Potwierdź hasło'), (1, 3, 300, 'confirm_your_new_password', 'Potwierdź swoje nowe hasło'),
(1, 3, 300, 'confirm_your_new_password', 'Potwierdź swoje nowe hasło'), (1, 3, 300, 'confirm_your_password', 'Potwierdź swoje hasło'),
(1, 3, 300, 'confirm_your_password', 'Potwierdź swoje hasło'), (1, 3, 300, 'continue_with_google', 'Kontynuuj z Google'),
(1, 3, 300, 'continue_with_google', 'Kontynuuj z Google'), (1, 3, 300, 'create_account', 'Utwórz konto'),
(1, 3, 300, 'create_account', 'Utwórz konto'), (1, 3, 300, 'create_account_now', 'Utwórz konto teraz'),
(1, 3, 300, 'create_account_now', 'Utwórz konto teraz'), (1, 3, 300, 'dont_have_an_account', 'Nie masz konta'),
(1, 3, 300, 'dont_have_an_account', 'Nie masz konta'), (1, 3, 300, 'email_address', 'Adres e-mail'),
(1, 3, 300, 'email_address', 'Adres e-mail'), (1, 3, 300, 'enter_email_for_password_reset', 'Wpisz swój adres e-mail, a wyślemy Ci link do zresetowania hasła.'),
(1, 3, 300, 'enter_email_for_password_reset', 'Wpisz swój adres e-mail, a wyślemy Ci link do zresetowania hasła.'), (1, 3, 300, 'enter_your_email', 'Wpisz swój adres e-mail'),
(1, 3, 300, 'enter_your_email', 'Wpisz swój adres e-mail'), (1, 3, 300, 'enter_your_new_password', 'Wpisz swoje nowe hasło'),
(1, 3, 300, 'enter_your_new_password', 'Wpisz swoje nowe hasło'), (1, 3, 300, 'enter_your_password', 'Wpisz swoje hasło'),
(1, 3, 300, 'enter_your_password', 'Wpisz swoje hasło'), (1, 3, 300, 'first_name', 'Imię'),
(1, 3, 300, 'first_name', 'Imię'), (1, 3, 300, 'forgot_password', 'Zapomniałeś hasła'),
(1, 3, 300, 'forgot_password', 'Zapomniałeś hasła'), (1, 3, 300, 'i_agree_to_the', 'Zgadzam się z'),
(1, 3, 300, 'i_agree_to_the', 'Zgadzam się z'), (1, 3, 300, 'last_name', 'Nazwisko'),
(1, 3, 300, 'last_name', 'Nazwisko'), (1, 3, 300, 'logout', 'Wyloguj się'),
(1, 3, 300, 'new_password', 'Nowe hasło'), (1, 3, 300, 'new_password', 'Nowe hasło'),
(1, 3, 300, 'password', 'Hasło'), (1, 3, 300, 'or', 'albo'),
(1, 3, 300, 'password_reset_link_sent_notice', 'Jeśli konto z tym adresem e-mail istnieje, wysłaliśmy link do resetowania hasła. Sprawdź swoją skrzynkę odbiorczą'), (1, 3, 300, 'password', 'Hasło'),
(1, 3, 300, 'password_updated', 'Hasło zaktualizowane'), (1, 3, 300, 'password_reset_link_sent_notice', 'Jeśli konto z tym adresem e-mail istnieje, wysłaliśmy link do resetowania hasła. Sprawdź swoją skrzynkę odbiorczą'),
(1, 3, 300, 'password_updated_description', 'Twoje hasło zostało pomyślnie zaktualizowane'), (1, 3, 300, 'password_updated', 'Hasło zaktualizowane'),
(1, 3, 300, 'privacy_policy', 'Polityka prywatności'), (1, 3, 300, 'password_updated_description', 'Twoje hasło zostało pomyślnie zaktualizowane'),
(1, 3, 300, 'reset_password', 'Resetuj hasło'), (1, 3, 300, 'privacy_policy', 'Polityka prywatności'),
(1, 3, 300, 'send_password_reset_link', 'Wyślij link do resetowania hasła'), (1, 3, 300, 'reset_password', 'Resetuj hasło'),
(1, 3, 300, 'sign_in', 'Zaloguj się'), (1, 3, 300, 'send_password_reset_link', 'Wyślij link do resetowania hasła'),
(1, 3, 300, 'terms_of_service', 'Regulamin'), (1, 3, 300, 'sign_in', 'Zaloguj się'),
(2, 3, 300, 'already_have_an_account', 'Already have an account?'), (1, 3, 300, 'terms_of_service', 'Regulamin'),
(2, 3, 300, 'and', 'and'), (2, 3, 300, 'already_have_an_account', 'Already have an account?'),
(2, 3, 300, 'back_to_sign_in', 'Back to Sign In'), (2, 3, 300, 'and', 'and'),
(2, 3, 300, 'by_signing_in_you_agree_to_our', 'By signing in, you agree to our terms'), (2, 3, 300, 'back_to_sign_in', 'Back to Sign In'),
(2, 3, 300, 'check_your_email', 'Check your email'), (2, 3, 300, 'by_signing_in_you_agree_to_our', 'By signing in, you agree to our terms'),
(2, 3, 300, 'confirm_password', 'Confirm password'), (2, 3, 300, 'check_your_email', 'Check your email'),
(2, 3, 300, 'confirm_your_new_password', 'Confirm your new password'), (2, 3, 300, 'close', 'close'),
(2, 3, 300, 'confirm_your_password', 'Confirm your password'), (2, 3, 300, 'confirm_password', 'Confirm password'),
(2, 3, 300, 'continue_with_google', 'Continue with Google'), (2, 3, 300, 'confirm_your_new_password', 'Confirm your new password'),
(2, 3, 300, 'create_account', 'Create account'), (2, 3, 300, 'confirm_your_password', 'Confirm your password'),
(2, 3, 300, 'create_account_now', 'Create an account now'), (2, 3, 300, 'continue_with_google', 'Continue with Google'),
(2, 3, 300, 'dont_have_an_account', 'Don''t have an account'), (2, 3, 300, 'create_account', 'Create account'),
(2, 3, 300, 'email_address', 'Email address'), (2, 3, 300, 'create_account_now', 'Create an account now'),
(2, 3, 300, 'enter_email_for_password_reset', 'Enter your email address, and well send you a link to reset your password.'), (2, 3, 300, 'dont_have_an_account', 'Don''t have an account'),
(2, 3, 300, 'enter_your_email', 'Enter your email'), (2, 3, 300, 'email_address', 'Email address'),
(2, 3, 300, 'enter_your_new_password', 'Enter your new password'), (2, 3, 300, 'enter_email_for_password_reset', 'Enter your email address, and well send you a link to reset your password.'),
(2, 3, 300, 'enter_your_password', 'Enter your password'), (2, 3, 300, 'enter_your_email', 'Enter your email'),
(2, 3, 300, 'first_name', 'First name'), (2, 3, 300, 'enter_your_new_password', 'Enter your new password'),
(2, 3, 300, 'forgot_password', 'Forgot password'), (2, 3, 300, 'enter_your_password', 'Enter your password'),
(2, 3, 300, 'i_agree_to_the', 'I agree to the'), (2, 3, 300, 'first_name', 'First name'),
(2, 3, 300, 'last_name', 'Last name'), (2, 3, 300, 'forgot_password', 'Forgot password'),
(2, 3, 300, 'new_password', 'New password'), (2, 3, 300, 'i_agree_to_the', 'I agree to the'),
(2, 3, 300, 'password', 'Password'), (2, 3, 300, 'last_name', 'Last name'),
(2, 3, 300, 'password_reset_link_sent_notice', 'If an account with that email exists, we have sent a password reset link. Please check your inbox.'), (2, 3, 300, 'logout', 'Logout'),
(2, 3, 300, 'password_updated', 'Password updated'), (2, 3, 300, 'new_password', 'New password'),
(2, 3, 300, 'password_updated_description', 'Your password has been successfully updated'), (2, 3, 300, 'or', 'or'),
(2, 3, 300, 'privacy_policy', 'Privacy Policy'), (2, 3, 300, 'password', 'Password'),
(2, 3, 300, 'reset_password', 'Reset Password'), (2, 3, 300, 'password_reset_link_sent_notice', 'If an account with that email exists, we have sent a password reset link. Please check your inbox.'),
(2, 3, 300, 'send_password_reset_link', 'Send password reset link'), (2, 3, 300, 'password_updated', 'Password updated'),
(2, 3, 300, 'sign_in', 'Sign in'), (2, 3, 300, 'password_updated_description', 'Your password has been successfully updated'),
(2, 3, 300, 'terms_of_service', 'Terms of Service'), (2, 3, 300, 'privacy_policy', 'Privacy Policy'),
(3, 3, 300, 'already_have_an_account', 'Už máte účet?'), (2, 3, 300, 'reset_password', 'Reset Password'),
(3, 3, 300, 'and', 'a'), (2, 3, 300, 'send_password_reset_link', 'Send password reset link'),
(3, 3, 300, 'back_to_sign_in', 'Zpět k přihlášení'), (2, 3, 300, 'sign_in', 'Sign in'),
(3, 3, 300, 'by_signing_in_you_agree_to_our', 'Přihlášením souhlasíte s našimi'), (2, 3, 300, 'terms_of_service', 'Terms of Service'),
(3, 3, 300, 'check_your_email', 'Zkontrolujte svůj e-mail'), (3, 3, 300, 'already_have_an_account', 'Už máte účet?'),
(3, 3, 300, 'confirm_password', 'Potvrzení hesla'), (3, 3, 300, 'and', 'a'),
(3, 3, 300, 'confirm_your_new_password', 'Potvrďte své nové heslo'), (3, 3, 300, 'back_to_sign_in', 'Zpět k přihlášení'),
(3, 3, 300, 'confirm_your_password', 'Potvrďte své heslo'), (3, 3, 300, 'by_signing_in_you_agree_to_our', 'Přihlášením souhlasíte s našimi'),
(3, 3, 300, 'continue_with_google', 'Pokračovat s Googlem'), (3, 3, 300, 'check_your_email', 'Zkontrolujte svůj e-mail'),
(3, 3, 300, 'create_account', 'Vytvořit účet'), (3, 3, 300, 'close', 'zavřít'),
(3, 3, 300, 'create_account_now', 'Vytvořte účet nyní'), (3, 3, 300, 'confirm_password', 'Potvrzení hesla'),
(3, 3, 300, 'dont_have_an_account', 'Nemáte účet'), (3, 3, 300, 'confirm_your_new_password', 'Potvrďte své nové heslo'),
(3, 3, 300, 'email_address', 'E-mailová adresa'), (3, 3, 300, 'confirm_your_password', 'Potvrďte své heslo'),
(3, 3, 300, 'enter_email_for_password_reset', 'Zadejte svou e-mailovou adresu a pošleme vám odkaz pro obnovení hesla.'), (3, 3, 300, 'continue_with_google', 'Pokračovat s Googlem'),
(3, 3, 300, 'enter_your_email', 'Zadejte svůj e-mail'), (3, 3, 300, 'create_account', 'Vytvořit účet'),
(3, 3, 300, 'enter_your_new_password', 'Zadejte své nové heslo'), (3, 3, 300, 'create_account_now', 'Vytvořte účet nyní'),
(3, 3, 300, 'enter_your_password', 'Zadejte své heslo'), (3, 3, 300, 'dont_have_an_account', 'Nemáte účet'),
(3, 3, 300, 'first_name', 'Křestní jméno'), (3, 3, 300, 'email_address', 'E-mailová adresa'),
(3, 3, 300, 'forgot_password', 'Zapomněli jste heslo'), (3, 3, 300, 'enter_email_for_password_reset', 'Zadejte svou e-mailovou adresu a pošleme vám odkaz pro obnovení hesla.'),
(3, 3, 300, 'i_agree_to_the', 'Souhlasím s'), (3, 3, 300, 'enter_your_email', 'Zadejte svůj e-mail'),
(3, 3, 300, 'last_name', 'Příjmení'), (3, 3, 300, 'enter_your_new_password', 'Zadejte své nové heslo'),
(3, 3, 300, 'new_password', 'Nové heslo'), (3, 3, 300, 'enter_your_password', 'Zadejte své heslo'),
(3, 3, 300, 'password', 'Heslo'), (3, 3, 300, 'first_name', 'Křestní jméno'),
(3, 3, 300, 'password_reset_link_sent_notice', 'Pokud účet s touto e-mailovou adresou existuje, poslali jsme odkaz pro obnovení hesla. Zkontrolujte svůj inbox.'), (3, 3, 300, 'forgot_password', 'Zapomněli jste heslo'),
(3, 3, 300, 'password_updated', 'Heslo aktualizováno'), (3, 3, 300, 'i_agree_to_the', 'Souhlasím s'),
(3, 3, 300, 'password_updated_description', 'Vaše heslo bylo úspěšně aktualizováno'), (3, 3, 300, 'last_name', 'Příjmení'),
(3, 3, 300, 'privacy_policy', 'Zásady ochrany osobních údajů'), (3, 3, 300, 'logout', 'Odhlásit se'),
(3, 3, 300, 'reset_password', 'Resetovat heslo'), (3, 3, 300, 'new_password', 'Nové heslo'),
(3, 3, 300, 'send_password_reset_link', 'Odeslat odkaz pro obnovení hesla'), (3, 3, 300, 'or', 'nebo'),
(3, 3, 300, 'sign_in', 'Přihlásit se'), (3, 3, 300, 'password', 'Heslo'),
(3, 3, 300, 'terms_of_service', 'Podmínky služby'); (3, 3, 300, 'password_reset_link_sent_notice', 'Pokud účet s touto e-mailovou adresou existuje, poslali jsme odkaz pro obnovení hesla. Zkontrolujte svůj inbox.'),
(3, 3, 300, 'password_updated', 'Heslo aktualizováno'),
(3, 3, 300, 'password_updated_description', 'Vaše heslo bylo úspěšně aktualizováno'),
(3, 3, 300, 'privacy_policy', 'Zásady ochrany osobních údajů'),
(3, 3, 300, 'reset_password', 'Resetovat heslo'),
(3, 3, 300, 'send_password_reset_link', 'Odeslat odkaz pro obnovení hesla'),
(3, 3, 300, 'sign_in', 'Přihlásit se'),
(3, 3, 300, 'terms_of_service', 'Podmínky služby');
-- Component: validate_error -- Component: validate_error
INSERT IGNORE INTO b2b_translations INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(lang_id, scope_id, component_id, `key`, data) (1, 3, 301, 'confirm_password_required', 'Potwierdź hasło'),
VALUES (1, 3, 301, 'email_required', 'Adres e-mail jest wymagany'),
(1, 3, 301, 'confirm_password_required', 'Potwierdź hasło'), (1, 3, 301, 'first_name_required', 'Imię jest wymagane'),
(1, 3, 301, 'email_required', 'Adres e-mail jest wymagany'), (1, 3, 301, 'last_name_required', 'Nazwisko jest wymagane'),
(1, 3, 301, 'first_name_required', 'Imię jest wymagane'), (1, 3, 301, 'no_issues_for_quarter', 'Nie znaleziono zgłoszeń w tym kwartale'),
(1, 3, 301, 'last_name_required', 'Nazwisko jest wymagane'), (1, 3, 301, 'password_required', 'Hasło jest wymagane'),
(1, 3, 301, 'no_issues_for_quarter', 'Nie znaleziono zgłoszeń w tym kwartale'), (1, 3, 301, 'registration_validation_password_not_same', 'Hasła nie są takie same'),
(1, 3, 301, 'password_required', 'Hasło jest wymagane'), (1, 3, 301, 'registration_validation_password_requirements', 'Wymagania dotyczące hasła przy rejestracji'),
(1, 3, 301, 'registration_validation_password_not_same', 'Hasła nie są takie same'), (2, 3, 301, 'confirm_password_required', 'Confirm password is required'),
(1, 3, 301, 'registration_validation_password_requirements', 'Wymagania dotyczące hasła przy rejestracji'), (2, 3, 301, 'email_required', 'Email is required'),
(2, 3, 301, 'confirm_password_required', 'Confirm password is required'), (2, 3, 301, 'first_name_required', 'First name is required'),
(2, 3, 301, 'email_required', 'Email is required'), (2, 3, 301, 'last_name_required', 'Last name is required'),
(2, 3, 301, 'first_name_required', 'First name is required'), (2, 3, 301, 'no_issues_for_quarter', 'No issues found for this quarter'),
(2, 3, 301, 'last_name_required', 'Last name is required'), (2, 3, 301, 'password_required', 'Password is required'),
(2, 3, 301, 'no_issues_for_quarter', 'No issues found for this quarter'), (2, 3, 301, 'registration_validation_password_not_same', 'Passwords do not match'),
(2, 3, 301, 'password_required', 'Password is required'), (2, 3, 301, 'registration_validation_password_requirements', 'Password requirements for registration'),
(2, 3, 301, 'registration_validation_password_not_same', 'Passwords do not match'), (3, 3, 301, 'confirm_password_required', 'Potvrďte heslo'),
(2, 3, 301, 'registration_validation_password_requirements', 'Password requirements for registration'), (3, 3, 301, 'email_required', 'E-mail je povinný'),
(3, 3, 301, 'confirm_password_required', 'Potvrďte heslo'), (3, 3, 301, 'first_name_required', 'Jméno je povinné'),
(3, 3, 301, 'email_required', 'E-mail je povinný'), (3, 3, 301, 'last_name_required', 'Příjmení je povinné'),
(3, 3, 301, 'first_name_required', 'Jméno je povinné'), (3, 3, 301, 'no_issues_for_quarter', 'Nebyla nalezena žádná issues pro toto čtvrtletí'),
(3, 3, 301, 'last_name_required', 'Příjmení je povinné'), (3, 3, 301, 'password_required', 'Heslo je povinné'),
(3, 3, 301, 'no_issues_for_quarter', 'Nebyla nalezena žádná issues pro toto čtvrtletí'), (3, 3, 301, 'registration_validation_password_not_same', 'Hesla se neshodují'),
(3, 3, 301, 'password_required', 'Heslo je povinné'), (3, 3, 301, 'registration_validation_password_requirements', 'Požadavky na heslo při registraci');
(3, 3, 301, 'registration_validation_password_not_same', 'Hesla se neshodují'),
(3, 3, 301, 'registration_validation_password_requirements', 'Požadavky na heslo při registraci');
-- Component: repo_chart -- Component: repo_chart
INSERT IGNORE INTO b2b_translations INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(lang_id, scope_id, component_id, `key`, data) (1, 3, 302, 'all_quarters', 'Wszystkie kwartały'),
VALUES (1, 3, 302, 'created_on', 'Utworzono'),
(1, 3, 302, 'all_quarters', 'Wszystkie kwartały'), (1, 3, 302, 'failed_to_load_issues', 'Nie udało się załadować zadań'),
(1, 3, 302, 'created_on', 'Utworzono'), (1, 3, 302, 'failed_to_load_quarters', 'Nie udało się załadować kwartałów'),
(1, 3, 302, 'failed_to_load_issues', 'Nie udało się załadować zadań'), (1, 3, 302, 'failed_to_load_repositories', 'Nie udało się załadować repozytoriów'),
(1, 3, 302, 'failed_to_load_quarters', 'Nie udało się załadować kwartałów'), (1, 3, 302, 'failed_to_load_years', 'Nie udało się załadować lat'),
(1, 3, 302, 'failed_to_load_repositories', 'Nie udało się załadować repozytoriów'), (1, 3, 302, 'hours', 'Godziny'),
(1, 3, 302, 'failed_to_load_years', 'Nie udało się załadować lat'), (1, 3, 302, 'hours_spent', 'Spędzone godziny'),
(1, 3, 302, 'hours', 'Godziny'), (1, 3, 302, 'hours_worked', 'Przepracowane godziny'),
(1, 3, 302, 'hours_spent', 'Spędzone godziny'), (1, 3, 302, 'issue_name', 'Nazwa zadania'),
(1, 3, 302, 'hours_worked', 'Przepracowane godziny'), (1, 3, 302, 'issues_for', 'Zadania dla'),
(1, 3, 302, 'issue_name', 'Nazwa zadania'), (1, 3, 302, 'loading', 'Ładowanie'),
(1, 3, 302, 'issues_for', 'Zadania dla'), (1, 3, 302, 'login_to_view_charts', 'Zaloguj się, aby zobaczyć wykresy pracy repozytoriów.'),
(1, 3, 302, 'loading', 'Ładowanie'), (1, 3, 302, 'no_work_data_available', 'Brak danych o pracy dla wybranych kryteriów.'),
(1, 3, 302, 'login_to_view_charts', 'Zaloguj się, aby zobaczyć wykresy pracy repozytoriów.'), (1, 3, 302, 'quarter', 'Kwartał'),
(1, 3, 302, 'no_work_data_available', 'Brak danych o pracy dla wybranych kryteriów.'), (1, 3, 302, 'repository', 'Repozytorium'),
(1, 3, 302, 'quarter', 'Kwartał'), (1, 3, 302, 'repository_work_chart', 'Wykres pracy repozytorium'),
(1, 3, 302, 'repository', 'Repozytorium'), (1, 3, 302, 'select_a_repository', 'Wybierz repozytorium'),
(1, 3, 302, 'repository_work_chart', 'Wykres pracy repozytorium'), (1, 3, 302, 'select_a_year', 'Wybrany rok'),
(1, 3, 302, 'select_a_repository', 'Wybierz repozytorium'), (1, 3, 302, 'select_quarter_to_view_issues', 'Proszę wybrać kwartał, aby zobaczyć zadania.'),
(1, 3, 302, 'select_a_year', 'Wybrany rok'), (1, 3, 302, 'select_repo_to_view_data', 'Proszę wybrać repozytorium, aby zobaczyć dane o pracy.'),
(1, 3, 302, 'select_quarter_to_view_issues', 'Proszę wybrać kwartał, aby zobaczyć zadania.'), (1, 3, 302, 'select_year_to_view_data', 'Proszę wybrać rok, aby zobaczyć dane o pracy.'),
(1, 3, 302, 'select_repo_to_view_data', 'Proszę wybrać repozytorium, aby zobaczyć dane o pracy.'), (1, 3, 302, 'user_initials', 'Inicjały użytkownika'),
(1, 3, 302, 'select_year_to_view_data', 'Proszę wybrać rok, aby zobaczyć dane o pracy.'), (1, 3, 302, 'work_by_quarter', 'Wykonana praca według kwartałów (godziny)'),
(1, 3, 302, 'user_initials', 'Inicjały użytkownika'), (1, 3, 302, 'work_done_by_quarter', 'Wykonana praca według kwartałów'),
(1, 3, 302, 'work_by_quarter', 'Wykonana praca według kwartałów (godziny)'), (1, 3, 302, 'year', 'Rok'),
(1, 3, 302, 'work_done_by_quarter', 'Wykonana praca według kwartałów'), (2, 3, 302, 'all_quarters', 'All Quarters'),
(1, 3, 302, 'year', 'Rok'), (2, 3, 302, 'created_on', 'Created On'),
(2, 3, 302, 'all_quarters', 'All Quarters'), (2, 3, 302, 'failed_to_load_issues', 'Failed to load issues'),
(2, 3, 302, 'created_on', 'Created On'), (2, 3, 302, 'failed_to_load_quarters', 'Failed to load quarters'),
(2, 3, 302, 'failed_to_load_issues', 'Failed to load issues'), (2, 3, 302, 'failed_to_load_repositories', 'Failed to load repositories'),
(2, 3, 302, 'failed_to_load_quarters', 'Failed to load quarters'), (2, 3, 302, 'failed_to_load_years', 'Failed to load years'),
(2, 3, 302, 'failed_to_load_repositories', 'Failed to load repositories'), (2, 3, 302, 'hours', 'Hours'),
(2, 3, 302, 'failed_to_load_years', 'Failed to load years'), (2, 3, 302, 'hours_spent', 'Hours Spent'),
(2, 3, 302, 'hours', 'Hours'), (2, 3, 302, 'hours_worked', 'Hours Worked'),
(2, 3, 302, 'hours_spent', 'Hours Spent'), (2, 3, 302, 'issue_name', 'Issue Name'),
(2, 3, 302, 'hours_worked', 'Hours Worked'), (2, 3, 302, 'issues_for', 'Issues for'),
(2, 3, 302, 'issue_name', 'Issue Name'), (2, 3, 302, 'loading', 'Loading'),
(2, 3, 302, 'issues_for', 'Issues for'), (2, 3, 302, 'login_to_view_charts', 'Please log in to view repository work charts.'),
(2, 3, 302, 'loading', 'Loading'), (2, 3, 302, 'no_work_data_available', 'No work data available for the selected criteria.'),
(2, 3, 302, 'login_to_view_charts', 'Please log in to view repository work charts.'), (2, 3, 302, 'quarter', 'Quarter'),
(2, 3, 302, 'no_work_data_available', 'No work data available for the selected criteria.'), (2, 3, 302, 'repository', 'Repository'),
(2, 3, 302, 'quarter', 'Quarter'), (2, 3, 302, 'repository_work_chart', 'Repository Work Chart'),
(2, 3, 302, 'repository', 'Repository'), (2, 3, 302, 'select_a_repository', 'Select a repository'),
(2, 3, 302, 'repository_work_chart', 'Repository Work Chart'), (2, 3, 302, 'select_a_year', 'Select a year'),
(2, 3, 302, 'select_a_repository', 'Select a repository'), (2, 3, 302, 'select_quarter_to_view_issues', 'Please select a quarter to view issues.'),
(2, 3, 302, 'select_a_year', 'Select a year'), (2, 3, 302, 'select_repo_to_view_data', 'Please select a repository to view work data.'),
(2, 3, 302, 'select_quarter_to_view_issues', 'Please select a quarter to view issues.'), (2, 3, 302, 'select_year_to_view_data', 'Please select a year to view work data.'),
(2, 3, 302, 'select_repo_to_view_data', 'Please select a repository to view work data.'), (2, 3, 302, 'user_initials', 'User Initials'),
(2, 3, 302, 'select_year_to_view_data', 'Please select a year to view work data.'), (2, 3, 302, 'work_by_quarter', 'Work Done by Quarter (Hours)'),
(2, 3, 302, 'user_initials', 'User Initials'), (2, 3, 302, 'work_done_by_quarter', 'Work Done by Quarter'),
(2, 3, 302, 'work_by_quarter', 'Work Done by Quarter (Hours)'), (2, 3, 302, 'year', 'Year'),
(2, 3, 302, 'work_done_by_quarter', 'Work Done by Quarter'), (3, 3, 302, 'all_quarters', 'Všechna čtvrtletí'),
(2, 3, 302, 'year', 'Year'), (3, 3, 302, 'created_on', 'Vytvořeno'),
(3, 3, 302, 'all_quarters', 'Všechna čtvrtletí'), (3, 3, 302, 'failed_to_load_issues', 'Problémy se nepodařilo načíst'),
(3, 3, 302, 'created_on', 'Vytvořeno'), (3, 3, 302, 'failed_to_load_quarters', 'Nepodařilo se načíst čtvrtletí'),
(3, 3, 302, 'failed_to_load_issues', 'Problémy se nepodařilo načíst'), (3, 3, 302, 'failed_to_load_repositories', 'Nepodařilo se načíst repozitáře'),
(3, 3, 302, 'failed_to_load_quarters', 'Nepodařilo se načíst čtvrtletí'), (3, 3, 302, 'failed_to_load_years', 'Nepodařilo se načíst roky'),
(3, 3, 302, 'failed_to_load_repositories', 'Nepodařilo se načíst repozitáře'), (3, 3, 302, 'hours', 'Hodiny'),
(3, 3, 302, 'failed_to_load_years', 'Nepodařilo se načíst roky'), (3, 3, 302, 'hours_spent', 'Strávené hodiny'),
(3, 3, 302, 'hours', 'Hodiny'), (3, 3, 302, 'hours_worked', 'Odpracované hodiny'),
(3, 3, 302, 'hours_spent', 'Strávené hodiny'), (3, 3, 302, 'issue_name', 'Název úkolu'),
(3, 3, 302, 'hours_worked', 'Odpracované hodiny'), (3, 3, 302, 'issues_for', 'úkoly pro'),
(3, 3, 302, 'issue_name', 'Název úkolu'), (3, 3, 302, 'loading', 'Načítání'),
(3, 3, 302, 'issues_for', 'úkoly pro'), (3, 3, 302, 'login_to_view_charts', 'Přihlaste se pro zobrazení grafů práce repozitářů.'),
(3, 3, 302, 'loading', 'Načítání'), (3, 3, 302, 'no_work_data_available', 'Pro zvolená kritéria nejsou k dispozici žádná pracovní data.'),
(3, 3, 302, 'login_to_view_charts', 'Přihlaste se pro zobrazení grafů práce repozitářů.'), (3, 3, 302, 'quarter', 'Čtvrtletí'),
(3, 3, 302, 'no_work_data_available', 'Pro zvolená kritéria nejsou k dispozici žádná pracovní data.'), (3, 3, 302, 'repository', 'Repozitář'),
(3, 3, 302, 'quarter', 'Čtvrtletí'), (3, 3, 302, 'repository_work_chart', 'Graf práce úložiště'),
(3, 3, 302, 'repository', 'Repozitář'), (3, 3, 302, 'select_a_repository', 'Vyberte repozitář'),
(3, 3, 302, 'repository_work_chart', 'Graf práce úložiště'), (3, 3, 302, 'select_a_year', 'Vyberte rok'),
(3, 3, 302, 'select_a_repository', 'Vyberte repozitář'), (3, 3, 302, 'select_quarter_to_view_issues', 'Vyberte prosím čtvrtletí pro zobrazení úkolů.'),
(3, 3, 302, 'select_a_year', 'Vyberte rok'), (3, 3, 302, 'select_repo_to_view_data', 'Vyberte prosím repozitář pro zobrazení pracovních dat.'),
(3, 3, 302, 'select_quarter_to_view_issues', 'Vyberte prosím čtvrtletí pro zobrazení úkolů.'), (3, 3, 302, 'select_year_to_view_data', 'Vyberte prosím rok pro zobrazení pracovních dat.'),
(3, 3, 302, 'select_repo_to_view_data', 'Vyberte prosím repozitář pro zobrazení pracovních dat.'), (3, 3, 302, 'user_initials', 'Iniciály uživatele'),
(3, 3, 302, 'select_year_to_view_data', 'Vyberte prosím rok pro zobrazení pracovních dat.'), (3, 3, 302, 'work_by_quarter', 'Práce dokončená po čtvrtletích (hodiny)'),
(3, 3, 302, 'user_initials', 'Iniciály uživatele'), (3, 3, 302, 'work_done_by_quarter', 'práce provedená za čtvrtletí'),
(3, 3, 302, 'work_by_quarter', 'Práce dokončená po čtvrtletích (hodiny)'), (3, 3, 302, 'year', 'Rok');
(3, 3, 302, 'work_done_by_quarter', 'práce provedená za čtvrtletí'),
(3, 3, 302, 'year', 'Rok');
-- Component: verify_email -- Component: verify_email
INSERT IGNORE INTO b2b_translations INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(lang_id, scope_id, component_id, `key`, data) (1, 3, 303, 'already_registered', 'Masz już konto?'),
VALUES (1, 3, 303, 'error_message', 'Nie udało nam się zweryfikować Twojego adresu e-mail.'),
(1, 3, 303, 'already_registered', 'Masz już konto?'), (1, 3, 303, 'error_title', 'Weryfikacja nie powiodła się'),
(1, 3, 303, 'error_message', 'Nie udało nam się zweryfikować Twojego adresu e-mail.'), (1, 3, 303, 'go_to_login', 'Przejdź do logowania'),
(1, 3, 303, 'error_title', 'Weryfikacja nie powiodła się'), (1, 3, 303, 'invalid_token', 'Nieprawidłowy lub brakujący token weryfikacyjny'),
(1, 3, 303, 'go_to_login', 'Przejdź do logowania'), (1, 3, 303, 'please_wait', 'Masz już konto?'),
(1, 3, 303, 'invalid_token', 'Nieprawidłowy lub brakujący token weryfikacyjny'), (1, 3, 303, 'redirect_message', 'Zostaniesz przekierowany na stronę logowania...'),
(1, 3, 303, 'please_wait', 'Masz już konto?'), (1, 3, 303, 'success_message', 'Twój adres e-mail został pomyślnie zweryfikowany.'),
(1, 3, 303, 'redirect_message', 'Zostaniesz przekierowany na stronę logowania...'), (1, 3, 303, 'success_title', 'E-mail zweryfikowany!'),
(1, 3, 303, 'success_message', 'Twój adres e-mail został pomyślnie zweryfikowany.'), (1, 3, 303, 'verification_failed', 'Weryfikacja e-maila nie powiodła się'),
(1, 3, 303, 'success_title', 'E-mail zweryfikowany!'), (1, 3, 303, 'verifying', 'Sprawdzanie Twojego adresu e-mail...'),
(1, 3, 303, 'verification_failed', 'Weryfikacja e-maila nie powiodła się'), (2, 3, 303, 'already_registered', 'Already have an account?'),
(1, 3, 303, 'verifying', 'Sprawdzanie Twojego adresu e-mail...'), (2, 3, 303, 'error_message', 'We could not verify your email.'),
(2, 3, 303, 'already_registered', 'already registered?'), (2, 3, 303, 'error_title', 'Verification Failed'),
(2, 3, 303, 'error_message', 'We could not verify your email.'), (2, 3, 303, 'go_to_login', 'Go to Login'),
(2, 3, 303, 'error_title', 'Verification Failed'), (2, 3, 303, 'invalid_token', 'Invalid or missing verification token'),
(2, 3, 303, 'go_to_login', 'Go to Login'), (2, 3, 303, 'please_wait', 'Already have an account?'),
(2, 3, 303, 'invalid_token', 'Invalid or missing verification token'), (2, 3, 303, 'redirect_message', 'You will be redirected to login page...'),
(2, 3, 303, 'please_wait', 'Already have an account?'), (2, 3, 303, 'success_message', 'Your email has been verified successfully.'),
(2, 3, 303, 'redirect_message', 'You will be redirected to login page...'), (2, 3, 303, 'success_title', 'Email Verified!'),
(2, 3, 303, 'success_message', 'Your email has been verified successfully.'), (2, 3, 303, 'verification_failed', 'Email verification failed'),
(2, 3, 303, 'success_title', 'Email Verified!'), (2, 3, 303, 'verifying', 'Verifying your email...'),
(2, 3, 303, 'verification_failed', 'Email verification failed'), (3, 3, 303, 'already_registered', 'Už máte účet?'),
(2, 3, 303, 'verifying', 'Verifying your email...'), (3, 3, 303, 'error_message', 'Nepodařilo se nám ověřit váš e-mail.'),
(3, 3, 303, 'already_registered', 'Už máte účet?'), (3, 3, 303, 'error_title', 'Ověření selhalo'),
(3, 3, 303, 'error_message', 'Nepodařilo se nám ověřit váš e-mail.'), (3, 3, 303, 'go_to_login', 'Přejít na přihlášení'),
(3, 3, 303, 'error_title', 'Ověření selhalo'), (3, 3, 303, 'invalid_token', 'Neplatný nebo chybějící ověřovací token'),
(3, 3, 303, 'go_to_login', 'Přejít na přihlášení'), (3, 3, 303, 'please_wait', 'Už máte účet?'),
(3, 3, 303, 'invalid_token', 'Neplatný nebo chybějící ověřovací token'), (3, 3, 303, 'redirect_message', 'Budete přesměrováni na přihlašovací stránku...'),
(3, 3, 303, 'please_wait', 'Už máte účet?'), (3, 3, 303, 'success_message', 'Váš e-mail byl úspěšně ověřen.'),
(3, 3, 303, 'redirect_message', 'Budete přesměrováni na přihlašovací stránku...'), (3, 3, 303, 'success_title', 'E-mail ověřen!'),
(3, 3, 303, 'success_message', 'Váš e-mail byl úspěšně ověřen.'), (3, 3, 303, 'verification_failed', 'Ověření e-mailu selhalo'),
(3, 3, 303, 'success_title', 'E-mail ověřen!'), (3, 3, 303, 'verifying', 'Ověřování vašeho e-mailu...');
(3, 3, 303, 'verification_failed', 'Ověření e-mailu selhalo'),
(3, 3, 303, 'verifying', 'Ověřování vašeho e-mailu...');
-- +goose Down -- +goose Down
-- Remove translations for this scope -- Remove translations for this scope
DELETE FROM translations WHERE scope_id = 3; DELETE FROM b2b_translations WHERE scope_id = 3;

View File

@@ -2,27 +2,26 @@
-- Dump translations from database -- Dump translations from database
-- Components -- Components
INSERT IGNORE INTO b2b_components (id, name) VALUES INSERT IGNORE b2b_components (id, name) VALUES
(1, 'be'), (1, 'be'),
(2, 'login'), (2, 'login'),
(3, 'verify_email'), (3, 'verify_email'),
(100, 'email'), (100, 'email'),
(101, 'error'), (101, 'error'),
(102, 'auth'), (102, 'auth'),
(103, 'email'), (103, 'email'),
(300, 'general'), (300, 'general'),
(301, 'validate_error'), (301, 'validate_error'),
(302, 'repo_chart'), (302, 'repo_chart'),
(303, 'verify_email'); (303, 'verify_email');
-- Scope -- Scope
INSERT IGNORE INTO b2b_scopes (id, name) VALUES INSERT IGNORE b2b_scopes (id, name) VALUES (1, 'Backend');
(1, 'Backend');
-- Translations -- Translations
-- Component: be -- Component: be
INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(1, 1, 1, 'langs_loaded', NULL), (1, 1, 1, 'langs_loaded', NULL),
(1, 1, 1, 'langs_not_loaded', NULL), (1, 1, 1, 'langs_not_loaded', NULL),
(1, 1, 1, 'message_nok', NULL), (1, 1, 1, 'message_nok', NULL),
@@ -43,7 +42,7 @@ INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, dat
(3, 1, 1, 'translations_not_loaded', NULL); (3, 1, 1, 'translations_not_loaded', NULL);
-- Component: email -- Component: email
INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(1, 1, 100, 'langs_loaded', NULL), (1, 1, 100, 'langs_loaded', NULL),
(1, 1, 100, 'langs_not_loaded', NULL), (1, 1, 100, 'langs_not_loaded', NULL),
(1, 1, 100, 'message_nok', NULL), (1, 1, 100, 'message_nok', NULL),
@@ -64,7 +63,7 @@ INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, dat
(3, 1, 100, 'translations_not_loaded', NULL); (3, 1, 100, 'translations_not_loaded', NULL);
-- Component: error -- Component: error
INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(1, 1, 101, 'err_bad_paging', 'zła paginacja'), (1, 1, 101, 'err_bad_paging', 'zła paginacja'),
(1, 1, 101, 'err_bad_quarter_attribute', 'nieprawidłowy atrybut quarter'), (1, 1, 101, 'err_bad_quarter_attribute', 'nieprawidłowy atrybut quarter'),
(1, 1, 101, 'err_bad_repo_id_attribute', 'nieprawidłowy atrybut repoID'), (1, 1, 101, 'err_bad_repo_id_attribute', 'nieprawidłowy atrybut repoID'),
@@ -148,7 +147,7 @@ INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, dat
(3, 1, 101, 'err_verification_token_expired', 'platnost ověřovacího tokenu vypršela'); (3, 1, 101, 'err_verification_token_expired', 'platnost ověřovacího tokenu vypršela');
-- Component: auth -- Component: auth
INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(1, 1, 102, 'auth_if_account_exists', 'jeśli konto o tym adresie e-mail istnieje, został wysłany link do resetowania hasła'), (1, 1, 102, 'auth_if_account_exists', 'jeśli konto o tym adresie e-mail istnieje, został wysłany link do resetowania hasła'),
(1, 1, 102, 'auth_logged_out_successfully', 'wylogowano pomyślnie'), (1, 1, 102, 'auth_logged_out_successfully', 'wylogowano pomyślnie'),
(1, 1, 102, 'auth_password_reset_successfully', 'pomyślnie zresetowano hasło'), (1, 1, 102, 'auth_password_reset_successfully', 'pomyślnie zresetowano hasło'),
@@ -163,7 +162,7 @@ INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, dat
(3, 1, 102, 'auth_registration_successful', 'Registrace úspěšná, prosím ověřte svůj e-mail'); (3, 1, 102, 'auth_registration_successful', 'Registrace úspěšná, prosím ověřte svůj e-mail');
-- Component: email -- Component: email
INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
(1, 1, 103, 'email_admin_notification_title', 'Admin notification title'), (1, 1, 103, 'email_admin_notification_title', 'Admin notification title'),
(1, 1, 103, 'email_footer', 'Wszelkie prawa zastrzeżone.'), (1, 1, 103, 'email_footer', 'Wszelkie prawa zastrzeżone.'),
(1, 1, 103, 'email_greeting', 'Witaj,'), (1, 1, 103, 'email_greeting', 'Witaj,'),
@@ -217,5 +216,5 @@ INSERT IGNORE INTO b2b_translations (lang_id, scope_id, component_id, `key`, dat
(3, 1, 103, 'email_warning_title', 'Důležité:'); (3, 1, 103, 'email_warning_title', 'Důležité:');
-- +goose Down -- +goose Down
-- Remove translations for this scope -- Remove b2b_translations for this scope
DELETE FROM translations WHERE scope_id = 1; DELETE FROM b2b_translations WHERE scope_id = 1;

View File

@@ -1 +1 @@
exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1 exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1

BIN
tmp/main

Binary file not shown.