This commit is contained in:
syuilo 2025-09-24 11:05:44 +09:00
parent d2faac80d8
commit e129b09160
3 changed files with 14 additions and 0 deletions

4
locales/index.d.ts vendored
View File

@ -12645,6 +12645,10 @@ export interface Locale extends ILocale {
*
*/
"listDrafts": string;
/**
* 稿
*/
"schedule": string;
};
/**
*

View File

@ -3386,6 +3386,7 @@ _drafts:
restoreFromDraft: "下書きから復元"
restore: "復元"
listDrafts: "下書き一覧"
schedule: "投稿予約"
qr: "二次元コード"
_qr:

View File

@ -94,12 +94,21 @@ SPDX-License-Identifier: AGPL-3.0-only
<i class="ti ti-corner-up-left"></i>
{{ i18n.ts._drafts.restore }}
</MkButton>
<MkButton
:class="$style.itemButton"
small
@click="schedule(draft)"
>
<i class="ti ti-calendar-time"></i>
{{ i18n.ts._drafts.schedule }}
</MkButton>
<MkButton
v-tooltip="i18n.ts._drafts.delete"
danger
small
:iconOnly="true"
:class="$style.itemButton"
style="margin-left: auto;"
@click="deleteDraft(draft)"
>
<i class="ti ti-trash"></i>