fix meilisearch

This commit is contained in:
2026-03-26 22:00:42 +01:00
parent 29260080c2
commit ec05101037
21 changed files with 545 additions and 294 deletions

View File

@@ -21,7 +21,7 @@ INSERT IGNORE b2b_scopes (id, name) VALUES (3, 'backoffice');
-- Translations
-- Component: general
INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
INSERT b2b_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'),
@@ -123,10 +123,12 @@ INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VA
(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');
(3, 3, 300, 'terms_of_service', 'Podmínky služby')
ON DUPLICATE KEY UPDATE
data = IF(data IS NULL, VALUES(data), data);
-- Component: validate_error
INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
INSERT b2b_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'),
@@ -150,10 +152,12 @@ INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VA
(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');
(3, 3, 301, 'registration_validation_password_requirements', 'Požadavky na heslo při registraci')
ON DUPLICATE KEY UPDATE
data = IF(data IS NULL, VALUES(data), data);
-- Component: repo_chart
INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
INSERT b2b_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', 'Nie udało się załadować zadań'),
@@ -231,7 +235,9 @@ INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VA
(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', 'práce provedená za čtvrtletí'),
(3, 3, 302, 'year', 'Rok');
(3, 3, 302, 'year', 'Rok')
ON DUPLICATE KEY UPDATE
data = IF(data IS NULL, VALUES(data), data);
-- Component: verify_email
INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VALUES
@@ -267,7 +273,9 @@ INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VA
(3, 3, 303, 'success_message', 'Váš e-mail byl úspěšně ověřen.'),
(3, 3, 303, 'success_title', 'E-mail ověřen!'),
(3, 3, 303, 'verification_failed', 'Ověření e-mailu selhalo'),
(3, 3, 303, 'verifying', 'Ověřování vašeho e-mailu...');
(3, 3, 303, 'verifying', 'Ověřování vašeho e-mailu...')
ON DUPLICATE KEY UPDATE
data = IF(data IS NULL, VALUES(data), data);
-- +goose Down
-- Remove translations for this scope