pl-fe: update en.json + this doesn't need to be a function
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
@ -167,15 +167,6 @@ const InteractionPolicies = () => {
|
||||
});
|
||||
};
|
||||
|
||||
const renderPolicy = (visibility: 'public' | 'unlisted' | 'private') => (
|
||||
<InteractionPolicyConfig
|
||||
interactionPolicy={interactionPolicies[visibility]}
|
||||
visibility={visibility}
|
||||
onChange={(...props) => handleChange(visibility, ...props)}
|
||||
disabled={isUpdating}
|
||||
/>
|
||||
);
|
||||
|
||||
return (
|
||||
<Column label={intl.formatMessage(messages.heading)} backHref='/settings'>
|
||||
<Form onSubmit={handleSubmit}>
|
||||
@ -199,7 +190,12 @@ const InteractionPolicies = () => {
|
||||
activeItem={visibility}
|
||||
/>
|
||||
|
||||
{renderPolicy(visibility)}
|
||||
<InteractionPolicyConfig
|
||||
interactionPolicy={interactionPolicies[visibility]}
|
||||
visibility={visibility}
|
||||
onChange={(...props) => handleChange(visibility, ...props)}
|
||||
disabled={isUpdating}
|
||||
/>
|
||||
|
||||
<FormActions>
|
||||
<Button type='submit' theme='primary' disabled={isUpdating}>
|
||||
|
||||
@ -462,6 +462,7 @@
|
||||
"compose_form.direct_message_warning": "This post will only be sent to the mentioned users.",
|
||||
"compose_form.event_placeholder": "Post to this event",
|
||||
"compose_form.hashtag_warning": "This post won't be listed under any hashtag as it is unlisted. Only public posts can be searched by hashtag.",
|
||||
"compose_form.interaction_policy.label": "Manage interaction policy",
|
||||
"compose_form.lexical.create_horizontal_line": "Create horizontal line",
|
||||
"compose_form.lexical.format_bold": "Format bold",
|
||||
"compose_form.lexical.format_italic": "Format italic",
|
||||
@ -913,6 +914,9 @@
|
||||
"interaction_policies.title.public.can_favourite": "Who can like a public post?",
|
||||
"interaction_policies.title.public.can_reblog": "Who can repost a public post?",
|
||||
"interaction_policies.title.public.can_reply": "Who can reply to a public post?",
|
||||
"interaction_policies.title.single_post.can_favourite": "Who can like the post?",
|
||||
"interaction_policies.title.single_post.can_reblog": "Who can repost the post?",
|
||||
"interaction_policies.title.single_post.can_reply": "Who can reply to the post?",
|
||||
"interaction_policies.title.unlisted.can_favourite": "Who can like an unlisted post?",
|
||||
"interaction_policies.title.unlisted.can_reblog": "Who can repost an unlisted post?",
|
||||
"interaction_policies.title.unlisted.can_reply": "Who can reply to an unlisted post?",
|
||||
@ -1102,6 +1106,7 @@
|
||||
"navigation_bar.followed_tags": "Followed hashtags",
|
||||
"navigation_bar.import_data": "Import data",
|
||||
"navigation_bar.in_reply_to": "In reply to",
|
||||
"navigation_bar.interaction_policy": "Status interaction policy",
|
||||
"navigation_bar.logout": "Logout",
|
||||
"navigation_bar.manage_event": "Manage event",
|
||||
"navigation_bar.mutes": "Mutes",
|
||||
|
||||
Reference in New Issue
Block a user