fix meilisearch
This commit is contained in:
@@ -44,7 +44,7 @@ INSERT IGNORE b2b_scopes (id, name) VALUES (1, 'Backend');
|
||||
-- (3, 1, 1, 'translations_not_loaded', 'Übersetzungen konnten nicht geladen werden');
|
||||
|
||||
-- Component: email (component_id = 100)
|
||||
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, 1, 100, 'langs_loaded', 'Języki załadowane'),
|
||||
(1, 1, 100, 'langs_not_loaded', 'Nie udało się załadować języków'),
|
||||
(1, 1, 100, 'message_nok', 'Błąd'),
|
||||
@@ -64,10 +64,12 @@ INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VA
|
||||
(3, 1, 100, 'message_nok', 'Fehler'),
|
||||
(3, 1, 100, 'message_ok', 'Erfolg'),
|
||||
(3, 1, 100, 'translations_loaded', 'Übersetzungen geladen'),
|
||||
(3, 1, 100, 'translations_not_loaded', 'Übersetzungen konnten nicht geladen werden');
|
||||
(3, 1, 100, 'translations_not_loaded', 'Übersetzungen konnten nicht geladen werden')
|
||||
ON DUPLICATE KEY UPDATE
|
||||
data = IF(data IS NULL, VALUES(data), data);
|
||||
|
||||
-- Component: error (component_id = 101)
|
||||
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, 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'),
|
||||
@@ -150,7 +152,9 @@ INSERT IGNORE b2b_translations (lang_id, scope_id, component_id, `key`, data) VA
|
||||
(3, 1, 101, 'err_token_required', 'Token erforderlich'),
|
||||
(3, 1, 101, 'err_user_inactive', 'Benutzerkonto ist inaktiv'),
|
||||
(3, 1, 101, 'err_user_not_found', 'Benutzer nicht gefunden'),
|
||||
(3, 1, 101, 'err_verification_token_expired', 'Verifizierungstoken abgelaufen');
|
||||
(3, 1, 101, 'err_verification_token_expired', 'Verifizierungstoken abgelaufen')
|
||||
ON DUPLICATE KEY UPDATE
|
||||
data = IF(data IS NULL, VALUES(data), data);
|
||||
|
||||
-- +goose Down
|
||||
-- Remove b2b_translations for this scope
|
||||
|
||||
Reference in New Issue
Block a user