Use ICU number/plural formatting
This commit is contained in:
parent
aba8882d0a
commit
da24cc5e95
30 changed files with 254 additions and 222 deletions
|
@ -643,15 +643,17 @@ export function ProfileEditor({
|
|||
<div className="ProfileEditor__info">
|
||||
<Intl
|
||||
i18n={i18n}
|
||||
id="icu:ProfileEditor--info"
|
||||
id="icu:ProfileEditor--info--link"
|
||||
components={{
|
||||
learnMore: (
|
||||
// This is a render prop, not a component
|
||||
// eslint-disable-next-line react/no-unstable-nested-components
|
||||
learnMoreLink: parts => (
|
||||
<a
|
||||
href="https://support.signal.org/hc/en-us/articles/360007459591"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
{i18n('icu:ProfileEditor--learnMore')}
|
||||
{parts}
|
||||
</a>
|
||||
),
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue