Skip to content

Commit

Permalink
[Security Solution][Detection & Response] Fix view all cases button l…
Browse files Browse the repository at this point in the history
…abel (#178325)

fix for: #177808

## Summary

In detection & response dashboard button label to all cases has a wrong
label mentioning "View recent cases".
This PR fixes it and changes it to "View all cases".

Before:
<img width="1496" alt="image"
src="https://github.com/elastic/kibana/assets/1625373/0f0834b9-30f2-435a-ba5e-3f5046cf719d">

After:
<img width="1496" alt="image"
src="https://github.com/elastic/kibana/assets/1625373/d23066d7-0312-499a-bdd6-aefeb063c9dc">
  • Loading branch information
kapral18 authored Mar 8, 2024
1 parent 0fe6a93 commit 552e8ad
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const CasesTable = React.memo(() => {
/>
<EuiSpacer size="m" />
<EuiButton data-test-subj="allCasesButton" onClick={navigateToCases}>
{i18n.VIEW_RECENT_CASES}
{i18n.VIEW_ALL_CASES}
</EuiButton>
</>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ export const OPEN_ALL_ALERTS_BUTTON = i18n.translate(
}
);

export const VIEW_RECENT_CASES = i18n.translate(
'xpack.securitySolution.detectionResponse.viewRecentCases',
export const VIEW_ALL_CASES = i18n.translate(
'xpack.securitySolution.detectionResponse.viewAllCases',
{
defaultMessage: 'View recent cases',
defaultMessage: 'View all cases',
}
);

Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -33510,7 +33510,6 @@
"xpack.securitySolution.detectionResponse.userAlertsUserName": "Nom d'utilisateur",
"xpack.securitySolution.detectionResponse.userSectionTooltip": "Maximum de 100 utilisateurs. Veuillez consulter la page Alertes pour plus d'informations.",
"xpack.securitySolution.detectionResponse.viewCases": "Afficher les cas",
"xpack.securitySolution.detectionResponse.viewRecentCases": "Afficher les cas récents",
"xpack.securitySolution.detections.alerts.agentStatus": "Statut de l'agent",
"xpack.securitySolution.detections.alerts.quarantinedFilePath": "Chemin de fichiers en quarantaine",
"xpack.securitySolution.detections.alerts.ruleType": "Type de règle",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -33510,7 +33510,6 @@
"xpack.securitySolution.detectionResponse.userAlertsUserName": "ユーザー名",
"xpack.securitySolution.detectionResponse.userSectionTooltip": "最大100ユーザー。詳細については、「アラート」ページを参照してください。",
"xpack.securitySolution.detectionResponse.viewCases": "ケースの表示",
"xpack.securitySolution.detectionResponse.viewRecentCases": "最近のケースを表示",
"xpack.securitySolution.detections.alerts.agentStatus": "エージェントステータス",
"xpack.securitySolution.detections.alerts.quarantinedFilePath": "隔離されたファイルパス",
"xpack.securitySolution.detections.alerts.ruleType": "ルールタイプ",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -33492,7 +33492,6 @@
"xpack.securitySolution.detectionResponse.userAlertsUserName": "用户名",
"xpack.securitySolution.detectionResponse.userSectionTooltip": "最多 100 个用户。请访问“告警”页面获取更多信息。",
"xpack.securitySolution.detectionResponse.viewCases": "查看案例",
"xpack.securitySolution.detectionResponse.viewRecentCases": "查看最近案例",
"xpack.securitySolution.detections.alerts.agentStatus": "代理状态",
"xpack.securitySolution.detections.alerts.quarantinedFilePath": "已隔离文件路径",
"xpack.securitySolution.detections.alerts.ruleType": "规则类型",
Expand Down

0 comments on commit 552e8ad

Please sign in to comment.