mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
Update i18n
This commit is contained in:
@@ -10,6 +10,7 @@ import Task from "../components/Task.tsx";
|
||||
import Fab from "preact-material-components/Fab";
|
||||
import Icon from "preact-material-components/Icon";
|
||||
import { set_state } from "../server/state.ts";
|
||||
import t from "../server/i18n.ts";
|
||||
|
||||
export type TaskManagerProps = {
|
||||
base: string;
|
||||
@@ -169,23 +170,23 @@ export default class TaskManager extends Component<TaskManagerProps> {
|
||||
<div class="task_amounts">
|
||||
<div class="mdc-theme--secondary-light">
|
||||
<p>count</p>
|
||||
<p>Total Task</p>
|
||||
<p>{t("task.all")}</p>
|
||||
</div>
|
||||
<div class="btn-success">
|
||||
<p>count</p>
|
||||
<p>Running</p>
|
||||
<p>{t("task.running")}</p>
|
||||
</div>
|
||||
<div class="btn-warning">
|
||||
<p>count</p>
|
||||
<p>Waiting</p>
|
||||
<p>{t("task.waiting")}</p>
|
||||
</div>
|
||||
<div class="btn-danger">
|
||||
<p>count</p>
|
||||
<p>Fail</p>
|
||||
<p>{t("task.failed")}</p>
|
||||
</div>
|
||||
<div class="btn-primary">
|
||||
<p>count</p>
|
||||
<p>Finished</p>
|
||||
<p>{t("task.finished")}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="task_details">
|
||||
|
||||
@@ -200,4 +200,4 @@ body {
|
||||
|
||||
.dark-scheme .mdc-notched-outline__idle{
|
||||
color: white!important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
{
|
||||
"id": "Task ID: "
|
||||
"id": "Task ID: ",
|
||||
"all": "All task",
|
||||
"running": "Running",
|
||||
"waiting": "Waiting",
|
||||
"failed": "Failed",
|
||||
"finished": "Finished"
|
||||
}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
{
|
||||
"id": "任务ID:"
|
||||
"id": "任务ID:",
|
||||
"all": "所有任务",
|
||||
"running": "运行中",
|
||||
"waiting": "等待中",
|
||||
"failed": "已失败",
|
||||
"finished": "已完成"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user