translate Chinese to English

This commit is contained in:
Kuoi 2022-05-11 16:43:31 +01:00
parent 3ccdea7df2
commit 7d1de4440d
2 changed files with 17 additions and 17 deletions

View file

@ -32,7 +32,7 @@
"columnDefs": [
{
targets: 0,
title: "更新时间",
title: "Update Time",
data: "updated_at",
render: function (data, type, row, meta) {
if (type == 'display') {
@ -44,22 +44,22 @@
},
{
targets: 1,
title: "包名",
title: "Package Name",
data: "pkgbase"
},
{
targets: 2,
title: "状态",
title: "Status",
data: "status"
},
{
targets: 3,
title: "上次打包时间",
title: "Last Packaging Time",
data: "elapsed"
},
{
targets: 4,
title: "打包原因",
title: "Packaging Reason",
data: "reasons",
render: function (data, type, row, meta) {
return JSON.parse(data)

View file

@ -49,22 +49,22 @@
"columnDefs": [
{
targets: 0,
title: "包名",
title: "Package Name",
data: "pkgbase"
},
{
targets: 1,
title: "打包者",
title: "Maintainer",
data: "maintainer"
},
{
targets: 2,
title: "版本号",
title: "Package Version",
data: "pkg_version"
},
{
targets: 3,
title: "状态",
title: "Status",
data: "result",
render: function (data, type, row, meta) {
switch (data) {
@ -77,17 +77,17 @@
},
{
targets: 4,
title: "持续时间(秒)",
title: "Last Time (s)",
data: "elapsed"
},
{
targets: 5,
title: "CPU 使用率(%",
title: "CPU Usage Percentage (%)",
data: "cpu"
},
{
targets: 6,
title: "内存使用GiB",
title: "RAM Usage (GiB)",
data: "memory",
render: function (data, type, row, meta) {
return data.toFixed(3)
@ -95,7 +95,7 @@
},
{
targets: 7,
title: "打包时间",
title: "Last Packaging Time",
data: "ts",
render: function (data, type, row, meta) {
if (type == 'display') {
@ -115,18 +115,18 @@
},
{
targets: 9,
title: "日志",
title: "Log",
data: "ts",
render: function (data, type, row, meta) {
return `<a href=https://build.bioarchlinux.org/imlonghao-api/pkg/${row.pkgbase}/log/${Math.floor(data / 1000)} target=_blank rel=noopener>日志</a>`
return `<a href=https://build.bioarchlinux.org/imlonghao-api/pkg/${row.pkgbase}/log/${Math.floor(data / 1000)} target=_blank rel=noopener>Log</a>`
}
},
{
targets: 10,
title: "更多",
title: "More",
data: "pkgbase",
render: function (data, type, row, meta) {
return `<a href=#${data}>更多</a>`
return `<a href=#${data}>More</a>`
}
}
]