More coherent setting name, status -> post

This commit is contained in:
eris 2022-08-07 20:27:01 +00:00
parent 75e18ecfcf
commit 7feaa74ae0
6 changed files with 7 additions and 7 deletions

View file

@ -108,7 +108,7 @@
>
<li>
<BooleanSetting
path="mfmOnHover"
path="renderMfmOnHover"
:disabled="!renderMisskeyMarkdown"
>
{{ $t('settings.render_mfm_on_hover') }}

View file

@ -100,8 +100,8 @@ const StatusContent = {
maxThumbnails () {
return this.mergedConfig.maxThumbnails
},
mfmOnHover () {
return this.mergedConfig.mfmOnHover
renderMfmOnHover () {
return this.mergedConfig.renderMfmOnHover
},
...mapGetters(['mergedConfig']),
...mapState({

View file

@ -1,7 +1,7 @@
<template>
<div
class="StatusContent"
:class="{ '-compact': compact, 'mfm-hover': mfmOnHover }"
:class="{ '-compact': compact, 'mfm-hover': renderMfmOnHover }"
>
<slot name="header" />
<StatusBody

View file

@ -577,7 +577,7 @@
"remove_alias": "Remove this alias",
"remove_backup": "Remove",
"render_mfm": "Render Misskey Markdown",
"render_mfm_on_hover": "Pause MFM animations until status hover",
"render_mfm_on_hover": "Pause MFM animations until post hover",
"replies_in_timeline": "Replies in timeline",
"reply_visibility_all": "Show all replies",
"reply_visibility_following": "Only show replies directed at me or users I'm following",

View file

@ -96,7 +96,7 @@ export const defaultState = {
sensitiveByDefault: undefined, // instance default
sensitiveIfSubject: undefined,
renderMisskeyMarkdown: undefined,
mfmOnHover: undefined, // instance default
renderMfmOnHover: undefined, // instance default
conversationDisplay: undefined, // instance default
conversationTreeAdvanced: undefined, // instance default
conversationOtherRepliesButton: undefined, // instance default

View file

@ -57,7 +57,7 @@ const defaultState = {
sensitiveByDefault: false,
sensitiveIfSubject: true,
renderMisskeyMarkdown: false,
mfmOnHover: false,
renderMfmOnHover: false,
conversationDisplay: 'linear',
conversationTreeAdvanced: false,
conversationOtherRepliesButton: 'below',