mirror of
https://github.com/paricafe/misskey.git
synced 2025-02-17 15:57:29 -06:00
Pari Plus! add enableFallbackReactionButton
This commit is contained in:
parent
91b3a27e02
commit
3711f1fae2
5 changed files with 6 additions and 1 deletions
|
@ -1283,6 +1283,7 @@ pariPlusNoteSettings: "Pari Plus! note settings"
|
||||||
autoTranslateButton: "Display translation function on notes in different languages"
|
autoTranslateButton: "Display translation function on notes in different languages"
|
||||||
showDetailTimeWhenHover: "Hover the timestamp of the note to expand the detailed time"
|
showDetailTimeWhenHover: "Hover the timestamp of the note to expand the detailed time"
|
||||||
noteClickToOpen: "Click to open note details"
|
noteClickToOpen: "Click to open note details"
|
||||||
|
enableFallbackReactButton: "Enable fallback reaction button"
|
||||||
performance: "Performance"
|
performance: "Performance"
|
||||||
modified: "Modified"
|
modified: "Modified"
|
||||||
discard: "Discard"
|
discard: "Discard"
|
||||||
|
|
|
@ -1292,6 +1292,7 @@ pariPlusNoteSettings: "Pari Plus! 的帖文设置"
|
||||||
autoTranslateButton: "在不同语言的帖文上显示翻译功能"
|
autoTranslateButton: "在不同语言的帖文上显示翻译功能"
|
||||||
showDetailTimeWhenHover: "悬浮/长按帖文时间戳时,展开详细时间"
|
showDetailTimeWhenHover: "悬浮/长按帖文时间戳时,展开详细时间"
|
||||||
noteClickToOpen: "点击展开帖文详情"
|
noteClickToOpen: "点击展开帖文详情"
|
||||||
|
enableFallbackReactButton: "开启Fallback回应按钮"
|
||||||
messageToFollower: "给关注者的消息"
|
messageToFollower: "给关注者的消息"
|
||||||
target: "对象"
|
target: "对象"
|
||||||
testCaptchaWarning: "此功能为测试 CAPTCHA 用。<strong>请勿在正式环境中使用。</strong>"
|
testCaptchaWarning: "此功能为测试 CAPTCHA 用。<strong>请勿在正式环境中使用。</strong>"
|
||||||
|
|
|
@ -1292,6 +1292,7 @@ pariPlusNoteSettings: "Pari Plus! 的貼文設定"
|
||||||
autoTranslateButton: "在不同語言的帖文上顯示翻譯功能"
|
autoTranslateButton: "在不同語言的帖文上顯示翻譯功能"
|
||||||
showDetailTimeWhenHover: "長按帖文時間戳記時展開詳細時間"
|
showDetailTimeWhenHover: "長按帖文時間戳記時展開詳細時間"
|
||||||
noteClickToOpen: "點擊展開帖文詳情"
|
noteClickToOpen: "點擊展開帖文詳情"
|
||||||
|
enableFallbackReactButton: "啓用Fallback回應鍵"
|
||||||
messageToFollower: "給追隨者的訊息"
|
messageToFollower: "給追隨者的訊息"
|
||||||
target: "目標 "
|
target: "目標 "
|
||||||
testCaptchaWarning: "此功能用於 CAPTCHA 的測試。<strong>請勿在正式環境中使用。</strong>"
|
testCaptchaWarning: "此功能用於 CAPTCHA 的測試。<strong>請勿在正式環境中使用。</strong>"
|
||||||
|
|
|
@ -133,7 +133,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button v-else :class="$style.footerButton" class="_button" disabled>
|
<button v-else :class="$style.footerButton" class="_button" disabled>
|
||||||
<i class="ti ti-ban"></i>
|
<i class="ti ti-ban"></i>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="appearNote.myReaction == null && appearNote.reactionAcceptance !== 'likeOnly'" ref="likeButton" :class="$style.footerButton" class="_button" @click.stop="like()">
|
<button v-if="defaultStore.state.enableFallbackReactButton && appearNote.myReaction == null && appearNote.reactionAcceptance !== 'likeOnly'" ref="likeButton" :class="$style.footerButton" class="_button" @click.stop="like()">
|
||||||
<i class="ti ti-heart"></i>
|
<i class="ti ti-heart"></i>
|
||||||
</button>
|
</button>
|
||||||
<button ref="reactButton" :class="$style.footerButton" class="_button" @click.stop="toggleReact()">
|
<button ref="reactButton" :class="$style.footerButton" class="_button" @click.stop="toggleReact()">
|
||||||
|
|
|
@ -9,6 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkSwitch v-model="autoTranslateButton">{{ i18n.ts.autoTranslateButton }}</MkSwitch>
|
<MkSwitch v-model="autoTranslateButton">{{ i18n.ts.autoTranslateButton }}</MkSwitch>
|
||||||
<MkSwitch v-model="showDetailTimeWhenHover">{{ i18n.ts.showDetailTimeWhenHover }}</MkSwitch>
|
<MkSwitch v-model="showDetailTimeWhenHover">{{ i18n.ts.showDetailTimeWhenHover }}</MkSwitch>
|
||||||
<MkSwitch v-model="noteClickToOpen">{{ i18n.ts.noteClickToOpen }}</MkSwitch>
|
<MkSwitch v-model="noteClickToOpen">{{ i18n.ts.noteClickToOpen }}</MkSwitch>
|
||||||
|
<MkSwitch v-model="enableFallbackReactButton">{{ i18n.ts.enableFallbackReactButton }}</MkSwitch>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -22,6 +23,7 @@ import MkSwitch from '@/components/MkSwitch.vue';
|
||||||
const autoTranslateButton = computed(defaultStore.makeGetterSetter('autoTranslateButton'));
|
const autoTranslateButton = computed(defaultStore.makeGetterSetter('autoTranslateButton'));
|
||||||
const showDetailTimeWhenHover = computed(defaultStore.makeGetterSetter('showDetailTimeWhenHover'));
|
const showDetailTimeWhenHover = computed(defaultStore.makeGetterSetter('showDetailTimeWhenHover'));
|
||||||
const noteClickToOpen = computed(defaultStore.makeGetterSetter('noteClickToOpen'));
|
const noteClickToOpen = computed(defaultStore.makeGetterSetter('noteClickToOpen'));
|
||||||
|
const enableFallbackReactButton = computed(defaultStore.makeGetterSetter('enableFallbackReactButton'));
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: 'Pari Plus!',
|
title: 'Pari Plus!',
|
||||||
|
|
Loading…
Add table
Reference in a new issue