From 5fbe1db118bdb64ce16ded2acade0139a7dc9dd1 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 28 Jun 2021 02:33:23 -0400 Subject: [PATCH] Role mappings: remove deprecated reset copy (#103411) (#103431) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Constance --- .../components/role_mappings/constants.ts | 28 ------------------- .../translations/translations/ja-JP.json | 4 --- .../translations/translations/zh-CN.json | 4 --- 3 files changed, 36 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts index cce18cbeffd0a..243baea2fa4ba 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts @@ -37,34 +37,6 @@ export const ROLE_MAPPINGS_ENGINE_ACCESS_HEADING = i18n.translate( } ); -export const ROLE_MAPPINGS_RESET_BUTTON = i18n.translate( - 'xpack.enterpriseSearch.appSearch.roleMappingsResetButton', - { - defaultMessage: 'Reset mappings', - } -); - -export const ROLE_MAPPINGS_RESET_CONFIRM_TITLE = i18n.translate( - 'xpack.enterpriseSearch.appSearch.roleMappingsResetConfirmTitle', - { - defaultMessage: 'Are you sure you want to reset role mappings?', - } -); - -export const ROLE_MAPPINGS_RESET_CONFIRM_BUTTON = i18n.translate( - 'xpack.enterpriseSearch.appSearch.roleMappingsResetConfirmButton', - { - defaultMessage: 'Reset role mappings', - } -); - -export const ROLE_MAPPINGS_RESET_CANCEL_BUTTON = i18n.translate( - 'xpack.enterpriseSearch.appSearch.roleMappingsResetCancelButton', - { - defaultMessage: 'Cancel', - } -); - export const DEV_ROLE_TYPE_DESCRIPTION = i18n.translate( 'xpack.enterpriseSearch.appSearch.DEV_ROLE_TYPE_DESCRIPTION', { diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 52e956c86535c..70f839612a50b 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -7865,10 +7865,6 @@ "xpack.enterpriseSearch.appSearch.roleMappingCreatedMessage": "ロールマッピングが正常に作成されました。", "xpack.enterpriseSearch.appSearch.roleMappingDeletedMessage": "ロールマッピングが正常に削除されました", "xpack.enterpriseSearch.appSearch.roleMappingsEngineAccessHeading": "エンジンアクセス", - "xpack.enterpriseSearch.appSearch.roleMappingsResetButton": "マッピングをリセット", - "xpack.enterpriseSearch.appSearch.roleMappingsResetCancelButton": "キャンセル", - "xpack.enterpriseSearch.appSearch.roleMappingsResetConfirmButton": "ロールマッピングをリセット", - "xpack.enterpriseSearch.appSearch.roleMappingsResetConfirmTitle": "ロールマッピングをリセットしますか?", "xpack.enterpriseSearch.appSearch.roleMappingUpdatedMessage": "ロールマッピングが正常に更新されました。", "xpack.enterpriseSearch.appSearch.sampleEngineCreationCta.buttonLabel": "サンプルエンジンを試す", "xpack.enterpriseSearch.appSearch.sampleEngineCreationCta.description": "サンプルデータでエンジンをテストします。", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index ede71840e684d..da75d839a0cc7 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -7933,10 +7933,6 @@ "xpack.enterpriseSearch.appSearch.roleMappingCreatedMessage": "角色映射已成功创建。", "xpack.enterpriseSearch.appSearch.roleMappingDeletedMessage": "已成功删除角色映射", "xpack.enterpriseSearch.appSearch.roleMappingsEngineAccessHeading": "引擎访问", - "xpack.enterpriseSearch.appSearch.roleMappingsResetButton": "重置映射", - "xpack.enterpriseSearch.appSearch.roleMappingsResetCancelButton": "取消", - "xpack.enterpriseSearch.appSearch.roleMappingsResetConfirmButton": "重置角色映射", - "xpack.enterpriseSearch.appSearch.roleMappingsResetConfirmTitle": "确定要重置角色映射?", "xpack.enterpriseSearch.appSearch.roleMappingUpdatedMessage": "角色映射已成功更新。", "xpack.enterpriseSearch.appSearch.sampleEngineCreationCta.buttonLabel": "试用示例引擎", "xpack.enterpriseSearch.appSearch.sampleEngineCreationCta.description": "使用示例数据测试引擎。",