Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[i18n] Translate Query_bar #26264

Merged
merged 57 commits into from
Dec 5, 2018
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
c7ec189
Merge pull request #1 from elastic/master
Nox911 Sep 24, 2018
fa01b88
Merge pull request #2 from elastic/master
Nox911 Sep 27, 2018
70f6c7e
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Sep 27, 2018
68587a0
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Sep 28, 2018
42aa7d3
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 2, 2018
efeaefe
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 2, 2018
8a054ed
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 8, 2018
b0d1660
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 16, 2018
62b6ad1
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 17, 2018
acbad4b
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 18, 2018
a850650
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 22, 2018
0a200ce
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 25, 2018
b2a8244
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 29, 2018
b4b979e
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 30, 2018
d349a4f
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Oct 31, 2018
ae285b9
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 2, 2018
3051641
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 5, 2018
6231971
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 8, 2018
f86a3d4
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 9, 2018
cf813c7
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 13, 2018
1aba03f
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 14, 2018
491009b
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 15, 2018
e243126
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 22, 2018
e74bd61
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 22, 2018
8bc5ffa
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 23, 2018
5787937
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 23, 2018
f17fa1e
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 24, 2018
c63b0a6
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 26, 2018
ed62b5b
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 26, 2018
df4fab4
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 26, 2018
46d284a
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 27, 2018
146168e
Translate ui -> query_bar
Nox911 Nov 27, 2018
0de07df
Fix id names
Nox911 Nov 29, 2018
d1fd49e
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 29, 2018
f5da175
Merge branch 'master' into feature/translate-query_bar
Nox911 Nov 29, 2018
21a4393
Update snapshots
maryia-lapata Nov 29, 2018
15cf1e2
Fix tests
Nox911 Nov 29, 2018
8093e74
Add intl to props interface
Nox911 Nov 29, 2018
996d186
Fix test
Nox911 Nov 29, 2018
db20b6d
Merge branch 'master' of https://github.com/elastic/kibana into featu…
Nox911 Nov 29, 2018
ec1ad76
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 29, 2018
4e176a6
Merge branch 'master' into feature/translate-query_bar
Nox911 Nov 29, 2018
6ebd934
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Nov 30, 2018
2238bb4
Fix tests
Nox911 Nov 30, 2018
36a7c8d
Fix tests
Nox911 Nov 30, 2018
1340d58
Fix test
Nox911 Nov 30, 2018
ce02e76
Fix tests
Nox911 Nov 30, 2018
332d867
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Dec 3, 2018
4a99411
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Dec 3, 2018
9246e8a
Merge branch 'master' into feature/translate-query_bar
Nox911 Dec 3, 2018
4cdec42
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Dec 4, 2018
5d44df7
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Dec 4, 2018
c6e63aa
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Dec 4, 2018
8182d1f
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Dec 4, 2018
527f2ab
Merge branch 'master' into feature/translate-query_bar
Nox911 Dec 4, 2018
aefb90f
Merge branch 'master' of https://github.com/elastic/kibana
Nox911 Dec 5, 2018
1d5f611
Merge branch 'master' into feature/translate-query_bar
Nox911 Dec 5, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ exports[`LanguageSwitcher should toggle off if language is lucene 1`] = `
size="xs"
type="button"
>
Options
<FormattedMessage
defaultMessage="Options"
id="common.ui.queryBar.optionsButtonLabel"
values={Object {}}
/>
</EuiButtonEmpty>
}
className="eui-displayBlock"
Expand All @@ -24,7 +28,11 @@ exports[`LanguageSwitcher should toggle off if language is lucene 1`] = `
withTitle={true}
>
<EuiPopoverTitle>
Syntax options
<FormattedMessage
defaultMessage="Syntax options"
id="common.ui.queryBar.syntaxOptionsTitle"
values={Object {}}
/>
</EuiPopoverTitle>
<div
style={
Expand All @@ -38,17 +46,27 @@ exports[`LanguageSwitcher should toggle off if language is lucene 1`] = `
size="m"
>
<p>
Our experimental autocomplete and simple syntax features can help you create your queries. Just start typing and you’ll see matches related to your data. See docs

<EuiLink
color="primary"
href="https://www.elastic.co/guide/en/kibana/foo/kuery-query.html"
target="_blank"
type="button"
>
here
</EuiLink>
.
<FormattedMessage
defaultMessage="Our experimental autocomplete and simple syntax features can help you create your
queries. Just start typing and you’ll see matches related to your data. See docs {docsLink}."
id="common.ui.queryBar.syntaxOptionsDescription"
values={
Object {
"docsLink": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/kibana/foo/kuery-query.html"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="here"
id="common.ui.queryBar.syntaxOptionsDescription.docsLinkText"
values={Object {}}
/>
</EuiLink>,
}
}
/>
</p>
</EuiText>
<EuiSpacer
Expand All @@ -64,7 +82,13 @@ exports[`LanguageSwitcher should toggle off if language is lucene 1`] = `
checked={false}
data-test-subj="languageToggle"
id="queryEnhancementOptIn"
label="Turn on query features"
label={
<FormattedMessage
defaultMessage="Turn on query features"
id="common.ui.queryBar.turnOnQueryFeaturesLabel"
values={Object {}}
/>
}
name="popswitch"
onChange={[Function]}
/>
Expand All @@ -79,17 +103,26 @@ exports[`LanguageSwitcher should toggle off if language is lucene 1`] = `
size="xs"
>
<p>
Not ready yet? Find our lucene docs

<EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/foo/query-dsl-query-string-query.html#query-string-syntax"
target="_blank"
type="button"
>
here
</EuiLink>
.
<FormattedMessage
defaultMessage="Not ready yet? Find our lucene docs {docsLink}."
id="common.ui.queryBar.luceneDocsDescription"
values={
Object {
"docsLink": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/foo/query-dsl-query-string-query.html#query-string-syntax"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="here"
id="common.ui.queryBar.luceneDocsDescription.docsLinkText"
values={Object {}}
/>
</EuiLink>,
}
}
/>
</p>
</EuiText>
</div>
Expand All @@ -107,7 +140,11 @@ exports[`LanguageSwitcher should toggle on if language is kuery 1`] = `
size="xs"
type="button"
>
Options
<FormattedMessage
defaultMessage="Options"
id="common.ui.queryBar.optionsButtonLabel"
values={Object {}}
/>
</EuiButtonEmpty>
}
className="eui-displayBlock"
Expand All @@ -120,7 +157,11 @@ exports[`LanguageSwitcher should toggle on if language is kuery 1`] = `
withTitle={true}
>
<EuiPopoverTitle>
Syntax options
<FormattedMessage
defaultMessage="Syntax options"
id="common.ui.queryBar.syntaxOptionsTitle"
values={Object {}}
/>
</EuiPopoverTitle>
<div
style={
Expand All @@ -134,17 +175,27 @@ exports[`LanguageSwitcher should toggle on if language is kuery 1`] = `
size="m"
>
<p>
Our experimental autocomplete and simple syntax features can help you create your queries. Just start typing and you’ll see matches related to your data. See docs

<EuiLink
color="primary"
href="https://www.elastic.co/guide/en/kibana/foo/kuery-query.html"
target="_blank"
type="button"
>
here
</EuiLink>
.
<FormattedMessage
defaultMessage="Our experimental autocomplete and simple syntax features can help you create your
queries. Just start typing and you’ll see matches related to your data. See docs {docsLink}."
id="common.ui.queryBar.syntaxOptionsDescription"
values={
Object {
"docsLink": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/kibana/foo/kuery-query.html"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="here"
id="common.ui.queryBar.syntaxOptionsDescription.docsLinkText"
values={Object {}}
/>
</EuiLink>,
}
}
/>
</p>
</EuiText>
<EuiSpacer
Expand All @@ -160,7 +211,13 @@ exports[`LanguageSwitcher should toggle on if language is kuery 1`] = `
checked={true}
data-test-subj="languageToggle"
id="queryEnhancementOptIn"
label="Turn on query features"
label={
<FormattedMessage
defaultMessage="Turn on query features"
id="common.ui.queryBar.turnOnQueryFeaturesLabel"
values={Object {}}
/>
}
name="popswitch"
onChange={[Function]}
/>
Expand All @@ -175,17 +232,26 @@ exports[`LanguageSwitcher should toggle on if language is kuery 1`] = `
size="xs"
>
<p>
Not ready yet? Find our lucene docs

<EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/foo/query-dsl-query-string-query.html#query-string-syntax"
target="_blank"
type="button"
>
here
</EuiLink>
.
<FormattedMessage
defaultMessage="Not ready yet? Find our lucene docs {docsLink}."
id="common.ui.queryBar.luceneDocsDescription"
values={
Object {
"docsLink": <EuiLink
color="primary"
href="https://www.elastic.co/guide/en/elasticsearch/reference/foo/query-dsl-query-string-query.html#query-string-syntax"
target="_blank"
type="button"
>
<FormattedMessage
defaultMessage="here"
id="common.ui.queryBar.luceneDocsDescription.docsLinkText"
values={Object {}}
/>
</EuiLink>,
}
}
/>
</p>
</EuiText>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ exports[`QueryBar Should disable autoFocus on EuiFieldText when disableAutoFocus
onClick={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
placeholder="Search... (e.g. status:200 AND extension:PHP)"
placeholder="Search (e.g. status:200 AND extension:PHP)"
role="textbox"
spellCheck={false}
type="text"
Expand Down Expand Up @@ -98,7 +98,11 @@ exports[`QueryBar Should disable autoFocus on EuiFieldText when disableAutoFocus
onClick={[Function]}
type="button"
>
Refresh
<FormattedMessage
defaultMessage="Refresh"
id="common.ui.queryBar.refreshButtonLabel"
values={Object {}}
/>
</EuiButton>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down Expand Up @@ -161,7 +165,7 @@ exports[`QueryBar Should pass the query language to the language switcher 1`] =
onClick={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
placeholder="Search... (e.g. status:200 AND extension:PHP)"
placeholder="Search (e.g. status:200 AND extension:PHP)"
role="textbox"
spellCheck={false}
type="text"
Expand Down Expand Up @@ -202,7 +206,11 @@ exports[`QueryBar Should pass the query language to the language switcher 1`] =
onClick={[Function]}
type="button"
>
Refresh
<FormattedMessage
defaultMessage="Refresh"
id="common.ui.queryBar.refreshButtonLabel"
values={Object {}}
/>
</EuiButton>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down Expand Up @@ -265,7 +273,7 @@ exports[`QueryBar Should render the given query 1`] = `
onClick={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
placeholder="Search... (e.g. status:200 AND extension:PHP)"
placeholder="Search (e.g. status:200 AND extension:PHP)"
role="textbox"
spellCheck={false}
type="text"
Expand Down Expand Up @@ -306,7 +314,11 @@ exports[`QueryBar Should render the given query 1`] = `
onClick={[Function]}
type="button"
>
Refresh
<FormattedMessage
defaultMessage="Refresh"
id="common.ui.queryBar.refreshButtonLabel"
values={Object {}}
/>
</EuiButton>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down
Loading