mirror of
https://github.com/kokonect-link/cherrypick
synced 2025-01-05 01:13:16 +09:00
add locale
This commit is contained in:
parent
384643502d
commit
ab0de7a31b
4
locales/index.d.ts
vendored
4
locales/index.d.ts
vendored
@ -9733,6 +9733,10 @@ export interface Locale extends ILocale {
|
||||
* 盤面に行・列番号を表示
|
||||
*/
|
||||
"showBoardLabels": string;
|
||||
/**
|
||||
* 相手のリアクションを表示
|
||||
*/
|
||||
"showReaction": string;
|
||||
/**
|
||||
* 石をアイコンにする
|
||||
*/
|
||||
|
@ -2591,6 +2591,7 @@ _reversi:
|
||||
allowIrregularRules: "変則許可 (完全フリー)"
|
||||
disallowIrregularRules: "変則なし"
|
||||
showBoardLabels: "盤面に行・列番号を表示"
|
||||
showReaction: "相手のリアクションを表示"
|
||||
useAvatarAsStone: "石をアイコンにする"
|
||||
|
||||
_offlineScreen:
|
||||
|
@ -142,7 +142,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
<template #label>{{ i18n.ts.options }}</template>
|
||||
<div class="_gaps_s" style="text-align: left;">
|
||||
<MkSwitch v-model="showBoardLabels">{{ i18n.ts._reversi.showBoardLabels }}</MkSwitch>
|
||||
<MkSwitch v-model="showReaction">Show reaction</MkSwitch>
|
||||
<MkSwitch v-model="showReaction">{{ i18n.ts._reversi.showReaction }}</MkSwitch>
|
||||
<MkSwitch v-model="useAvatarAsStone">{{ i18n.ts._reversi.useAvatarAsStone }}</MkSwitch>
|
||||
</div>
|
||||
</MkFolder>
|
||||
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user