mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Change execution to run in Rules app (#131026)
This commit is contained in:
parent
41a1975e09
commit
90e8795ed7
5 changed files with 10 additions and 10 deletions
|
@ -38,7 +38,7 @@ const NUM_EXECUTIONS_OPTIONS = [120, 60, 30, 15].map((value) => ({
|
|||
text: i18n.translate(
|
||||
'xpack.triggersActionsUI.sections.executionDurationChart.numberOfExecutionsOption',
|
||||
{
|
||||
defaultMessage: '{value} executions',
|
||||
defaultMessage: '{value} runs',
|
||||
values: {
|
||||
value,
|
||||
},
|
||||
|
@ -70,7 +70,7 @@ export const ExecutionDurationChart: React.FunctionComponent<ComponentOpts> = ({
|
|||
<h4>
|
||||
<FormattedMessage
|
||||
id="xpack.triggersActionsUI.sections.executionDurationChart.recentDurationsTitle"
|
||||
defaultMessage="Recent execution durations"
|
||||
defaultMessage="Recent run durations"
|
||||
/>
|
||||
</h4>
|
||||
</EuiTitle>
|
||||
|
@ -84,7 +84,7 @@ export const ExecutionDurationChart: React.FunctionComponent<ComponentOpts> = ({
|
|||
aria-label={i18n.translate(
|
||||
'xpack.triggersActionsUI.sections.executionDurationChart.selectNumberOfExecutionDurationsLabel',
|
||||
{
|
||||
defaultMessage: 'Select number of executions',
|
||||
defaultMessage: 'Select number of runs',
|
||||
}
|
||||
)}
|
||||
onChange={onChange}
|
||||
|
@ -161,7 +161,7 @@ export const ExecutionDurationChart: React.FunctionComponent<ComponentOpts> = ({
|
|||
<p>
|
||||
<FormattedMessage
|
||||
id="xpack.triggersActionsUI.sections.executionDurationChart.executionDurationNoData"
|
||||
defaultMessage="There are no available executions for this rule."
|
||||
defaultMessage="There is no available run duration information for this rule."
|
||||
/>
|
||||
</p>
|
||||
</>
|
||||
|
|
|
@ -122,7 +122,7 @@ export function RuleComponent({
|
|||
{
|
||||
id: EVENT_LOG_LIST_TAB,
|
||||
name: i18n.translate('xpack.triggersActionsUI.sections.ruleDetails.rule.eventLogTabText', {
|
||||
defaultMessage: 'Execution history',
|
||||
defaultMessage: 'Run history',
|
||||
}),
|
||||
'data-test-subj': 'eventLogListTab',
|
||||
content: suspendedComponentWithProps(
|
||||
|
|
|
@ -488,7 +488,7 @@ export const RuleForm = ({
|
|||
>
|
||||
<FormattedMessage
|
||||
id="xpack.triggersActionsUI.sections.ruleForm.documentationLabel"
|
||||
defaultMessage="Documentation"
|
||||
defaultMessage="Learn more"
|
||||
/>
|
||||
</EuiLink>
|
||||
)}
|
||||
|
|
|
@ -459,7 +459,7 @@ describe('rules_list component with items', () => {
|
|||
jest.runAllTimers();
|
||||
|
||||
wrapper.update();
|
||||
expect(wrapper.find('.euiToolTipPopover').text()).toBe('Start time of the last execution.');
|
||||
expect(wrapper.find('.euiToolTipPopover').text()).toBe('Start time of the last run.');
|
||||
|
||||
wrapper
|
||||
.find('[data-test-subj="rulesTableCell-lastExecutionDateTooltip"]')
|
||||
|
|
|
@ -418,7 +418,7 @@ export const RulesList: React.FunctionComponent = () => {
|
|||
content={i18n.translate(
|
||||
'xpack.triggersActionsUI.sections.rulesList.rulesListTable.columns.ruleExecutionPercentileTooltip',
|
||||
{
|
||||
defaultMessage: `{percentileOrdinal} percentile of this rule's past {sampleLimit} execution durations (mm:ss).`,
|
||||
defaultMessage: `{percentileOrdinal} percentile of this rule's past {sampleLimit} run durations (mm:ss).`,
|
||||
values: {
|
||||
percentileOrdinal: percentileOrdinals[selectedPercentile!],
|
||||
sampleLimit: MONITORING_HISTORY_LIMIT,
|
||||
|
@ -605,7 +605,7 @@ export const RulesList: React.FunctionComponent = () => {
|
|||
content={i18n.translate(
|
||||
'xpack.triggersActionsUI.sections.rulesList.rulesListTable.columns.lastExecutionDateTitle',
|
||||
{
|
||||
defaultMessage: 'Start time of the last execution.',
|
||||
defaultMessage: 'Start time of the last run.',
|
||||
}
|
||||
)}
|
||||
>
|
||||
|
@ -761,7 +761,7 @@ export const RulesList: React.FunctionComponent = () => {
|
|||
content={i18n.translate(
|
||||
'xpack.triggersActionsUI.sections.rulesList.rulesListTable.columns.successRatioTitle',
|
||||
{
|
||||
defaultMessage: 'How often this rule executes successfully.',
|
||||
defaultMessage: 'How often this rule runs successfully.',
|
||||
}
|
||||
)}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue