Skip to content

Commit 02d00fa

Browse files
committed
more text updates
1 parent df77a3a commit 02d00fa

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

src/plugins/index_pattern_editor/public/components/form_fields/timestamp_field.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ const getTimestampConfig = (
6363
};
6464

6565
const noTimestampOptionText = i18n.translate('indexPatternEditor.editor.form.noTimeFieldsLabel', {
66-
defaultMessage: "The matching sources don't have a time field.",
66+
defaultMessage: 'No matching index, data stream, or index alias has a time field.',
6767
});
6868

6969
const timestampFieldHelp = i18n.translate('indexPatternEditor.editor.form.timeFieldHelp', {
70-
defaultMessage: 'Select a primary timestamp field for use with the global time filter.',
70+
defaultMessage: 'Select a timestamp field for use with the global time filter.',
7171
});
7272

7373
export const TimestampField = ({

src/plugins/index_pattern_editor/public/components/form_schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const schema = {
3535
defaultMessage: 'Timestamp field',
3636
}),
3737
helpText: i18n.translate('indexPatternEditor.editor.form.timestampFieldHelp', {
38-
defaultMessage: 'Select a primary timestamp field for use with the global time filter.',
38+
defaultMessage: 'Select a timestamp field for use with the global time filter.',
3939
}),
4040
validations: [],
4141
},

src/plugins/index_pattern_editor/public/components/i18n_texts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const geti18nTexts = () => {
1717
}
1818
),
1919
timestampFieldHelp: i18n.translate('indexPatternEditor.editor.form.timeFieldHelp', {
20-
defaultMessage: 'Select a primary timestamp field for use with the global time filter.',
20+
defaultMessage: 'Select a timestamp field for use with the global time filter.',
2121
}),
2222
rollupLabel: i18n.translate('indexPatternEditor.rollupIndexPattern.createIndex.indexLabel', {
2323
defaultMessage: 'Rollup',

src/plugins/index_pattern_editor/public/components/preview_panel/status_message/__snapshots__/status_message.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/index_pattern_editor/public/components/preview_panel/status_message/status_message.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const NoMatchStatusMessage = (allIndicesLength: number) => (
2525
<span>
2626
<FormattedMessage
2727
id="indexPatternEditor.status.notMatchLabel.notMatchDetail"
28-
defaultMessage="The index pattern you've entered doesn't match any indices.
28+
defaultMessage="The index pattern you've entered doesn't match any indices, data streams, or index aliases.
2929
You can match {strongIndices}, below."
3030
values={{
3131
strongIndices: (
@@ -75,9 +75,9 @@ export const StatusMessage: React.FC<StatusMessageProps> = ({
7575
<span>
7676
<FormattedMessage
7777
id="indexPatternEditor.status.matchAnyLabel.matchAnyDetail"
78-
defaultMessage="Your index pattern can match {sourceCount, plural,
79-
one {# source}
80-
other {# sources}
78+
defaultMessage="Your index pattern has {sourceCount, plural,
79+
one {# match}
80+
other {# matches}
8181
}."
8282
values={{ sourceCount: allIndicesLength }}
8383
/>
@@ -129,8 +129,8 @@ export const StatusMessage: React.FC<StatusMessageProps> = ({
129129
id="indexPatternEditor.status.partialMatchLabel.partialMatchDetail"
130130
defaultMessage="Your index pattern doesn't match any sources, but you have {strongIndices} which
131131
{matchedIndicesLength, plural,
132-
one {source looks}
133-
other {sources look}
132+
one {is}
133+
other {are}
134134
} similar."
135135
values={{
136136
matchedIndicesLength: partialMatchedIndices.length,

0 commit comments

Comments
 (0)