GroupTagsField: i18n
This commit is contained in:
parent
456ed852c4
commit
088f7e0b0e
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import { defineMessages, useIntl } from 'react-intl';
|
||||
import { FormattedMessage, defineMessages, useIntl } from 'react-intl';
|
||||
|
||||
import { Input, Streamfield } from 'soapbox/components/ui';
|
||||
|
||||
|
@ -18,8 +18,8 @@ interface IGroupTagsField {
|
|||
const GroupTagsField: React.FC<IGroupTagsField> = ({ tags, onChange, onAddItem, onRemoveItem, maxItems = 3 }) => {
|
||||
return (
|
||||
<Streamfield
|
||||
label='Topics'
|
||||
hint='Add up to 3 keywords that will serve as core topics of discussion in the group.'
|
||||
label={<FormattedMessage id='group.tags.label' defaultMessage='Tags' />}
|
||||
hint={<FormattedMessage id='group.tags.hint' defaultMessage='Add up to 3 keywords that will serve as core topics of discussion in the group.' />}
|
||||
component={HashtagField}
|
||||
values={tags}
|
||||
onChange={onChange}
|
||||
|
|
|
@ -806,6 +806,8 @@
|
|||
"group.role.owner": "Owner",
|
||||
"group.tabs.all": "All",
|
||||
"group.tabs.members": "Members",
|
||||
"group.tags.hint": "Add up to 3 keywords that will serve as core topics of discussion in the group.",
|
||||
"group.tags.label": "Tags",
|
||||
"group.upload_banner": "Upload photo",
|
||||
"groups.discover.popular.empty": "Unable to fetch popular groups at this time. Please check back later.",
|
||||
"groups.discover.popular.show_more": "Show More",
|
||||
|
|
Loading…
Reference in a new issue