initial commit. Cloned timetracker repository
This commit is contained in:
85
i18n/config_i18n.yaml
Normal file
85
i18n/config_i18n.yaml
Normal file
@@ -0,0 +1,85 @@
|
||||
# Database configuration (shared between Vue and Go extractors)
|
||||
database:
|
||||
type: postgres # "mysql" (default),sqlite or "postgres"
|
||||
host: localhost
|
||||
port: 5432
|
||||
user: gitea
|
||||
password: gitea
|
||||
database: gitea
|
||||
max_open_conns: 10
|
||||
max_idle_conns: 5
|
||||
|
||||
# Vue.js extractor configuration
|
||||
vue:
|
||||
input: ~/coding/work/maal_aurrie/golden-panel/app
|
||||
output: vue-keys.json
|
||||
include:
|
||||
- "**/*.vue"
|
||||
- "**/*.js"
|
||||
- "**/*.ts"
|
||||
- "**/*.jsx"
|
||||
- "**/*.tsx"
|
||||
exclude:
|
||||
- "**/node_modules/**"
|
||||
- "**/dist/**"
|
||||
- "**/.nuxt/**"
|
||||
- "**/.output/**"
|
||||
# Vue scope and components
|
||||
scope_id: 3
|
||||
language_ids:
|
||||
- 1 # English
|
||||
- 2 # Polish
|
||||
- 3 # Czech
|
||||
component_mapping:
|
||||
general: 300
|
||||
validate_error: 301
|
||||
repo_chart: 302
|
||||
|
||||
|
||||
save_to_file: true
|
||||
save_to_db: false
|
||||
remove_obsolete: false
|
||||
|
||||
# Go extractor configuration
|
||||
go:
|
||||
input: ~/coding/work/maal_aurrie
|
||||
output: go-keys.json
|
||||
include:
|
||||
- "**/*.go"
|
||||
- "**/*.tmpl"
|
||||
- "**/*.html"
|
||||
exclude:
|
||||
- "**/vendor/**"
|
||||
- "**/.git/**"
|
||||
- "**/node_modules/**"
|
||||
# Go scope and components
|
||||
scope_id: 1
|
||||
scope_name: "Backend"
|
||||
language_ids:
|
||||
- 1 # English
|
||||
- 2 # Polish
|
||||
- 3 # Czech
|
||||
component_mapping:
|
||||
be: 100 # backend general
|
||||
error: 101
|
||||
auth: 102
|
||||
email: 103
|
||||
default_component_id: 100 # Default component for keys without prefix
|
||||
save_to_file: true
|
||||
save_to_db: false
|
||||
remove_obsolete: false
|
||||
|
||||
# Legacy configuration (for backward compatibility)
|
||||
# Used when vue/go sections are not present
|
||||
save:
|
||||
scope_id: 1
|
||||
scope_name: "Default"
|
||||
language_ids:
|
||||
- 1
|
||||
component_mapping:
|
||||
general: 1
|
||||
component_names:
|
||||
general: "General"
|
||||
save_to_file: true
|
||||
save_to_db: false
|
||||
remove_obsolete: false
|
||||
2395
i18n/go-keys.json
Normal file
2395
i18n/go-keys.json
Normal file
File diff suppressed because it is too large
Load Diff
28
i18n/migrations/20260302163100_routes.sql
Normal file
28
i18n/migrations/20260302163100_routes.sql
Normal file
@@ -0,0 +1,28 @@
|
||||
-- +goose Up
|
||||
-- create routes table
|
||||
CREATE TABLE tracker_routes (
|
||||
id SERIAL PRIMARY KEY,
|
||||
name VARCHAR NOT NULL UNIQUE,
|
||||
path VARCHAR NULL,
|
||||
component VARCHAR NOT NULL, -- path to component file
|
||||
layout VARCHAR DEFAULT 'default', -- 'default' | 'empty'
|
||||
meta JSONB DEFAULT '{}',
|
||||
is_active BOOLEAN DEFAULT true,
|
||||
sort_order INT DEFAULT 0,
|
||||
parent_id INT NULL
|
||||
);
|
||||
|
||||
INSERT INTO "public"."tracker_routes" ("name", "path", "component", "layout", "meta", "is_active", "sort_order", "parent_id") VALUES
|
||||
('root', '', '', 'default', '{"trans": "route.root"}', false, 0, 0),
|
||||
('home', '', '@/views/HomeView.vue', 'default', '{"trans": "route.home"}', true, 0, 0),
|
||||
('login', 'login', '@/views/LoginView.vue', 'empty', '{"guest":true}', true, 2, NULL),
|
||||
('register', 'register', '@/views/RegisterView.vue', 'empty', '{"guest":true}', true, 3, NULL),
|
||||
('password-recovery', 'password-recovery', '@/views/PasswordRecoveryView.vue', 'empty', '{"guest":true}', true, 4, NULL),
|
||||
('reset-password', 'reset-password', '@/views/ResetPasswordView.vue', 'empty', '{"guest":true}', true, 5, NULL),
|
||||
('verify-email', 'verify-email', '@/views/VerifyEmailView.vue', 'empty', '{"guest":true}', true, 6, NULL);
|
||||
|
||||
|
||||
-- +goose Down
|
||||
|
||||
DROP TABLE IF EXISTS "public"."tracker_routes";
|
||||
|
||||
122
i18n/migrations/20260302163122_create_tables.sql
Normal file
122
i18n/migrations/20260302163122_create_tables.sql
Normal file
@@ -0,0 +1,122 @@
|
||||
-- +goose Up
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "public"."language" (
|
||||
"id" SERIAL,
|
||||
"created_at" TIMESTAMP WITH TIME ZONE NOT NULL,
|
||||
"updated_at" TIMESTAMP WITH TIME ZONE NULL,
|
||||
"deleted_at" TIMESTAMP WITH TIME ZONE NULL,
|
||||
"name" VARCHAR(128) NOT NULL,
|
||||
"iso_code" VARCHAR(2) NOT NULL,
|
||||
"lang_code" VARCHAR(5) NOT NULL,
|
||||
"date_format" VARCHAR(32) NOT NULL,
|
||||
"date_format_short" VARCHAR(32) NOT NULL,
|
||||
"rtl" BOOLEAN NOT NULL DEFAULT false ,
|
||||
"is_default" BOOLEAN NOT NULL DEFAULT false ,
|
||||
"active" BOOLEAN NOT NULL DEFAULT true ,
|
||||
"flag" VARCHAR(16) NOT NULL,
|
||||
CONSTRAINT "language_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS "idx_language_deleted_at"
|
||||
ON "public"."language" (
|
||||
"deleted_at" ASC
|
||||
);
|
||||
|
||||
INSERT INTO "public"."language" ("id", "created_at", "updated_at", "deleted_at", "name", "iso_code", "lang_code", "date_format", "date_format_short", "rtl", "is_default", "active", "flag") VALUES (1, '2022-09-16 17:10:02.837+00', '2026-03-02 21:24:36.77973+00', NULL, 'Polski', 'pl', 'pl', '__-__-____', '__-__', false, false, true, '🇵🇱') ON CONFLICT DO NOTHING;
|
||||
INSERT INTO "public"."language" ("id", "created_at", "updated_at", "deleted_at", "name", "iso_code", "lang_code", "date_format", "date_format_short", "rtl", "is_default", "active", "flag") VALUES (2, '2022-09-16 17:10:02.852+00', '2026-03-02 21:24:36.77973+00', NULL, 'English', 'en', 'en', '__-__-____', '__-__', false, true, true, '🇬🇧') ON CONFLICT DO NOTHING;
|
||||
INSERT INTO "public"."language" ("id", "created_at", "updated_at", "deleted_at", "name", "iso_code", "lang_code", "date_format", "date_format_short", "rtl", "is_default", "active", "flag") VALUES (3, '2022-09-16 17:10:02.865+00', '2026-03-02 21:24:36.77973+00', NULL, 'Čeština', 'cs', 'cs', '__-__-____', '__-__', false, false, true, '🇨🇿') ON CONFLICT DO NOTHING;
|
||||
|
||||
|
||||
-- components
|
||||
CREATE TABLE IF NOT EXISTS "public"."components" (
|
||||
"id" SERIAL,
|
||||
"name" VARCHAR(255) NOT NULL,
|
||||
CONSTRAINT "components_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS "uk_components_name"
|
||||
ON "public"."components" (
|
||||
"name" ASC,
|
||||
"id" ASC
|
||||
);
|
||||
|
||||
-- scopes
|
||||
CREATE TABLE IF NOT EXISTS "public"."scopes" (
|
||||
"id" SERIAL,
|
||||
"name" VARCHAR(255) NOT NULL,
|
||||
CONSTRAINT "scopes_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS "uk_scopes_name"
|
||||
ON "public"."scopes" (
|
||||
"name" ASC
|
||||
);
|
||||
|
||||
-- translations
|
||||
CREATE TABLE IF NOT EXISTS "public"."translations" (
|
||||
"lang_id" BIGINT NOT NULL,
|
||||
"scope_id" BIGINT NOT NULL,
|
||||
"component_id" BIGINT NOT NULL,
|
||||
"key" VARCHAR(255) NOT NULL,
|
||||
"data" TEXT NULL,
|
||||
CONSTRAINT "translations_pkey" PRIMARY KEY ("lang_id", "scope_id", "component_id", "key"),
|
||||
CONSTRAINT "fk_translations_language" FOREIGN KEY ("lang_id") REFERENCES "public"."language" ("id") ON DELETE RESTRICT ON UPDATE RESTRICT,
|
||||
CONSTRAINT "fk_translations_scope" FOREIGN KEY ("scope_id") REFERENCES "public"."scopes" ("id") ON DELETE RESTRICT ON UPDATE RESTRICT,
|
||||
CONSTRAINT "fk_translations_component" FOREIGN KEY ("component_id") REFERENCES "public"."components" ("id") ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
);
|
||||
|
||||
|
||||
|
||||
-- customers
|
||||
CREATE TABLE IF NOT EXISTS "public"."customers" (
|
||||
"id" SERIAL,
|
||||
"email" VARCHAR(255) NOT NULL,
|
||||
"password" VARCHAR(255) NULL,
|
||||
"first_name" VARCHAR(100) NULL,
|
||||
"last_name" VARCHAR(100) NULL,
|
||||
"role" VARCHAR(20) NULL DEFAULT 'user'::character varying ,
|
||||
"provider" VARCHAR(20) NULL DEFAULT 'local'::character varying ,
|
||||
"provider_id" VARCHAR(255) NULL,
|
||||
"avatar_url" VARCHAR(500) NULL,
|
||||
"is_active" BOOLEAN NULL DEFAULT true ,
|
||||
"email_verified" BOOLEAN NULL DEFAULT false ,
|
||||
"email_verification_token" VARCHAR(255) NULL,
|
||||
"email_verification_expires" TIMESTAMP WITH TIME ZONE NULL,
|
||||
"password_reset_token" VARCHAR(255) NULL,
|
||||
"password_reset_expires" TIMESTAMP WITH TIME ZONE NULL,
|
||||
"last_password_reset_request" TIMESTAMP WITH TIME ZONE NULL,
|
||||
"last_login_at" TIMESTAMP WITH TIME ZONE NULL,
|
||||
"lang" VARCHAR(10) NULL DEFAULT 'en'::character varying ,
|
||||
"created_at" TIMESTAMP WITH TIME ZONE NULL,
|
||||
"updated_at" TIMESTAMP WITH TIME ZONE NULL,
|
||||
"deleted_at" TIMESTAMP WITH TIME ZONE NULL,
|
||||
CONSTRAINT "customers_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS "idx_customers_email"
|
||||
ON "public"."customers" (
|
||||
"email" ASC
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS "idx_customers_deleted_at"
|
||||
ON "public"."customers" (
|
||||
"deleted_at" ASC
|
||||
);
|
||||
|
||||
|
||||
-- customer_repo_accesses
|
||||
CREATE TABLE IF NOT EXISTS "public"."customer_repo_accesses" (
|
||||
"user_id" BIGINT NOT NULL,
|
||||
"repo_id" BIGINT NOT NULL,
|
||||
PRIMARY KEY ("user_id", "repo_id"),
|
||||
FOREIGN KEY ("user_id") REFERENCES "public"."customers" ("id") ON DELETE CASCADE,
|
||||
FOREIGN KEY ("repo_id") REFERENCES "public"."repository" ("id") ON DELETE CASCADE
|
||||
);
|
||||
|
||||
|
||||
-- insert sample admin user admin@ma-al.com/Maal12345678
|
||||
INSERT INTO "public"."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 (1, 'admin@ma-al.com', '$2a$10$Owy9DjrS0l3Fz4XoOvh5pulgmOMqdwXmb7hYE9BovnSuWS2plGr82', 'Super', 'Admin', 'admin', 'local', '', '', true, true, NULL, NULL, '', NULL, NULL, NULL, 'pl', '2026-03-02 16:55:10.25274+00', '2026-03-02 16:55:10.25274+00', NULL) ON CONFLICT DO NOTHING;
|
||||
|
||||
|
||||
-- +goose Down
|
||||
|
||||
DROP TABLE IF EXISTS "public"."language";
|
||||
DROP TABLE IF EXISTS "public"."components";
|
||||
DROP TABLE IF EXISTS "public"."scopes";
|
||||
DROP TABLE IF EXISTS "public"."translations";
|
||||
DROP TABLE IF EXISTS "public"."customers";
|
||||
228
i18n/migrations/20260302163152_translations_backoffice.sql
Normal file
228
i18n/migrations/20260302163152_translations_backoffice.sql
Normal file
@@ -0,0 +1,228 @@
|
||||
-- +goose Up
|
||||
-- Dump translations from database
|
||||
|
||||
-- Components
|
||||
INSERT INTO components (id, name) VALUES
|
||||
(1, 'be'),
|
||||
(2, 'login'),
|
||||
(3, 'verify_email'),
|
||||
(100, 'email'),
|
||||
(101, 'error'),
|
||||
(102, 'auth'),
|
||||
(103, 'email'),
|
||||
(300, 'general'),
|
||||
(301, 'validate_error'),
|
||||
(302, 'repo_chart') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Scope
|
||||
INSERT INTO scopes (id, name) VALUES (3, 'backoffice') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Translations
|
||||
|
||||
-- Component: general
|
||||
INSERT INTO translations (lang_id, scope_id, component_id, "key", data) VALUES
|
||||
(1, 3, 300, 'already_have_an_account', 'Masz już konto?'),
|
||||
(1, 3, 300, 'and', 'i'),
|
||||
(1, 3, 300, 'back_to_sign_in', 'Powrót do logowania'),
|
||||
(1, 3, 300, 'by_signing_in_you_agree_to_our', 'Logując się, zgadzasz się z naszymi'),
|
||||
(1, 3, 300, 'check_your_email', 'Sprawdź swoją skrzynkę e-mail'),
|
||||
(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_password', 'Potwierdź swoje hasło'),
|
||||
(1, 3, 300, 'continue_with_google', 'Kontynuuj z Google'),
|
||||
(1, 3, 300, 'create_account', 'Utwórz konto'),
|
||||
(1, 3, 300, 'create_account_now', 'Utwórz konto teraz'),
|
||||
(1, 3, 300, 'dont_have_an_account', 'Nie masz konta'),
|
||||
(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_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_password', 'Wpisz swoje hasło'),
|
||||
(1, 3, 300, 'first_name', 'Imię'),
|
||||
(1, 3, 300, 'forgot_password', 'Zapomniałeś hasła'),
|
||||
(1, 3, 300, 'i_agree_to_the', 'Zgadzam się z'),
|
||||
(1, 3, 300, 'last_name', 'Nazwisko'),
|
||||
(1, 3, 300, 'new_password', 'Nowe hasło'),
|
||||
(1, 3, 300, 'password', 'Hasło'),
|
||||
(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', 'Hasło zaktualizowane'),
|
||||
(1, 3, 300, 'password_updated_description', 'Twoje hasło zostało pomyślnie zaktualizowane'),
|
||||
(1, 3, 300, 'privacy_policy', 'Polityka prywatności'),
|
||||
(1, 3, 300, 'reset_password', 'Resetuj hasło'),
|
||||
(1, 3, 300, 'send_password_reset_link', 'Wyślij link do resetowania hasła'),
|
||||
(1, 3, 300, 'sign_in', 'Zaloguj się'),
|
||||
(1, 3, 300, 'terms_of_service', 'Regulamin'),
|
||||
(2, 3, 300, 'already_have_an_account', 'Already have an account?'),
|
||||
(2, 3, 300, 'and', 'and'),
|
||||
(2, 3, 300, 'back_to_sign_in', 'Back to Sign In'),
|
||||
(2, 3, 300, 'by_signing_in_you_agree_to_our', 'By signing in, you agree to our terms'),
|
||||
(2, 3, 300, 'check_your_email', 'Check your email'),
|
||||
(2, 3, 300, 'confirm_password', 'Confirm password'),
|
||||
(2, 3, 300, 'confirm_your_new_password', 'Confirm your new password'),
|
||||
(2, 3, 300, 'confirm_your_password', 'Confirm your password'),
|
||||
(2, 3, 300, 'continue_with_google', 'Continue with Google'),
|
||||
(2, 3, 300, 'create_account', 'Create account'),
|
||||
(2, 3, 300, 'create_account_now', 'Create an account now'),
|
||||
(2, 3, 300, 'dont_have_an_account', 'Don''t have an account'),
|
||||
(2, 3, 300, 'email_address', 'Email address'),
|
||||
(2, 3, 300, 'enter_email_for_password_reset', 'Enter your email address, and we’ll send you a link to reset your password.'),
|
||||
(2, 3, 300, 'enter_your_email', 'Enter your email'),
|
||||
(2, 3, 300, 'enter_your_new_password', 'Enter your new password'),
|
||||
(2, 3, 300, 'enter_your_password', 'Enter your password'),
|
||||
(2, 3, 300, 'first_name', 'First name'),
|
||||
(2, 3, 300, 'forgot_password', 'Forgot password'),
|
||||
(2, 3, 300, 'i_agree_to_the', 'I agree to the'),
|
||||
(2, 3, 300, 'last_name', 'Last name'),
|
||||
(2, 3, 300, 'new_password', 'New password'),
|
||||
(2, 3, 300, 'password', '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, 'password_updated', 'Password updated'),
|
||||
(2, 3, 300, 'password_updated_description', 'Your password has been successfully updated'),
|
||||
(2, 3, 300, 'privacy_policy', 'Privacy Policy'),
|
||||
(2, 3, 300, 'reset_password', 'Reset Password'),
|
||||
(2, 3, 300, 'send_password_reset_link', 'Send password reset link'),
|
||||
(2, 3, 300, 'sign_in', 'Sign in'),
|
||||
(2, 3, 300, 'terms_of_service', 'Terms of Service'),
|
||||
(3, 3, 300, 'already_have_an_account', 'Už máte účet?'),
|
||||
(3, 3, 300, 'and', 'a'),
|
||||
(3, 3, 300, 'back_to_sign_in', 'Zpět k přihlášení'),
|
||||
(3, 3, 300, 'by_signing_in_you_agree_to_our', 'Přihlášením souhlasíte s našimi'),
|
||||
(3, 3, 300, 'check_your_email', 'Zkontrolujte svůj e-mail'),
|
||||
(3, 3, 300, 'confirm_password', 'Potvrzení hesla'),
|
||||
(3, 3, 300, 'confirm_your_new_password', 'Potvrďte své nové heslo'),
|
||||
(3, 3, 300, 'confirm_your_password', 'Potvrďte své heslo'),
|
||||
(3, 3, 300, 'continue_with_google', 'Pokračovat s Googlem'),
|
||||
(3, 3, 300, 'create_account', 'Vytvořit účet'),
|
||||
(3, 3, 300, 'create_account_now', 'Vytvořte účet nyní'),
|
||||
(3, 3, 300, 'dont_have_an_account', 'Nemáte účet'),
|
||||
(3, 3, 300, 'email_address', 'E-mailová adresa'),
|
||||
(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, 'enter_your_email', 'Zadejte svůj e-mail'),
|
||||
(3, 3, 300, 'enter_your_new_password', 'Zadejte své nové heslo'),
|
||||
(3, 3, 300, 'enter_your_password', 'Zadejte své heslo'),
|
||||
(3, 3, 300, 'first_name', 'Křestní jméno'),
|
||||
(3, 3, 300, 'forgot_password', 'Zapomněli jste heslo'),
|
||||
(3, 3, 300, 'i_agree_to_the', 'Souhlasím s'),
|
||||
(3, 3, 300, 'last_name', 'Příjmení'),
|
||||
(3, 3, 300, 'new_password', 'Nové heslo'),
|
||||
(3, 3, 300, 'password', 'Heslo'),
|
||||
(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') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Component: validate_error
|
||||
INSERT INTO translations (lang_id, scope_id, component_id, "key", data) VALUES
|
||||
(1, 3, 301, 'confirm_password_required', 'Potwierdź hasło'),
|
||||
(1, 3, 301, 'email_required', 'Adres e-mail jest wymagany'),
|
||||
(1, 3, 301, 'first_name_required', 'Imię jest wymagane'),
|
||||
(1, 3, 301, 'last_name_required', 'Nazwisko jest wymagane'),
|
||||
(1, 3, 301, 'no_issues_for_quarter', 'Nie znaleziono zgłoszeń w tym kwartale'),
|
||||
(1, 3, 301, 'password_required', 'Hasło jest wymagane'),
|
||||
(1, 3, 301, 'registration_validation_password_not_same', 'Hasła nie są takie same'),
|
||||
(1, 3, 301, 'registration_validation_password_requirements', 'Wymagania dotyczące hasła przy rejestracji'),
|
||||
(2, 3, 301, 'confirm_password_required', 'Confirm password is required'),
|
||||
(2, 3, 301, 'email_required', 'Email is required'),
|
||||
(2, 3, 301, 'first_name_required', 'First name is required'),
|
||||
(2, 3, 301, 'last_name_required', 'Last name is required'),
|
||||
(2, 3, 301, 'no_issues_for_quarter', 'No issues found for this quarter'),
|
||||
(2, 3, 301, 'password_required', 'Password is required'),
|
||||
(2, 3, 301, 'registration_validation_password_not_same', 'Passwords do not match'),
|
||||
(2, 3, 301, 'registration_validation_password_requirements', 'Password requirements for registration'),
|
||||
(3, 3, 301, 'confirm_password_required', 'Potvrďte heslo'),
|
||||
(3, 3, 301, 'email_required', 'E-mail je povinný'),
|
||||
(3, 3, 301, 'first_name_required', 'First name is required'),
|
||||
(3, 3, 301, 'last_name_required', 'Příjmení je povinné'),
|
||||
(3, 3, 301, 'no_issues_for_quarter', 'Nebyla nalezena žádná issues pro toto čtvrtletí'),
|
||||
(3, 3, 301, 'password_required', 'Heslo je povinné'),
|
||||
(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') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Component: repo_chart
|
||||
INSERT INTO translations (lang_id, scope_id, component_id, "key", data) VALUES
|
||||
(1, 3, 302, 'all_quarters', 'Wszystkie kwartały'),
|
||||
(1, 3, 302, 'created_on', 'Utworzono'),
|
||||
(1, 3, 302, 'failed_to_load_issues', 'Nepodařilo se načíst úlohy'),
|
||||
(1, 3, 302, 'failed_to_load_quarters', 'Nie udało się załadować kwartałów'),
|
||||
(1, 3, 302, 'failed_to_load_repositories', 'Nie udało się załadować repozytoriów'),
|
||||
(1, 3, 302, 'failed_to_load_years', 'Nie udało się załadować lat'),
|
||||
(1, 3, 302, 'hours', 'Hodiny'),
|
||||
(1, 3, 302, 'hours_spent', 'Spędzone godziny'),
|
||||
(1, 3, 302, 'hours_worked', 'Odpracované hodiny'),
|
||||
(1, 3, 302, 'issue_name', 'Nazwa zadania'),
|
||||
(1, 3, 302, 'issues_for', 'Úkoly pro'),
|
||||
(1, 3, 302, 'loading', 'Ładowanie'),
|
||||
(1, 3, 302, 'login_to_view_charts', 'Zaloguj się, aby zobaczyć wykresy pracy repozytoriów.'),
|
||||
(1, 3, 302, 'no_work_data_available', 'Brak danych o pracy dla wybranych kryteriów.'),
|
||||
(1, 3, 302, 'quarter', 'Kwartał'),
|
||||
(1, 3, 302, 'repository', 'Repozytorium'),
|
||||
(1, 3, 302, 'repository_work_chart', 'Wykres pracy repozytorium'),
|
||||
(1, 3, 302, 'select_a_repository', 'Wybierz repozytorium'),
|
||||
(1, 3, 302, 'select_a_year', 'Vyberte rok'),
|
||||
(1, 3, 302, 'select_quarter_to_view_issues', 'Proszę wybrać kwartał, aby zobaczyć zadania.'),
|
||||
(1, 3, 302, 'select_repo_to_view_data', 'Proszę wybrać repozytorium, aby zobaczyć dane o pracy.'),
|
||||
(1, 3, 302, 'select_year_to_view_data', 'Proszę wybrać rok, aby zobaczyć dane o pracy.'),
|
||||
(1, 3, 302, 'user_initials', 'Inicjały użytkownika'),
|
||||
(1, 3, 302, 'work_by_quarter', 'Wykonana praca według kwartałów (godziny)'),
|
||||
(1, 3, 302, 'work_done_by_quarter', 'Wykonana praca według kwartałów'),
|
||||
(1, 3, 302, 'year', 'Rok'),
|
||||
(2, 3, 302, 'all_quarters', 'All Quarters'),
|
||||
(2, 3, 302, 'created_on', 'Created On'),
|
||||
(2, 3, 302, 'failed_to_load_issues', 'Failed to load issues'),
|
||||
(2, 3, 302, 'failed_to_load_quarters', 'Failed to load quarters'),
|
||||
(2, 3, 302, 'failed_to_load_repositories', 'Failed to load repositories'),
|
||||
(2, 3, 302, 'failed_to_load_years', 'Failed to load years'),
|
||||
(2, 3, 302, 'hours', 'Hours'),
|
||||
(2, 3, 302, 'hours_spent', 'Hours Spent'),
|
||||
(2, 3, 302, 'hours_worked', 'Hours Worked'),
|
||||
(2, 3, 302, 'issue_name', 'Issue Name'),
|
||||
(2, 3, 302, 'issues_for', 'Issues for'),
|
||||
(2, 3, 302, 'loading', 'Loading'),
|
||||
(2, 3, 302, 'login_to_view_charts', 'Please log in to view repository work charts.'),
|
||||
(2, 3, 302, 'no_work_data_available', 'No work data available for the selected criteria.'),
|
||||
(2, 3, 302, 'quarter', 'Quarter'),
|
||||
(2, 3, 302, 'repository', 'Repository'),
|
||||
(2, 3, 302, 'repository_work_chart', 'Repository Work Chart'),
|
||||
(2, 3, 302, 'select_a_repository', 'Select a repository'),
|
||||
(2, 3, 302, 'select_a_year', 'Select a year'),
|
||||
(2, 3, 302, 'select_quarter_to_view_issues', 'Please select a quarter to view issues.'),
|
||||
(2, 3, 302, 'select_repo_to_view_data', 'Please select a repository to view work data.'),
|
||||
(2, 3, 302, 'select_year_to_view_data', 'Please select a year to view work data.'),
|
||||
(2, 3, 302, 'user_initials', 'User Initials'),
|
||||
(2, 3, 302, 'work_by_quarter', 'Work Done by Quarter (Hours)'),
|
||||
(2, 3, 302, 'work_done_by_quarter', 'Work Done by Quarter'),
|
||||
(2, 3, 302, 'year', 'Year'),
|
||||
(3, 3, 302, 'all_quarters', 'Všechna čtvrtletí'),
|
||||
(3, 3, 302, 'created_on', 'Vytvořeno'),
|
||||
(3, 3, 302, 'failed_to_load_issues', 'Nie udało się załadować zgłoszeń'),
|
||||
(3, 3, 302, 'failed_to_load_quarters', 'Nepodařilo se načíst čtvrtletí'),
|
||||
(3, 3, 302, 'failed_to_load_repositories', 'Nepodařilo se načíst repozitáře'),
|
||||
(3, 3, 302, 'failed_to_load_years', 'Nepodařilo se načíst roky'),
|
||||
(3, 3, 302, 'hours', 'Godziny'),
|
||||
(3, 3, 302, 'hours_spent', 'Strávené hodiny'),
|
||||
(3, 3, 302, 'hours_worked', 'Przepracowane godziny'),
|
||||
(3, 3, 302, 'issue_name', 'Název úkolu'),
|
||||
(3, 3, 302, 'issues_for', 'Zadania dla'),
|
||||
(3, 3, 302, 'loading', 'Načítání'),
|
||||
(3, 3, 302, 'login_to_view_charts', 'Přihlaste se pro zobrazení grafů práce repozitářů.'),
|
||||
(3, 3, 302, 'no_work_data_available', 'Pro zvolená kritéria nejsou k dispozici žádná pracovní data.'),
|
||||
(3, 3, 302, 'quarter', 'Čtvrtletí'),
|
||||
(3, 3, 302, 'repository', 'Repozitář'),
|
||||
(3, 3, 302, 'repository_work_chart', 'Graf práce úložiště'),
|
||||
(3, 3, 302, 'select_a_repository', 'Vyberte repozitář'),
|
||||
(3, 3, 302, 'select_a_year', 'Wybierz rok'),
|
||||
(3, 3, 302, 'select_quarter_to_view_issues', 'Vyberte prosím čtvrtletí pro zobrazení úkolů.'),
|
||||
(3, 3, 302, 'select_repo_to_view_data', 'Vyberte prosím repozitář pro zobrazení pracovních dat.'),
|
||||
(3, 3, 302, 'select_year_to_view_data', 'Vyberte prosím rok pro zobrazení pracovních dat.'),
|
||||
(3, 3, 302, 'user_initials', 'Iniciály uživatele'),
|
||||
(3, 3, 302, 'work_by_quarter', 'Práce dokončená po čtvrtletích (hodiny)'),
|
||||
(3, 3, 302, 'work_done_by_quarter', 'Wykonana praca według kwartałów'),
|
||||
(3, 3, 302, 'year', 'Rok') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- +goose Down
|
||||
-- Remove translations for this scope
|
||||
DELETE FROM translations WHERE scope_id = 3;
|
||||
219
i18n/migrations/20260302163157_translations_backend.sql
Normal file
219
i18n/migrations/20260302163157_translations_backend.sql
Normal file
@@ -0,0 +1,219 @@
|
||||
-- +goose Up
|
||||
-- Dump translations from database
|
||||
|
||||
-- Components
|
||||
INSERT INTO components (id, name) VALUES
|
||||
(1, 'be'),
|
||||
(2, 'login'),
|
||||
(3, 'verify_email'),
|
||||
(100, 'email'),
|
||||
(101, 'error'),
|
||||
(102, 'auth'),
|
||||
(103, 'email'),
|
||||
(300, 'general'),
|
||||
(301, 'validate_error'),
|
||||
(302, 'repo_chart') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Scope
|
||||
INSERT INTO scopes (id, name) VALUES (1, 'Backend') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Translations
|
||||
|
||||
-- Component: be
|
||||
INSERT INTO translations (lang_id, scope_id, component_id, "key", data) VALUES
|
||||
(1, 1, 1, 'langs_loaded', NULL),
|
||||
(1, 1, 1, 'langs_not_loaded', NULL),
|
||||
(1, 1, 1, 'message_nok', NULL),
|
||||
(1, 1, 1, 'message_ok', NULL),
|
||||
(1, 1, 1, 'translations_loaded', NULL),
|
||||
(1, 1, 1, 'translations_not_loaded', NULL),
|
||||
(2, 1, 1, 'langs_loaded', NULL),
|
||||
(2, 1, 1, 'langs_not_loaded', NULL),
|
||||
(2, 1, 1, 'message_nok', NULL),
|
||||
(2, 1, 1, 'message_ok', NULL),
|
||||
(2, 1, 1, 'translations_loaded', NULL),
|
||||
(2, 1, 1, 'translations_not_loaded', NULL),
|
||||
(3, 1, 1, 'langs_loaded', NULL),
|
||||
(3, 1, 1, 'langs_not_loaded', NULL),
|
||||
(3, 1, 1, 'message_nok', NULL),
|
||||
(3, 1, 1, 'message_ok', NULL),
|
||||
(3, 1, 1, 'translations_loaded', NULL),
|
||||
(3, 1, 1, 'translations_not_loaded', NULL) ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Component: email
|
||||
INSERT INTO translations (lang_id, scope_id, component_id, "key", data) VALUES
|
||||
(1, 1, 100, 'langs_loaded', NULL),
|
||||
(1, 1, 100, 'langs_not_loaded', NULL),
|
||||
(1, 1, 100, 'message_nok', NULL),
|
||||
(1, 1, 100, 'message_ok', NULL),
|
||||
(1, 1, 100, 'translations_loaded', NULL),
|
||||
(1, 1, 100, 'translations_not_loaded', NULL),
|
||||
(2, 1, 100, 'langs_loaded', NULL),
|
||||
(2, 1, 100, 'langs_not_loaded', NULL),
|
||||
(2, 1, 100, 'message_nok', NULL),
|
||||
(2, 1, 100, 'message_ok', NULL),
|
||||
(2, 1, 100, 'translations_loaded', NULL),
|
||||
(2, 1, 100, 'translations_not_loaded', NULL),
|
||||
(3, 1, 100, 'langs_loaded', NULL),
|
||||
(3, 1, 100, 'langs_not_loaded', NULL),
|
||||
(3, 1, 100, 'message_nok', NULL),
|
||||
(3, 1, 100, 'message_ok', NULL),
|
||||
(3, 1, 100, 'translations_loaded', NULL),
|
||||
(3, 1, 100, 'translations_not_loaded', NULL) ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Component: error
|
||||
INSERT INTO translations (lang_id, scope_id, component_id, "key", data) VALUES
|
||||
(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_repo_id_attribute', 'nieprawidłowy atrybut repoID'),
|
||||
(1, 1, 101, 'err_bad_year_attribute', 'nieprawidłowy atrybut year'),
|
||||
(1, 1, 101, 'err_email_exists', 'adres e-mail zajęty'),
|
||||
(1, 1, 101, 'err_email_not_verified', 'adres e-mail nie został zweryfikowany'),
|
||||
(1, 1, 101, 'err_email_password_required', 'wymagany jest adres e-mail i hasło'),
|
||||
(1, 1, 101, 'err_email_required', 'Adres e-mail jest wymagany'),
|
||||
(1, 1, 101, 'err_first_last_name_required', 'imię i nazwisko są wymagane'),
|
||||
(1, 1, 101, 'err_internal_server_error', 'błąd wewnętrzny serwera'),
|
||||
(1, 1, 101, 'err_invalid_body', 'nieprawidłowy tekst zapytania'),
|
||||
(1, 1, 101, 'err_invalid_credentials', 'nieprawidłowy adres e-mail lub hasło'),
|
||||
(1, 1, 101, 'err_invalid_password', 'hasło musi mieć co najmniej 10 znaków i zawierać co najmniej jedną małą literę, jedną wielką literę i jedną cyfrę'),
|
||||
(1, 1, 101, 'err_invalid_repo_id', 'niedostępne repo id'),
|
||||
(1, 1, 101, 'err_invalid_reset_token', 'nieprawidłowy token'),
|
||||
(1, 1, 101, 'err_invalid_token', 'nieprawidłowy token'),
|
||||
(1, 1, 101, 'err_invalid_verification_token', 'nieprawidłowy token'),
|
||||
(1, 1, 101, 'err_not_authenticated', 'nie uwierzytelniono'),
|
||||
(1, 1, 101, 'err_passwords_do_not_match', 'hasła nie pasują'),
|
||||
(1, 1, 101, 'err_refresh_token_required', 'wymagany jest token odświeżania'),
|
||||
(1, 1, 101, 'err_reset_token_expired', 'token wygasł'),
|
||||
(1, 1, 101, 'err_token_expired', 'token wygasł'),
|
||||
(1, 1, 101, 'err_token_password_required', 'wymagane są token i hasło'),
|
||||
(1, 1, 101, 'err_token_required', 'wymagany jest token'),
|
||||
(1, 1, 101, 'err_user_inactive', 'konto użytkownika jest nieaktywne'),
|
||||
(1, 1, 101, 'err_user_not_found', 'użytkownik nie został znaleziony'),
|
||||
(1, 1, 101, 'err_verification_token_expired', 'token weryfikacyjny wygasł'),
|
||||
(2, 1, 101, 'err_bad_paging', 'bad paging'),
|
||||
(2, 1, 101, 'err_bad_quarter_attribute', 'bad quarter attribute'),
|
||||
(2, 1, 101, 'err_bad_repo_id_attribute', 'bad repoID attribute'),
|
||||
(2, 1, 101, 'err_bad_year_attribute', 'bad year attribute'),
|
||||
(2, 1, 101, 'err_email_exists', 'email already exists'),
|
||||
(2, 1, 101, 'err_email_not_verified', 'email not verified'),
|
||||
(2, 1, 101, 'err_email_password_required', 'email and password are required'),
|
||||
(2, 1, 101, 'err_email_required', 'email is required'),
|
||||
(2, 1, 101, 'err_first_last_name_required', 'first and last name is required'),
|
||||
(2, 1, 101, 'err_internal_server_error', 'internal server error'),
|
||||
(2, 1, 101, 'err_invalid_body', 'invalid request body'),
|
||||
(2, 1, 101, 'err_invalid_credentials', 'invalid email or password'),
|
||||
(2, 1, 101, 'err_invalid_password', 'password must be at least 10 characters long and contain at least one lowercase letter, one uppercase letter, and one digit'),
|
||||
(2, 1, 101, 'err_invalid_repo_id', 'inaccessible repo id'),
|
||||
(2, 1, 101, 'err_invalid_reset_token', 'invalid reset token'),
|
||||
(2, 1, 101, 'err_invalid_token', 'invalid token'),
|
||||
(2, 1, 101, 'err_invalid_verification_token', 'invalid verification token'),
|
||||
(2, 1, 101, 'err_not_authenticated', 'not authenticated'),
|
||||
(2, 1, 101, 'err_passwords_do_not_match', 'passwords do not match'),
|
||||
(2, 1, 101, 'err_refresh_token_required', 'refresh token is required'),
|
||||
(2, 1, 101, 'err_reset_token_expired', 'reset token has expired'),
|
||||
(2, 1, 101, 'err_token_expired', 'token has expired'),
|
||||
(2, 1, 101, 'err_token_password_required', 'token and password are required'),
|
||||
(2, 1, 101, 'err_token_required', 'token is required'),
|
||||
(2, 1, 101, 'err_user_inactive', 'user account is inactive'),
|
||||
(2, 1, 101, 'err_user_not_found', 'user not found'),
|
||||
(2, 1, 101, 'err_verification_token_expired', 'verification token has expired'),
|
||||
(3, 1, 101, 'err_bad_paging', 'špatné stránkování'),
|
||||
(3, 1, 101, 'err_bad_quarter_attribute', 'atribut špatné čtvrtiny'),
|
||||
(3, 1, 101, 'err_bad_repo_id_attribute', 'špatný atribut repoID'),
|
||||
(3, 1, 101, 'err_bad_year_attribute', 'atribut špatného roku'),
|
||||
(3, 1, 101, 'err_email_exists', 'e-mail již existuje'),
|
||||
(3, 1, 101, 'err_email_not_verified', 'e-mail nebyl ověřen'),
|
||||
(3, 1, 101, 'err_email_password_required', 'je vyžadován e-mail a heslo'),
|
||||
(3, 1, 101, 'err_email_required', 'e-mail je povinný'),
|
||||
(3, 1, 101, 'err_first_last_name_required', 'křestní jméno a příjmení je povinné'),
|
||||
(3, 1, 101, 'err_internal_server_error', 'interní chyba serveru'),
|
||||
(3, 1, 101, 'err_invalid_body', 'neplatné tělo požadavku'),
|
||||
(3, 1, 101, 'err_invalid_credentials', 'neplatný e-mail nebo heslo'),
|
||||
(3, 1, 101, 'err_invalid_password', 'heslo musí mít alespoň 10 znaků a musí obsahovat alespoň jedno malé písmeno, jedno velké písmeno a jednu číslici'),
|
||||
(3, 1, 101, 'err_invalid_repo_id', 'nepřístupné ID úložiště'),
|
||||
(3, 1, 101, 'err_invalid_reset_token', 'neplatný resetovací token'),
|
||||
(3, 1, 101, 'err_invalid_token', 'neplatný token'),
|
||||
(3, 1, 101, 'err_invalid_verification_token', 'neplatný ověřovací token'),
|
||||
(3, 1, 101, 'err_not_authenticated', 'neověřeno'),
|
||||
(3, 1, 101, 'err_passwords_do_not_match', 'hesla se neshodují'),
|
||||
(3, 1, 101, 'err_refresh_token_required', 'Je vyžadován token pro obnovení'),
|
||||
(3, 1, 101, 'err_reset_token_expired', 'Platnost resetovacího tokenu vypršela'),
|
||||
(3, 1, 101, 'err_token_expired', 'platnost tokenu vypršela'),
|
||||
(3, 1, 101, 'err_token_password_required', 'je vyžadován token a heslo'),
|
||||
(3, 1, 101, 'err_token_required', 'je vyžadován token'),
|
||||
(3, 1, 101, 'err_user_inactive', 'uživatelský účet je neaktivní'),
|
||||
(3, 1, 101, 'err_user_not_found', 'uživatel nenalezen'),
|
||||
(3, 1, 101, 'err_verification_token_expired', 'platnost ověřovacího tokenu vypršela') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Component: auth
|
||||
INSERT INTO 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_logged_out_successfully', 'wylogowano pomyślnie'),
|
||||
(1, 1, 102, 'auth_password_reset_successfully', 'pomyślnie zresetowano hasło'),
|
||||
(1, 1, 102, 'auth_registration_successful', 'rejestracja pomyślna, proszę zweryfikować swój adres e-mail'),
|
||||
(2, 1, 102, 'auth_if_account_exists', 'if an account with that email exists, a password reset link has been sent'),
|
||||
(2, 1, 102, 'auth_logged_out_successfully', 'logged out successfully'),
|
||||
(2, 1, 102, 'auth_password_reset_successfully', 'password reset successfully'),
|
||||
(2, 1, 102, 'auth_registration_successful', 'registration successful, please verify your email'),
|
||||
(3, 1, 102, 'auth_if_account_exists', 'Pokud účet s danou e-mailovou adresou existuje, byl odeslán odkaz pro resetování hesla.'),
|
||||
(3, 1, 102, 'auth_logged_out_successfully', 'úspěšně odhlášen/a'),
|
||||
(3, 1, 102, 'auth_password_reset_successfully', 'úspěšné obnovení hesla'),
|
||||
(3, 1, 102, 'auth_registration_successful', 'Registrace úspěšná, prosím ověřte svůj e-mail') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- Component: email
|
||||
INSERT INTO translations (lang_id, scope_id, component_id, "key", data) VALUES
|
||||
(1, 1, 103, 'email_admin_notification_title', 'Admin notification title'),
|
||||
(1, 1, 103, 'email_footer', 'Wszelkie prawa zastrzeżone.'),
|
||||
(1, 1, 103, 'email_greeting', 'Witaj,'),
|
||||
(1, 1, 103, 'email_ignore', 'Jeśli nie jesteś właścicielem tego konta, prosimy o zignorowanie maila.'),
|
||||
(1, 1, 103, 'email_ignore_reset', 'Jeśli nie chcesz zmieniać hasła, prosimy o zignorowanie maila. Twoje hasło pozostanie niezmienione.'),
|
||||
(1, 1, 103, 'email_or_copy', 'Bądź przekopiuj poniższy link do przeglądarki:'),
|
||||
(1, 1, 103, 'email_password_reset_message1', 'Otrzymaliśmy prośbę o zresetowanie Twojego hasła. Aby utworzyć nowe hasło, kliknij w poniższy przycisk:'),
|
||||
(1, 1, 103, 'email_password_reset_subject', 'Zresetuj hasło'),
|
||||
(1, 1, 103, 'email_password_reset_title', 'Zresetuj swoje hasło'),
|
||||
(1, 1, 103, 'email_password_reset_warning', 'Link na zresesetowanie hasła przedawni się po 1 godzinie.'),
|
||||
(1, 1, 103, 'email_reset_button', 'Zresetuj hasło'),
|
||||
(1, 1, 103, 'email_verification_message1', 'Dziękujemy za rejestrację. Aby dokończyć proces rejestracji, zweryfikuj swojego maila klikając w poniższy link:'),
|
||||
(1, 1, 103, 'email_verification_note', 'Uwaga: link weryfikacyjny przedawni się za 24 godziny.'),
|
||||
(1, 1, 103, 'email_verification_subject', 'Zweryfikuj swój adres email'),
|
||||
(1, 1, 103, 'email_verification_title', 'Weryfikacja Adresu email'),
|
||||
(1, 1, 103, 'email_verify_button', 'Zweryfikuj adres email'),
|
||||
(1, 1, 103, 'email_warning_title', 'Ważne:'),
|
||||
(2, 1, 103, 'email_admin_notification_title', 'Admin notification title'),
|
||||
(2, 1, 103, 'email_footer', 'All rights reserved.'),
|
||||
(2, 1, 103, 'email_greeting', 'Hello,'),
|
||||
(2, 1, 103, 'email_ignore', 'If you did not create an account with us, please ignore this email.'),
|
||||
(2, 1, 103, 'email_ignore_reset', 'If you did not request a password reset, please ignore this email. Your password will remain unchanged.'),
|
||||
(2, 1, 103, 'email_or_copy', 'Or copy and paste this link into your browser:'),
|
||||
(2, 1, 103, 'email_password_reset_message1', 'We received a request to reset your password. Click the button below to create a new password:'),
|
||||
(2, 1, 103, 'email_password_reset_subject', 'Reset Your Password'),
|
||||
(2, 1, 103, 'email_password_reset_title', 'Reset Your Password'),
|
||||
(2, 1, 103, 'email_password_reset_warning', 'This password reset link will expire in 1 hour for security reasons.'),
|
||||
(2, 1, 103, 'email_reset_button', 'Reset Password'),
|
||||
(2, 1, 103, 'email_verification_message1', 'Thank you for registering with us. To complete your registration and activate your account, please verify your email address by clicking the button below:'),
|
||||
(2, 1, 103, 'email_verification_note', 'Note: This verification link will expire in 24 hours.'),
|
||||
(2, 1, 103, 'email_verification_subject', 'Verify Your Email Address'),
|
||||
(2, 1, 103, 'email_verification_title', 'Verify Your Email Address'),
|
||||
(2, 1, 103, 'email_verify_button', 'Verify Email Address'),
|
||||
(2, 1, 103, 'email_warning_title', 'Important:'),
|
||||
(3, 1, 103, 'email_admin_notification_title', 'Admin notification title'),
|
||||
(3, 1, 103, 'email_footer', 'Všechna práva vyhrazena.'),
|
||||
(3, 1, 103, 'email_greeting', 'Ahoj,'),
|
||||
(3, 1, 103, 'email_ignore', 'Pokud jste si u nás nevytvořili účet, prosím, ignorujte tento e-mail.'),
|
||||
(3, 1, 103, 'email_ignore_reset', 'Pokud jste nepožádali o obnovení hesla, ignorujte prosím tento e-mail. Vaše heslo zůstane nezměněno.'),
|
||||
(3, 1, 103, 'email_or_copy', 'Nebo zkopírujte a vložte tento odkaz do prohlížeče:'),
|
||||
(3, 1, 103, 'email_password_reset_message1', 'Obdrželi jsme žádost o obnovení hesla. Klikněte na tlačítko níže a vytvořte si nové heslo:'),
|
||||
(3, 1, 103, 'email_password_reset_subject', 'Obnovte si heslo'),
|
||||
(3, 1, 103, 'email_password_reset_title', 'Obnovte si heslo'),
|
||||
(3, 1, 103, 'email_password_reset_warning', 'Z bezpečnostních důvodů platnost tohoto odkazu pro obnovení hesla vyprší za 1 hodinu.'),
|
||||
(3, 1, 103, 'email_reset_button', 'Obnovit heslo'),
|
||||
(3, 1, 103, 'email_verification_message1', 'Děkujeme za registraci u nás. Chcete-li dokončit registraci a aktivovat svůj účet, ověřte prosím svou e-mailovou adresu kliknutím na tlačítko níže:'),
|
||||
(3, 1, 103, 'email_verification_note', 'Poznámka: Platnost tohoto ověřovacího odkazu vyprší za 24 hodin.'),
|
||||
(3, 1, 103, 'email_verification_subject', 'Ověřte svou e-mailovou adresu'),
|
||||
(3, 1, 103, 'email_verification_title', 'Ověřte svou e-mailovou adresu'),
|
||||
(3, 1, 103, 'email_verify_button', 'Ověření e-mailové adresy'),
|
||||
(3, 1, 103, 'email_warning_title', 'Důležité:') ON CONFLICT DO NOTHING;
|
||||
|
||||
-- +goose Down
|
||||
-- Remove translations for this scope
|
||||
DELETE FROM translations WHERE scope_id = 1;
|
||||
1914
i18n/vue-keys.json
Normal file
1914
i18n/vue-keys.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user