<h2
i18n="KIBANA-DISCOVER-SEARCHING"
default-message="Searching"
></h2>
<h2>
<I18n
path="KIBANA-DISCOVER-SEARCHING"
defaultMessage="Searching"
/>
</h2>
{
"KIBANA-DISCOVER-SEARCHING": "Searching"
}
<input
type="text"
placeholder="{{ 'KIBANA-MANAGEMENT-OBJECTS-SEARCH_PLACEHOLDER' | i18n: { defaultMessage: 'Search...' } }}"
>
<I18n>
{translate => (
<input
type="text"
placeholder={translate({
path: 'KIBANA-MANAGEMENT-OBJECTS-SEARCH_PLACEHOLDER',
defaultMessage: 'Search...',
})}
/>
)}
</I18n>
<input
type="text"
placeholder="{{ 'KIBANA-MANAGEMENT-OBJECTS-SEARCH_PLACEHOLDER' | i18n: {
vars: { TITLE: service.title },
defaultMessage: '{TITLE} search',
} }}"
>
<I18n>
{translate => (
<input
type="text"
placeholder={translate({
path: 'KIBANA-MANAGEMENT-OBJECTS-SEARCH_PLACEHOLDER',
vars: { TITLE: service.title },
defaultMessage: '{TITLE} search',
})}
/>
)}
</I18n>
<span
i18n="KIBANA-DISCOVER-HITS"
vars="{HITS: hits}"
default-message="{HITS, plural, one {# hit} other {# hits}}"
></span>
<I18n
path="KIBANA-DISCOVER-HITS"
vars={{ HITS: hits }}
defaultMessage="{HITS, plural, one {# hit} other {# hits}}"
/>
{
"KIBANA-DISCOVER-HITS": "{HITS, plural, one {# hit} other {# hits}}"
}
<span
i18n="KIBANA-DISCOVER-REFINE_SEARCH"
vars="{SIZE: '<b>{{opts.sampleSize}}</b>'}"
default-message="These are the first {SIZE} documents matching your search, refine your search to see others."
></span>
<I18n
path="KIBANA-DISCOVER-REFINE_SEARCH"
vars={{ SIZE: <b>{opts.sampleSize}</b> }}
defaultMessage="These are the first {SIZE} documents matching your search, refine your search to see others."
/>
{
"KIBANA-DISCOVER-REFINE_SEARCH": "These are the first {SIZE} documents matching your search, refine your search to see others."
}
Supported parameters are short
, default
, long
, or full
.
<span
i18n="KIBANA-TODAY"
vars="{ DATE: Date.now() }"
default-message="Today is {DATE, date}"
></span>
<I18n
path="KIBANA-TODAY"
vars={{ DATE: Date.now() }}
defaultMessage="Today is {DATE, date}"
/>
{
"KIBANA-TODAY": "Today is {DATE, date}"
}
// 'Today is Apr 10, 2018'
Represent a duration in seconds as a string.
<span
i18n="KIBANA-SINCE"
vars="{ D: 123 }"
default-message="It has been {D, duration}"
></span>
<I18n
path="KIBANA-SINCE"
vars={{ D: 123 }}
defaultMessage="It has been {D, duration}"
/>
{
"KIBANA-SINCE": "It has been {D, duration}"
}
// 'It has been 2:03'
Supported parameters are integer
, percent
, or currency
.
<span
i18n="KIBANA-ALMOST"
vars="{ N: 3.14 }"
default-message="{N} is almost {N, number, integer}"
></span>
<I18n
path="KIBANA-ALMOST"
vars={{ N: 3.14 }}
defaultMessage="{N} is almost {N, number, integer}"
/>
{
"KIBANA-ALMOST": "{N} is almost {N, number, integer}"
}
// '3.14 is almost 3'
Supported parameters are short
, default
, long
, or full
.
<span
i18n="KIBANA-NOW"
vars="{ T: Date.now() }"
default-message="The time is now {T, time}"
></span>
<I18n
path="KIBANA-NOW"
vars={{ T: Date.now() }}
defaultMessage="The time is now {T, time}"
/>
{
"KIBANA-NOW": "The time is now {T, time}"
}
// 'The time is now 10:00:00 PM'