diff --git a/locales/index.d.ts b/locales/index.d.ts index c1aa163f98..7d827a5e9b 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -9733,6 +9733,10 @@ export interface Locale extends ILocale { * 盤面に行・列番号を表示 */ "showBoardLabels": string; + /** + * 相手のリアクションを表示 + */ + "showReaction": string; /** * 石をアイコンにする */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 51380e49c5..03f05f5aef 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2591,6 +2591,7 @@ _reversi: allowIrregularRules: "変則許可 (完全フリー)" disallowIrregularRules: "変則なし" showBoardLabels: "盤面に行・列番号を表示" + showReaction: "相手のリアクションを表示" useAvatarAsStone: "石をアイコンにする" _offlineScreen: diff --git a/packages/frontend/src/pages/reversi/game.board.vue b/packages/frontend/src/pages/reversi/game.board.vue index c1c8ee04a7..569e9148ef 100644 --- a/packages/frontend/src/pages/reversi/game.board.vue +++ b/packages/frontend/src/pages/reversi/game.board.vue @@ -142,7 +142,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts._reversi.showBoardLabels }} - Show reaction + {{ i18n.ts._reversi.showReaction }} {{ i18n.ts._reversi.useAvatarAsStone }}
@@ -163,12 +163,12 @@ SPDX-License-Identifier: AGPL-3.0-only import { computed, onActivated, onDeactivated, onMounted, onUnmounted, ref, shallowRef, triggerRef, watch } from 'vue'; import * as Misskey from 'misskey-js'; import * as Reversi from 'misskey-reversi'; +import XEmojiBalloon from './game.emoji-balloon.vue'; import type { UnicodeEmojiDef } from '@/scripts/emojilist.js'; import MkButton from '@/components/MkButton.vue'; import MkFolder from '@/components/MkFolder.vue'; import MkSwitch from '@/components/MkSwitch.vue'; import MkRippleEffect from '@/components/MkRippleEffect.vue'; -import XEmojiBalloon from './game.emoji-balloon.vue'; import { deepClone } from '@/scripts/clone.js'; import { useInterval } from '@/scripts/use-interval.js'; import { signinRequired } from '@/account.js';