Improve a few strings, highlight back button on focus, proper key value
This commit is contained in:
parent
65ddf0a9e8
commit
e2454ef7c5
7 changed files with 191 additions and 98 deletions
|
@ -27,12 +27,12 @@ export const SharedGroupNames: FunctionComponent<PropsType> = ({
|
|||
</strong>
|
||||
));
|
||||
|
||||
if (sharedGroupNames.length > 3) {
|
||||
if (sharedGroupNames.length >= 5) {
|
||||
const remainingCount = sharedGroupNames.length - 3;
|
||||
return (
|
||||
<Intl
|
||||
i18n={i18n}
|
||||
id="member-of-more-than-3-groups"
|
||||
id="member-of-more-than-3-groups--multiple-more"
|
||||
components={{
|
||||
group1: firstThreeGroups[0],
|
||||
group2: firstThreeGroups[1],
|
||||
|
@ -42,6 +42,19 @@ export const SharedGroupNames: FunctionComponent<PropsType> = ({
|
|||
/>
|
||||
);
|
||||
}
|
||||
if (sharedGroupNames.length === 4) {
|
||||
return (
|
||||
<Intl
|
||||
i18n={i18n}
|
||||
id="member-of-more-than-3-groups--one-more"
|
||||
components={{
|
||||
group1: firstThreeGroups[0],
|
||||
group2: firstThreeGroups[1],
|
||||
group3: firstThreeGroups[2],
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
if (firstThreeGroups.length === 3) {
|
||||
return (
|
||||
<Intl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue