Add missing translation string
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
a06ad248d6
commit
a0de154276
4 changed files with 8 additions and 6 deletions
|
@ -24,6 +24,8 @@ const messages = defineMessages({
|
||||||
submit: { id: 'interaction_policies.update', defaultMessage: 'Update' },
|
submit: { id: 'interaction_policies.update', defaultMessage: 'Update' },
|
||||||
success: { id: 'interaction_policies.success', defaultMessage: 'Updated interaction policies' },
|
success: { id: 'interaction_policies.success', defaultMessage: 'Updated interaction policies' },
|
||||||
fail: { id: 'interaction_policies.fail', defaultMessage: 'Failed to update interaction policies' },
|
fail: { id: 'interaction_policies.fail', defaultMessage: 'Failed to update interaction policies' },
|
||||||
|
always: { id: 'interaction_policies.rule.always', defaultMessage: 'Alwyas' },
|
||||||
|
with_approval: { id: 'interaction_policies.rule.with_approval', defaultMessage: 'Require approval' },
|
||||||
});
|
});
|
||||||
|
|
||||||
const scopeMessages = defineMessages({
|
const scopeMessages = defineMessages({
|
||||||
|
@ -114,7 +116,7 @@ const InteractionPolicies = () => {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<List>
|
<List>
|
||||||
<ListItem label='Always'>
|
<ListItem label={intl.formatMessage(messages.always)}>
|
||||||
<InlineMultiselect<Scope>
|
<InlineMultiselect<Scope>
|
||||||
items={items}
|
items={items}
|
||||||
value={interactionPolicies[visibility][policy].always as Array<Scope>}
|
value={interactionPolicies[visibility][policy].always as Array<Scope>}
|
||||||
|
@ -122,7 +124,7 @@ const InteractionPolicies = () => {
|
||||||
disabled={isUpdating}
|
disabled={isUpdating}
|
||||||
/>
|
/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem label='With approval'>
|
<ListItem label={intl.formatMessage(messages.with_approval)}>
|
||||||
<InlineMultiselect
|
<InlineMultiselect
|
||||||
items={items}
|
items={items}
|
||||||
value={interactionPolicies[visibility][policy].with_approval as Array<Scope>}
|
value={interactionPolicies[visibility][policy].with_approval as Array<Scope>}
|
||||||
|
|
|
@ -83,7 +83,7 @@ const Settings = () => {
|
||||||
<ListItem label={intl.formatMessage(messages.blocks)} to='/blocks' />
|
<ListItem label={intl.formatMessage(messages.blocks)} to='/blocks' />
|
||||||
{(features.filters || features.filtersV2) && <ListItem label={intl.formatMessage(messages.filters)} to='/filters' />}
|
{(features.filters || features.filtersV2) && <ListItem label={intl.formatMessage(messages.filters)} to='/filters' />}
|
||||||
{features.federating && <ListItem label={intl.formatMessage(messages.domainBlocks)} to='/domain_blocks' />}
|
{features.federating && <ListItem label={intl.formatMessage(messages.domainBlocks)} to='/domain_blocks' />}
|
||||||
{features.interactionRequests && <ListItem label={intl.formatMessage(messages.interactionPolicies)} to='/interaction_policies' />}
|
{features.interactionRequests && <ListItem label={intl.formatMessage(messages.interactionPolicies)} to='/settings/interaction_policies' />}
|
||||||
</List>
|
</List>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
|
|
||||||
|
|
|
@ -484,8 +484,6 @@
|
||||||
"compose_form.publish_loud": "{publish}!",
|
"compose_form.publish_loud": "{publish}!",
|
||||||
"compose_form.save_changes": "Save changes",
|
"compose_form.save_changes": "Save changes",
|
||||||
"compose_form.schedule": "Schedule",
|
"compose_form.schedule": "Schedule",
|
||||||
"compose_form.scheduled_statuses.click_here": "Click here",
|
|
||||||
"compose_form.scheduled_statuses.message": "You have scheduled posts. {click_here} to see them.",
|
|
||||||
"compose_form.spoiler.marked": "Media is marked as sensitive",
|
"compose_form.spoiler.marked": "Media is marked as sensitive",
|
||||||
"compose_form.spoiler.unmarked": "Media is not marked as sensitive",
|
"compose_form.spoiler.unmarked": "Media is not marked as sensitive",
|
||||||
"compose_form.spoiler_placeholder": "Subject (optional)",
|
"compose_form.spoiler_placeholder": "Subject (optional)",
|
||||||
|
@ -903,6 +901,8 @@
|
||||||
"interaction_policies.entry.public": "Everyone",
|
"interaction_policies.entry.public": "Everyone",
|
||||||
"interaction_policies.fail": "Failed to update interaction policies",
|
"interaction_policies.fail": "Failed to update interaction policies",
|
||||||
"interaction_policies.mentioned_warning": "Mentioned users can always reply.",
|
"interaction_policies.mentioned_warning": "Mentioned users can always reply.",
|
||||||
|
"interaction_policies.rule.always": "Alwyas",
|
||||||
|
"interaction_policies.rule.with_approval": "Require approval",
|
||||||
"interaction_policies.success": "Updated interaction policies",
|
"interaction_policies.success": "Updated interaction policies",
|
||||||
"interaction_policies.tabs.private": "Followers-only",
|
"interaction_policies.tabs.private": "Followers-only",
|
||||||
"interaction_policies.tabs.public": "Public",
|
"interaction_policies.tabs.public": "Public",
|
||||||
|
|
|
@ -898,7 +898,7 @@
|
||||||
"input.password.hide_password": "Ukryj hasło",
|
"input.password.hide_password": "Ukryj hasło",
|
||||||
"input.password.show_password": "Pokazuj hasło",
|
"input.password.show_password": "Pokazuj hasło",
|
||||||
"interaction_policies.entry.followers": "Obserwujący",
|
"interaction_policies.entry.followers": "Obserwujący",
|
||||||
"interaction_policies.entry.following": "Obserwowani przeze mnie",
|
"interaction_policies.entry.following": "Obserwowani",
|
||||||
"interaction_policies.entry.mentioned": "Wspomnieni",
|
"interaction_policies.entry.mentioned": "Wspomnieni",
|
||||||
"interaction_policies.entry.public": "Wszyscy",
|
"interaction_policies.entry.public": "Wszyscy",
|
||||||
"interaction_policies.fail": "Nie udało się zaktualizować zasad interakcji",
|
"interaction_policies.fail": "Nie udało się zaktualizować zasad interakcji",
|
||||||
|
|
Loading…
Reference in a new issue