229 lines
13 KiB
SQL
229 lines
13 KiB
SQL
-- +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;
|