forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translations files for dashboard and components (elastic#92)
- Loading branch information
Showing
11 changed files
with
139 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
x-pack/plugins/cloud_security_posture/public/components/translations.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { i18n } from '@kbn/i18n'; | ||
|
||
export const CRITICAL = i18n.translate('xpack.csp.critical', { | ||
defaultMessage: 'Critical', | ||
}); | ||
|
||
export const WARNING = i18n.translate('xpack.csp.warning', { | ||
defaultMessage: 'Warning', | ||
}); | ||
|
||
export const HEALTHY = i18n.translate('xpack.csp.healthy', { | ||
defaultMessage: 'Healthy', | ||
}); | ||
|
||
export const PAGE_NOT_FOUND = i18n.translate('xpack.csp.page_not_found', { | ||
defaultMessage: 'Page not found', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/translations.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { i18n } from '@kbn/i18n'; | ||
|
||
export const CLOUD_POSTURE = i18n.translate('xpack.csp.cloud_posture', { | ||
defaultMessage: 'Cloud Posture', | ||
}); | ||
|
||
export const TOP_5_CHART_TITLE = i18n.translate('xpack.csp.top_5_chart_title', { | ||
defaultMessage: 'Top 5 Resources Types At Risk', | ||
}); | ||
|
||
export const SCORE_PER_CLUSTER_CHART_TITLE = i18n.translate( | ||
'xpack.csp.score_per_cluster_chart_title', | ||
{ | ||
defaultMessage: 'Score Per Account / Cluster', | ||
} | ||
); | ||
|
||
export const NON_COMPLIANT_FIRST = i18n.translate('xpack.csp.non_compliant_first', { | ||
defaultMessage: 'Non compliant first', | ||
}); | ||
|
||
export const COMPLIANCE_SCORE = i18n.translate('xpack.csp.compliance_score', { | ||
defaultMessage: 'Compliance Score', | ||
}); | ||
|
||
export const COMPLIANCE_TREND = i18n.translate('xpack.csp.compliance_trend', { | ||
defaultMessage: 'Compliance Trend', | ||
}); | ||
|
||
export const POSTURE_SCORE = i18n.translate('xpack.csp.posture_score', { | ||
defaultMessage: 'Posture Score', | ||
}); | ||
|
||
export const STATUS = i18n.translate('xpack.csp.status', { | ||
defaultMessage: 'STATUS', | ||
}); | ||
|
||
export const TOTAL_FAILURES = i18n.translate('xpack.csp.total_failures', { | ||
defaultMessage: 'Total Failures', | ||
}); | ||
|
||
export const ERROR = i18n.translate('xpack.csp.error', { | ||
defaultMessage: 'Error', | ||
}); | ||
|
||
export const POSTURE_SCORE_TREND = i18n.translate('xpack.csp.posture_score_trend', { | ||
defaultMessage: 'Posture Score Trend', | ||
}); | ||
|
||
export const ACTIVE_FRAMEWORKS = i18n.translate('xpack.csp.active_frameworks', { | ||
defaultMessage: 'Active Frameworks', | ||
}); | ||
|
||
export const TOTAL_RESOURCES = i18n.translate('xpack.csp.total_resources', { | ||
defaultMessage: 'Total Resources', | ||
}); | ||
|
||
export const PASSED = i18n.translate('xpack.csp.passed', { | ||
defaultMessage: 'Passed', | ||
}); | ||
|
||
export const FAILED = i18n.translate('xpack.csp.failed', { | ||
defaultMessage: 'Failed', | ||
}); |