sforkowany z mirror/soapbox
Preferences: media display --> sensitive content
rodzic
e3352b89d8
commit
aea7bdcaa0
|
@ -77,9 +77,9 @@ const languages = {
|
|||
|
||||
const messages = defineMessages({
|
||||
heading: { id: 'column.preferences', defaultMessage: 'Preferences' },
|
||||
display_media_default: { id: 'preferences.fields.display_media.default', defaultMessage: 'Hide media marked as sensitive' },
|
||||
display_media_hide_all: { id: 'preferences.fields.display_media.hide_all', defaultMessage: 'Always hide media' },
|
||||
display_media_show_all: { id: 'preferences.fields.display_media.show_all', defaultMessage: 'Always show media' },
|
||||
displayPostsDefault: { id: 'preferences.fields.display_media.default', defaultMessage: 'Hide posts marked as sensitive' },
|
||||
displayPostsHideAll: { id: 'preferences.fields.display_media.hide_all', defaultMessage: 'Always hide posts' },
|
||||
displayPostsShowAll: { id: 'preferences.fields.display_media.show_all', defaultMessage: 'Always show posts' },
|
||||
privacy_public: { id: 'preferences.options.privacy_public', defaultMessage: 'Public' },
|
||||
privacy_unlisted: { id: 'preferences.options.privacy_unlisted', defaultMessage: 'Unlisted' },
|
||||
privacy_followers_only: { id: 'preferences.options.privacy_followers_only', defaultMessage: 'Followers-only' },
|
||||
|
@ -102,9 +102,9 @@ const Preferences = () => {
|
|||
};
|
||||
|
||||
const displayMediaOptions = React.useMemo(() => ({
|
||||
default: intl.formatMessage(messages.display_media_default),
|
||||
hide_all: intl.formatMessage(messages.display_media_hide_all),
|
||||
show_all: intl.formatMessage(messages.display_media_show_all),
|
||||
default: intl.formatMessage(messages.displayPostsDefault),
|
||||
hide_all: intl.formatMessage(messages.displayPostsHideAll),
|
||||
show_all: intl.formatMessage(messages.displayPostsShowAll),
|
||||
}), []);
|
||||
|
||||
const defaultPrivacyOptions = React.useMemo(() => ({
|
||||
|
@ -149,7 +149,7 @@ const Preferences = () => {
|
|||
/>
|
||||
</ListItem>
|
||||
|
||||
<ListItem label={<FormattedMessage id='preferences.fields.media_display_label' defaultMessage='Media display' />}>
|
||||
<ListItem label={<FormattedMessage id='preferences.fields.media_display_label' defaultMessage='Sensitive contnt' />}>
|
||||
<SelectDropdown
|
||||
items={displayMediaOptions}
|
||||
defaultValue={settings.get('displayMedia') as string | undefined}
|
||||
|
|
|
@ -794,12 +794,12 @@
|
|||
"preferences.fields.autoload_timelines_label": "Automatically load new posts when scrolled to the top of the page",
|
||||
"preferences.fields.boost_modal_label": "Show confirmation dialog before reposting",
|
||||
"preferences.fields.delete_modal_label": "Show confirmation dialog before deleting a post",
|
||||
"preferences.fields.display_media.default": "Hide media marked as sensitive",
|
||||
"preferences.fields.display_media.hide_all": "Always hide media",
|
||||
"preferences.fields.display_media.show_all": "Always show media",
|
||||
"preferences.fields.display_media.default": "Hide posts marked as sensitive",
|
||||
"preferences.fields.display_media.hide_all": "Always hide posts",
|
||||
"preferences.fields.display_media.show_all": "Always show posts",
|
||||
"preferences.fields.expand_spoilers_label": "Always expand posts marked with content warnings",
|
||||
"preferences.fields.language_label": "Display Language",
|
||||
"preferences.fields.media_display_label": "Media display",
|
||||
"preferences.fields.media_display_label": "Sensitive content",
|
||||
"preferences.hints.feed": "In your home feed",
|
||||
"privacy.change": "Adjust post privacy",
|
||||
"privacy.direct.long": "Post to mentioned users only",
|
||||
|
|
Ładowanie…
Reference in New Issue