Add missing translation string

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-08-26 21:09:12 +02:00
parent a06ad248d6
commit a0de154276
4 changed files with 8 additions and 6 deletions

View file

@ -24,6 +24,8 @@ const messages = defineMessages({
submit: { id: 'interaction_policies.update', defaultMessage: 'Update' },
success: { id: 'interaction_policies.success', defaultMessage: 'Updated 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({
@ -114,7 +116,7 @@ const InteractionPolicies = () => {
)}
<List>
<ListItem label='Always'>
<ListItem label={intl.formatMessage(messages.always)}>
<InlineMultiselect<Scope>
items={items}
value={interactionPolicies[visibility][policy].always as Array<Scope>}
@ -122,7 +124,7 @@ const InteractionPolicies = () => {
disabled={isUpdating}
/>
</ListItem>
<ListItem label='With approval'>
<ListItem label={intl.formatMessage(messages.with_approval)}>
<InlineMultiselect
items={items}
value={interactionPolicies[visibility][policy].with_approval as Array<Scope>}

View file

@ -83,7 +83,7 @@ const Settings = () => {
<ListItem label={intl.formatMessage(messages.blocks)} to='/blocks' />
{(features.filters || features.filtersV2) && <ListItem label={intl.formatMessage(messages.filters)} to='/filters' />}
{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>
</CardBody>

View file

@ -484,8 +484,6 @@
"compose_form.publish_loud": "{publish}!",
"compose_form.save_changes": "Save changes",
"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.unmarked": "Media is not marked as sensitive",
"compose_form.spoiler_placeholder": "Subject (optional)",
@ -903,6 +901,8 @@
"interaction_policies.entry.public": "Everyone",
"interaction_policies.fail": "Failed to update interaction policies",
"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.tabs.private": "Followers-only",
"interaction_policies.tabs.public": "Public",

View file

@ -898,7 +898,7 @@
"input.password.hide_password": "Ukryj hasło",
"input.password.show_password": "Pokazuj hasło",
"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.public": "Wszyscy",
"interaction_policies.fail": "Nie udało się zaktualizować zasad interakcji",