wip
This commit is contained in:
parent
8fede2d670
commit
db14012bbf
|
@ -5286,6 +5286,10 @@ export interface Locale extends ILocale {
|
||||||
* 下書き
|
* 下書き
|
||||||
*/
|
*/
|
||||||
"draft": string;
|
"draft": string;
|
||||||
|
/**
|
||||||
|
* 下書きと予約投稿
|
||||||
|
*/
|
||||||
|
"draftsAndScheduledNotes": string;
|
||||||
/**
|
/**
|
||||||
* リアクションする際に確認する
|
* リアクションする際に確認する
|
||||||
*/
|
*/
|
||||||
|
@ -12661,6 +12665,10 @@ export interface Locale extends ILocale {
|
||||||
* 投稿予約
|
* 投稿予約
|
||||||
*/
|
*/
|
||||||
"schedule": string;
|
"schedule": string;
|
||||||
|
/**
|
||||||
|
* 予約投稿一覧
|
||||||
|
*/
|
||||||
|
"listScheduledNotes": string;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* 二次元コード
|
* 二次元コード
|
||||||
|
|
|
@ -1317,6 +1317,7 @@ acknowledgeNotesAndEnable: "注意事項を理解した上でオンにします
|
||||||
federationSpecified: "このサーバーはホワイトリスト連合で運用されています。管理者が指定したサーバー以外とやり取りすることはできません。"
|
federationSpecified: "このサーバーはホワイトリスト連合で運用されています。管理者が指定したサーバー以外とやり取りすることはできません。"
|
||||||
federationDisabled: "このサーバーは連合が無効化されています。他のサーバーのユーザーとやり取りすることはできません。"
|
federationDisabled: "このサーバーは連合が無効化されています。他のサーバーのユーザーとやり取りすることはできません。"
|
||||||
draft: "下書き"
|
draft: "下書き"
|
||||||
|
draftsAndScheduledNotes: "下書きと予約投稿"
|
||||||
confirmOnReact: "リアクションする際に確認する"
|
confirmOnReact: "リアクションする際に確認する"
|
||||||
reactAreYouSure: "\" {emoji} \" をリアクションしますか?"
|
reactAreYouSure: "\" {emoji} \" をリアクションしますか?"
|
||||||
markAsSensitiveConfirm: "このメディアをセンシティブとして設定しますか?"
|
markAsSensitiveConfirm: "このメディアをセンシティブとして設定しますか?"
|
||||||
|
@ -3390,6 +3391,7 @@ _drafts:
|
||||||
restore: "復元"
|
restore: "復元"
|
||||||
listDrafts: "下書き一覧"
|
listDrafts: "下書き一覧"
|
||||||
schedule: "投稿予約"
|
schedule: "投稿予約"
|
||||||
|
listScheduledNotes: "予約投稿一覧"
|
||||||
|
|
||||||
qr: "二次元コード"
|
qr: "二次元コード"
|
||||||
_qr:
|
_qr:
|
||||||
|
|
|
@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button v-click-anime v-tooltip="i18n.ts.switchAccount" :class="$style.account" class="_button" @click="openAccountMenu">
|
<button v-click-anime v-tooltip="i18n.ts.switchAccount" :class="$style.account" class="_button" @click="openAccountMenu">
|
||||||
<img :class="$style.avatar" :src="(postAccount ?? $i).avatarUrl" style="border-radius: 100%;"/>
|
<img :class="$style.avatar" :src="(postAccount ?? $i).avatarUrl" style="border-radius: 100%;"/>
|
||||||
</button>
|
</button>
|
||||||
<button v-if="$i.policies.noteDraftLimit > 0" v-tooltip="(postAccount != null && postAccount.id !== $i.id) ? null : i18n.ts.draft" class="_button" :class="$style.draftButton" :disabled="postAccount != null && postAccount.id !== $i.id" @click="showDraftMenu"><i class="ti ti-pencil-minus"></i></button>
|
<button v-if="$i.policies.noteDraftLimit > 0" v-tooltip="(postAccount != null && postAccount.id !== $i.id) ? null : i18n.ts.draftsAndScheduledNotes" class="_button" :class="$style.draftButton" :disabled="postAccount != null && postAccount.id !== $i.id" @click="showDraftMenu"><i class="ti ti-list"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div :class="$style.headerRight">
|
<div :class="$style.headerRight">
|
||||||
<template v-if="!(targetChannel != null && fixed)">
|
<template v-if="!(targetChannel != null && fixed)">
|
||||||
|
@ -1256,6 +1256,13 @@ function showDraftMenu(ev: MouseEvent) {
|
||||||
action: () => {
|
action: () => {
|
||||||
showDraftsDialog();
|
showDraftsDialog();
|
||||||
},
|
},
|
||||||
|
}, { type: 'divider' }, {
|
||||||
|
type: 'button',
|
||||||
|
text: i18n.ts._drafts.listScheduledNotes,
|
||||||
|
icon: 'ti ti-clock-down',
|
||||||
|
action: () => {
|
||||||
|
showDraftsDialog();
|
||||||
|
},
|
||||||
}], (ev.currentTarget ?? ev.target ?? undefined) as HTMLElement | undefined);
|
}], (ev.currentTarget ?? ev.target ?? undefined) as HTMLElement | undefined);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue