1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-01 00:08:14 +09:00

fix: lint

This commit is contained in:
オスカー、 2024-08-28 01:06:27 +09:00
parent 7d462eb29a
commit f31320daab
Signed by: SWREI
GPG Key ID: 139D6573F92DA9F7
8 changed files with 20 additions and 20 deletions

View File

@ -1288,14 +1288,14 @@ areYouSureToRemoveAllFollowings: "本当に{host}とのすべてのフォロー
mutualLink: "相互リンク"
youNeedToEnableTwoFactor: "モデレーター権限を利用するには、まず二要素認証を有効にする必要があります。"
saveThisFile: "このファイルをドライブに保存する"
vacationMode: "휴가 모드"
vacationModeDescription: "휴가 모드는, 관리자가 잠시 직무를 내려놓고 일반 유저로 이용할 수 있도록 임시로 권한을 제거하는 모드입니다."
useVacationMode: "휴가 모드를 사용하기"
mindControl: "인터넷과 잠시 거리두기"
mindControlDescription: "필요한 경우, Misskey에서 피로감을 덜 느끼도록 몇 가지 설정을 조정할 수 있습니다."
hideCounters: "모든 카운터를 가리기"
hideCountersDescription: "유저 페이지의 노트, 팔로잉, 팔로워 수 및 이러한 통계를 모두 숨깁니다."
youAreOnVacation: "현재 휴가 모드를 사용 중입니다. 이 메시지를 닫으려면 여기를 클릭하세요."
vacationMode: "休暇モード"
vacationModeDescription: "休暇モードは、管理者が一時的に職務を降りて一般ユーザーとして利用できるように一時的に権限を削除するモードです。"
useVacationMode: "休暇モードを使う"
mindControl: "インターネットとしばらく距離を置く"
mindControlDescription: "必要に応じて、Misskeyの疲労感を少なくするためにいくつかの設定を調整することができます。"
hideCounters: "すべてのカウンターを隠す"
hideCountersDescription: "ユーザーページのノート、フォロー、フォロワー数、およびこれらの統計をすべて非表示にします。"
youAreOnVacation: "現在、休暇モードを使用しています。 このメッセージを閉じるにはここをクリックしてください。"
_bubbleGame:
howToPlay: "遊び方"

View File

@ -8,7 +8,7 @@ import { noteVisibilities } from '@/types.js';
import { id } from './util/id.js';
import { MiNote } from './Note.js';
import type { MiUser } from './User.js';
import type { MiChannel } from "@/models/Channel.js";
import type { MiChannel } from '@/models/Channel.js';
@Entity('poll')
export class MiPoll {

View File

@ -35,7 +35,7 @@ import { AvatarDecorationService } from '@/core/AvatarDecorationService.js';
import { notificationRecieveConfig } from '@/models/json-schema/user.js';
import { ApiLoggerService } from '../../ApiLoggerService.js';
import { ApiError } from '../../error.js';
import { IdService } from "@/core/IdService.js";
import { IdService } from '@/core/IdService.js';
export const meta = {
tags: ['account'],

View File

@ -236,7 +236,7 @@ import MkPagination, { type Paging } from '@/components/MkPagination.vue';
import MkReactionIcon from '@/components/MkReactionIcon.vue';
import MkButton from '@/components/MkButton.vue';
import { isEnabledUrlPreview } from '@/instance.js';
import { miLocalStorage } from "@/local-storage.js";
import { miLocalStorage } from '@/local-storage.js';
const props = withDefaults(defineProps<{
note: Misskey.entities.Note;

View File

@ -84,7 +84,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<FormSection>
<template #label><i class="ti ti-globe-off"></i> {{ i18n.ts.mindControl }}</template>
<template #description></template>
<template #description>{{ i18n.ts.mindControlDescription }}</template>
<div class="_gaps_m">
<MkInfo warn rounded>
@ -144,9 +144,9 @@ import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js';
import { iAmModerator, signinRequired } from '@/account.js';
import { definePageMetadata } from '@/scripts/page-metadata.js';
import { defaultStore } from "@/store.js";
import * as os from "@/os.js";
import { unisonReload } from "@/scripts/unison-reload.js";
import { defaultStore } from '@/store.js';
import * as os from '@/os.js';
import { unisonReload } from '@/scripts/unison-reload.js';
const $i = signinRequired();

View File

@ -5,7 +5,7 @@
import * as Misskey from 'misskey-js';
import { i18n } from '@/i18n.js';
import { defaultStore } from "@/store.js";
import { defaultStore } from '@/store.js';
/**
* 稿

View File

@ -29,11 +29,11 @@ SPDX-License-Identifier: AGPL-3.0-only
</span>
<span :class="$style.title">{{ i18n.ts.youNeedToEnableTwoFactor }}</span>
</MkA>
<MkA v-if="($i?.isModerator ?? $i?.isAdmin) && $i?.isVacation && showVacationAlert" :class="$style.item" @click.prevent.stop="removeThisAnnouncement()">
<MkA v-if="($i?.isModerator ?? $i?.isAdmin) && $i?.isVacation && showVacationAlert" :class="$style.item" to="./#" @click.prevent.stop="removeThisAnnouncement()">
<span :class="$style.icon">
<i class="ti ti-sandbox"></i>
</span>
<span :class="$style.title">{{ i18n.ts.youAreOnVacation }}</span>
<span :class="$style.title" @click.prevent.stop="removeThisAnnouncement()">{{ i18n.ts.youAreOnVacation }}</span>
</MkA>
<MkA
v-for="announcement in $i?.unreadAnnouncements.filter(x => x.display === 'banner')"

View File

@ -61,8 +61,8 @@ import { $i, iAmModerator, openAccountMenu as openAccountMenu_ } from '@/account
import { defaultStore } from '@/store.js';
import { i18n } from '@/i18n.js';
import { instance } from '@/instance.js';
import { miLocalStorage } from "@/local-storage.js";
import { misskeyApi } from "@/scripts/misskey-api.js";
import { miLocalStorage } from '@/local-storage.js';
import { misskeyApi } from '@/scripts/misskey-api.js';
const menu = toRef(defaultStore.state, 'menu');
const unresolvedReportAvailable = ref<boolean>(false);