From 347b8a6afd0c3cd6925ff74046e0ea3f256aac81 Mon Sep 17 00:00:00 2001 From: Ievgen Sorokopud <ievgen.sorokopud@elastic.co> Date: Wed, 22 Jan 2025 17:08:03 +0100 Subject: [PATCH] [SIEM migrations] Fix duplicated translations issue (#207845) ## Summary [Internal link](https://github.com/elastic/security-team/issues/10820) to the feature details This PR fixes the duplicated translations issue introduced in https://github.com/elastic/kibana/pull/207242 > [!NOTE] > This feature needs `siemMigrationsEnabled` experimental flag enabled to work. (cherry picked from commit cde76c1e2dca941fee581c54aeafc5f617c9bfcf) --- .../rules/components/tours/setup_guide/translations.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/siem_migrations/rules/components/tours/setup_guide/translations.ts b/x-pack/solutions/security/plugins/security_solution/public/siem_migrations/rules/components/tours/setup_guide/translations.ts index e5a57eea15507..825ec2981f289 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/siem_migrations/rules/components/tours/setup_guide/translations.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/siem_migrations/rules/components/tours/setup_guide/translations.ts @@ -8,21 +8,21 @@ import { i18n } from '@kbn/i18n'; export const SETUP_SIEM_MIGRATION_TOUR_TITLE = i18n.translate( - 'xpack.securitySolution.siemMigrations.rules.tour.setupSiemMigrationTourTitle', + 'xpack.securitySolution.siemMigrations.rules.tour.setupSiemMigrationGuide.title', { defaultMessage: 'Streamlined SIEM migration', } ); export const SETUP_SIEM_MIGRATION_TOUR_SUBTITLE = i18n.translate( - 'xpack.securitySolution.siemMigrations.rules.tour.setupSiemMigrationTourTitle', + 'xpack.securitySolution.siemMigrations.rules.tour.setupSiemMigrationGuide.subtitle', { defaultMessage: 'New onboarding guide!', } ); export const SETUP_SIEM_MIGRATION_TOUR_CONTENT = i18n.translate( - 'xpack.securitySolution.siemMigrations.rules.tour.setupSiemMigrationTourContent', + 'xpack.securitySolution.siemMigrations.rules.tour.setupSiemMigrationGuide.content', { defaultMessage: 'This is a step-by-step guide to quickly import your SIEM rules, assets, and data to Elastic Security. Powered by AI.', @@ -30,7 +30,7 @@ export const SETUP_SIEM_MIGRATION_TOUR_CONTENT = i18n.translate( ); export const FINISH_TOUR_BUTTON = i18n.translate( - 'xpack.securitySolution.siemMigrations.rules.tour.finishButton', + 'xpack.securitySolution.siemMigrations.rules.tour.setupSiemMigrationGuide.finishButton', { defaultMessage: 'OK', }