collapse statuses with CWs by default (#157)

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/157
This commit is contained in:
floatingghost 2022-09-06 17:00:15 +00:00
parent bd868e47de
commit 6084cbbb00
3 changed files with 10 additions and 10 deletions

View file

@ -279,7 +279,7 @@
"text/plain": "Plain text", "text/plain": "Plain text",
"text/x.misskeymarkdown": "MFM" "text/x.misskeymarkdown": "MFM"
}, },
"content_warning": "Subject (optional)", "content_warning": "Content Warning (optional)",
"default": "Just arrived at Luna Nova Academy", "default": "Just arrived at Luna Nova Academy",
"direct_warning_to_all": "This post will be visible to all the mentioned users.", "direct_warning_to_all": "This post will be visible to all the mentioned users.",
"direct_warning_to_first_only": "This post will only be visible to the mentioned users at the beginning of the message.", "direct_warning_to_first_only": "This post will only be visible to the mentioned users at the beginning of the message.",
@ -392,7 +392,7 @@
"changed_password": "Password changed successfully!", "changed_password": "Password changed successfully!",
"chatMessageRadius": "Chat message", "chatMessageRadius": "Chat message",
"checkboxRadius": "Checkboxes", "checkboxRadius": "Checkboxes",
"collapse_subject": "Collapse posts with subjects", "collapse_subject": "Collapse posts with content warnings",
"columns": "Columns", "columns": "Columns",
"composing": "Composing", "composing": "Composing",
"confirm_dialogs": "Require confirmation for:", "confirm_dialogs": "Require confirmation for:",
@ -614,7 +614,7 @@
"security": "Security", "security": "Security",
"security_tab": "Security", "security_tab": "Security",
"sensitive_by_default": "Mark posts as sensitive by default", "sensitive_by_default": "Mark posts as sensitive by default",
"sensitive_if_subject": "Automatically mark images as sensitive if a subject line is specified", "sensitive_if_subject": "Automatically mark images as sensitive if a content warning is specified",
"set_new_avatar": "Set new avatar", "set_new_avatar": "Set new avatar",
"set_new_mascot": "Set new mascot", "set_new_mascot": "Set new mascot",
"set_new_profile_background": "Set new profile background", "set_new_profile_background": "Set new profile background",
@ -777,9 +777,9 @@
"use_source": "New version" "use_source": "New version"
} }
}, },
"subject_input_always_show": "Always show subject field", "subject_input_always_show": "Always show content warning field",
"subject_line_behavior": "Copy subject when replying", "subject_line_behavior": "Copy content warning when replying",
"subject_line_email": "Like email: \"re: subject\"", "subject_line_email": "Like email: \"re: warning\"",
"subject_line_mastodon": "Like mastodon: copy as is", "subject_line_mastodon": "Like mastodon: copy as is",
"subject_line_noop": "Do not copy", "subject_line_noop": "Do not copy",
"text": "Text", "text": "Text",
@ -838,7 +838,7 @@
"favorites": "Favorites", "favorites": "Favorites",
"hide_attachment": "Hide attachment", "hide_attachment": "Hide attachment",
"hide_content": "Hide content", "hide_content": "Hide content",
"hide_full_subject": "Hide full subject", "hide_full_subject": "Hide full content warning",
"many_attachments": "Post has {number} attachment | Post has {number} attachments", "many_attachments": "Post has {number} attachment | Post has {number} attachments",
"mentions": "Mentions", "mentions": "Mentions",
"move_down": "Shift attachment right", "move_down": "Shift attachment right",
@ -865,7 +865,7 @@
"show_attachment_description": "Preview description (open attachment for full description)", "show_attachment_description": "Preview description (open attachment for full description)",
"show_attachment_in_modal": "Show attachment in a window", "show_attachment_in_modal": "Show attachment in a window",
"show_content": "Show content", "show_content": "Show content",
"show_full_subject": "Show full subject", "show_full_subject": "Show full content warning",
"show_only_conversation_under_this": "Only show replies to this post", "show_only_conversation_under_this": "Only show replies to this post",
"status_deleted": "This post was deleted", "status_deleted": "This post was deleted",
"status_unavailable": "Post unavailable", "status_unavailable": "Post unavailable",

View file

@ -34,7 +34,7 @@ export const defaultState = {
hideThreadsWithBlockedUsers: undefined, // instance default hideThreadsWithBlockedUsers: undefined, // instance default
hideWordFilteredPosts: undefined, // instance default hideWordFilteredPosts: undefined, // instance default
muteBotStatuses: undefined, // instance default muteBotStatuses: undefined, // instance default
collapseMessageWithSubject: undefined, // instance default collapseMessageWithSubject: true, // instance default
padEmoji: true, padEmoji: true,
showNavShortcuts: undefined, // instance default showNavShortcuts: undefined, // instance default
showPanelNavShortcuts: undefined, // instance default showPanelNavShortcuts: undefined, // instance default

View file

@ -17,7 +17,7 @@ const defaultState = {
defaultAvatar: '/images/avi.png', defaultAvatar: '/images/avi.png',
defaultBanner: '/images/banner.png', defaultBanner: '/images/banner.png',
background: '/static/aurora_borealis.jpg', background: '/static/aurora_borealis.jpg',
collapseMessageWithSubject: false, collapseMessageWithSubject: true,
greentext: false, greentext: false,
useAtIcon: false, useAtIcon: false,
mentionLinkDisplay: 'short', mentionLinkDisplay: 'short',