This commit is contained in:
1 parent
b7ccf5d78c
commit
2955cfde64
3 files changed
+5
-5
No files matched your search
@@ -101,7 +101,7 @@
|
||||
<th>ID</th>
|
||||
<th>{$page.data.aliases?.category || '分类'}名称</th>
|
||||
<th>别名</th>
|
||||
<th>关联文章数</th>
|
||||
<th>关联{$page.data.aliases?.post || '文章'}数</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -171,7 +171,7 @@
|
||||
const form = e.target as HTMLFormElement;
|
||||
const submitter = e.submitter;
|
||||
const confirmed = await confirmState.show(
|
||||
`确定要删除${$page.data.aliases?.category || '分类'} "${category.name}" 吗?删除后相关文章将归为未${$page.data.aliases?.category || '分类'}。`
|
||||
`确定要删除${$page.data.aliases?.category || '分类'} "${category.name}" 吗?删除后相关${$page.data.aliases?.post || '文章'}将归为未${$page.data.aliases?.category || '分类'}。`
|
||||
);
|
||||
if (confirmed) {
|
||||
form.dataset.confirmed = 'true';
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
<th>ID</th>
|
||||
<th>{$page.data.aliases?.series || '系列'}名称</th>
|
||||
<th>别名</th>
|
||||
<th>关联文章数</th>
|
||||
<th>关联{$page.data.aliases?.post || '文章'}数</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -167,7 +167,7 @@
|
||||
const form = event.target as HTMLFormElement;
|
||||
const submitter = event.submitter;
|
||||
const confirmed = await confirmState.show(
|
||||
`确定删除系列“${item.name}”吗?相关文章会保留,但不再属于任何系列。`
|
||||
`确定删除${$page.data.aliases?.series || '系列'}“${item.name}”吗?相关${$page.data.aliases?.post || '文章'}会保留,但不再属于任何${$page.data.aliases?.series || '系列'}。`
|
||||
);
|
||||
if (confirmed) {
|
||||
form.dataset.confirmed = 'true';
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>{$page.data.aliases?.tag || '标签'}名称</th>
|
||||
<th>关联文章数</th>
|
||||
<th>关联{$page.data.aliases?.post || '文章'}数</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Reference in new issue
Block a user