@xen-orchestra/web-core 0.50.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/menu/MenuTrigger.vue +1 -0
- package/lib/components/modal/VtsErrorModal.vue +36 -0
- package/lib/components/status/VtsStatus.vue +4 -0
- package/lib/components/table/cells/VtsDoubleLinkCell.vue +53 -0
- package/lib/icons/fa-icons.ts +2 -0
- package/lib/icons/object-icons.ts +2 -0
- package/lib/locales/cs.json +52 -29
- package/lib/locales/de.json +1 -1
- package/lib/locales/en.json +42 -0
- package/lib/locales/es.json +8 -7
- package/lib/locales/fa.json +1 -1
- package/lib/locales/fr.json +42 -0
- package/lib/locales/nl.json +1 -1
- package/lib/locales/pl.json +1 -1
- package/lib/locales/pt-BR.json +3 -3
- package/lib/locales/pt.json +1 -1
- package/lib/locales/sk.json +294 -2
- package/lib/locales/sv.json +1 -1
- package/lib/locales/zh-Hans.json +10 -0
- package/lib/packages/job/define-job.ts +1 -1
- package/lib/tables/column-definitions/double-link-column.ts +14 -0
- package/lib/tables/column-sets/host-columns.ts +1 -1
- package/lib/tables/column-sets/network-columns.ts +3 -1
- package/lib/tables/column-sets/snapshot-columns.ts +2 -2
- package/lib/tables/column-sets/traffic-rules-columns.ts +29 -0
- package/package.json +1 -1
package/lib/locales/sv.json
CHANGED
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
"modal:confirm-vm-force-shutdown": "Bekräftaa tvingad nedstängning av VM",
|
|
466
466
|
"modal:confirm-vm-reboot": "Bekräfta omstart av VM",
|
|
467
467
|
"modal:confirm-vm-shutdown": "Bekräfta nedstängning av VM",
|
|
468
|
-
"modal:vm-force-reboot-message": "Detta kommer omedelbart
|
|
468
|
+
"modal:vm-force-reboot-message": "Detta kommer omedelbart startar om den virtuella maskinen utan en korrekt nedstängning. Dataförlust kan ske och pågående processer kommer att avbrytas.",
|
|
469
469
|
"modal:vm-force-shutdown-message": "Detta kommer omedelbart att stänga av den virtuella maskinen utan en korrekt nedstängning. Dataförlust kan ske och pågående processer kommer att avbrytas.",
|
|
470
470
|
"modal:vm-reboot-message": "Startar om den virtuella maskinen korrekt genom att stänga ned den och starta upp den igen. Processer stängs ner korrekt.",
|
|
471
471
|
"modal:vm-shutdown-message": "Stänger ned den virtuella maskinen korrekt. Alla körande processer stoppas och användare kan kopplas ifrån. Du kan starta om VMen senare från gränssnittet.",
|
package/lib/locales/zh-Hans.json
CHANGED
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"action:copy-id": "复制ID",
|
|
27
27
|
"action:copy-info-json": "复制信息为JSON",
|
|
28
28
|
"action:create": "创建",
|
|
29
|
+
"action:create-bonded-network": "创建绑定网络",
|
|
30
|
+
"action:create-internal-network": "创建内部网络",
|
|
31
|
+
"action:create-network": "创建网络",
|
|
29
32
|
"action:delete": "删除",
|
|
30
33
|
"action:delete-filter": "删除筛选器",
|
|
31
34
|
"action:delete-group": "删除群组",
|
|
@@ -179,6 +182,7 @@
|
|
|
179
182
|
"bios-info": "BIOS信息",
|
|
180
183
|
"bond": "链路聚合",
|
|
181
184
|
"bond-devices": "链路聚合设备",
|
|
185
|
+
"bond-mode": "绑定模式",
|
|
182
186
|
"bond-status": "链路聚合状态",
|
|
183
187
|
"boot-firmware": "启动固件",
|
|
184
188
|
"build-number": "构建号",
|
|
@@ -239,6 +243,7 @@
|
|
|
239
243
|
"crash-dump-storage-repository": "崩溃转储存储库",
|
|
240
244
|
"created-by": "创建者",
|
|
241
245
|
"created-on": "创建时间",
|
|
246
|
+
"creating-new-network": "创建新网络",
|
|
242
247
|
"creation-date": "创建日期",
|
|
243
248
|
"cron-pattern": "Cron表达式",
|
|
244
249
|
"current": "当前",
|
|
@@ -360,14 +365,18 @@
|
|
|
360
365
|
"iso-dvd": "ISO/DVD",
|
|
361
366
|
"job": "作业",
|
|
362
367
|
"job-name": "作业名称",
|
|
368
|
+
"job:arg:bond-mode-required": "需要启用绑定模式",
|
|
363
369
|
"job:arg:host-required": "主机为必填项",
|
|
364
370
|
"job:arg:missing-payload": "缺少有效负载",
|
|
365
371
|
"job:arg:name-required": "名称标签为必填项",
|
|
366
372
|
"job:arg:password-required": "密码为必填项",
|
|
373
|
+
"job:arg:pif-id-required": "需要填写 PIF ID",
|
|
374
|
+
"job:arg:pif-ids-required": "至少需要一个PIF ID",
|
|
367
375
|
"job:arg:pool-id-required": "资源池ID为必填项",
|
|
368
376
|
"job:arg:sr-vdi-required": "存储库/虚拟磁盘为必填项",
|
|
369
377
|
"job:arg:template-uuid-required": "模板UUID为必填项",
|
|
370
378
|
"job:arg:username-required": "用户名为必填项",
|
|
379
|
+
"job:arg:vlan-required": "需要配置VLAN",
|
|
371
380
|
"job:delete:in-progress": "删除中.…",
|
|
372
381
|
"job:create:in-progress": "创建中.…",
|
|
373
382
|
"job:vm-copy:bad-power-state": "虚拟机必须处于停止状态",
|
|
@@ -435,6 +444,7 @@
|
|
|
435
444
|
"last-snapshot": "最后一个快照",
|
|
436
445
|
"last-week": "上周",
|
|
437
446
|
"learn-more": "了解更多",
|
|
447
|
+
"leave-page-safely": "你可以安全地离开此页面。",
|
|
438
448
|
"lets-go!": "开始!",
|
|
439
449
|
"license-name": "{name}许可证",
|
|
440
450
|
"license-socket": "许可证插槽",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import VtsDoubleLinkCell, { type VtsDoubleLinkCellProps } from '@core/components/table/cells/VtsDoubleLinkCell.vue'
|
|
2
|
+
import { defineColumn } from '@core/packages/table'
|
|
3
|
+
import { renderHeadCell } from '@core/tables/helpers/render-head-cell.ts'
|
|
4
|
+
import type { HeaderConfig } from '@core/tables/types.ts'
|
|
5
|
+
import { h } from 'vue'
|
|
6
|
+
|
|
7
|
+
export const useDoubleLinkColumn = defineColumn((config?: HeaderConfig) => ({
|
|
8
|
+
renderHead: () => renderHeadCell(config?.headerIcon ?? 'fa:a', config?.headerLabel),
|
|
9
|
+
renderBody: (link: { label: string } & VtsDoubleLinkCellProps) => {
|
|
10
|
+
const { label, ...doubleLinkCellProps } = link
|
|
11
|
+
|
|
12
|
+
return h(VtsDoubleLinkCell, doubleLinkCellProps, () => label)
|
|
13
|
+
},
|
|
14
|
+
}))
|
|
@@ -12,7 +12,7 @@ export const useHostColumns = defineColumns(() => {
|
|
|
12
12
|
return {
|
|
13
13
|
host: useLinkColumn({ headerLabel: () => t('host') }),
|
|
14
14
|
description: useTruncatedTextColumn({ headerLabel: () => t('description') }),
|
|
15
|
-
ipAddresses: useAddressColumn({ headerLabel: () => t('ip
|
|
15
|
+
ipAddresses: useAddressColumn({ headerLabel: () => t('management-ip') }),
|
|
16
16
|
tags: useTagColumn({ headerLabel: () => t('tags') }),
|
|
17
17
|
selectItem: useSelectItemColumn(),
|
|
18
18
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineColumns } from '@core/packages/table/define-columns.ts'
|
|
2
|
+
import { useActionColumn } from '@core/tables/column-definitions/action-column.ts'
|
|
2
3
|
import { useLinkColumn } from '@core/tables/column-definitions/link-column'
|
|
3
4
|
import { useNumberColumn } from '@core/tables/column-definitions/number-column.ts'
|
|
4
|
-
import { useSelectItemColumn } from '@core/tables/column-definitions/select-item-column'
|
|
5
|
+
import { useSelectItemColumn } from '@core/tables/column-definitions/select-item-column.ts'
|
|
5
6
|
import { useStatusColumn } from '@core/tables/column-definitions/status-column.ts'
|
|
6
7
|
import { useTextColumn } from '@core/tables/column-definitions/text-column.ts'
|
|
7
8
|
import { useTruncatedTextColumn } from '@core/tables/column-definitions/truncated-text-column'
|
|
@@ -17,6 +18,7 @@ export const useNetworkColumns = defineColumns(() => {
|
|
|
17
18
|
vlan: useNumberColumn({ headerLabel: () => t('vlan') }),
|
|
18
19
|
mtu: useNumberColumn({ headerLabel: () => t('mtu') }),
|
|
19
20
|
defaultLockingMode: useTextColumn({ headerLabel: () => t('default-locking-mode') }),
|
|
21
|
+
actions: useActionColumn({}),
|
|
20
22
|
selectItem: useSelectItemColumn(),
|
|
21
23
|
}
|
|
22
24
|
})
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineColumns } from '@core/packages/table'
|
|
2
|
+
import { useActionColumn } from '@core/tables/column-definitions/action-column.ts'
|
|
2
3
|
import { useDateColumn } from '@core/tables/column-definitions/date-column.ts'
|
|
3
4
|
import { useLinkColumn } from '@core/tables/column-definitions/link-column.ts'
|
|
4
5
|
import { useLinkOrTextColumn } from '@core/tables/column-definitions/link-or-text-column.ts'
|
|
5
|
-
import { useSelectItemColumn } from '@core/tables/column-definitions/select-item-column.ts'
|
|
6
6
|
import { useTruncatedTextColumn } from '@core/tables/column-definitions/truncated-text-column.ts'
|
|
7
7
|
import { useI18n } from 'vue-i18n'
|
|
8
8
|
|
|
@@ -14,6 +14,6 @@ export const useSnapshotColumns = defineColumns(() => {
|
|
|
14
14
|
description: useTruncatedTextColumn({ headerLabel: () => t('description') }),
|
|
15
15
|
creationDate: useDateColumn({ headerLabel: () => t('creation-date'), dateStyle: 'short', timeStyle: 'medium' }),
|
|
16
16
|
trigger: useLinkOrTextColumn({ headerLabel: () => t('trigger'), headerIcon: 'fa:square-caret-down' }),
|
|
17
|
-
|
|
17
|
+
actions: useActionColumn({}),
|
|
18
18
|
}
|
|
19
19
|
})
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineColumns } from '@core/packages/table/define-columns.ts'
|
|
2
|
+
import { useDoubleLinkColumn } from '@core/tables/column-definitions/double-link-column.ts'
|
|
3
|
+
import { useNumberColumn } from '@core/tables/column-definitions/number-column.ts'
|
|
4
|
+
import { useSelectItemColumn } from '@core/tables/column-definitions/select-item-column.ts'
|
|
5
|
+
import { useTagColumn } from '@core/tables/column-definitions/tag-column.ts'
|
|
6
|
+
import { useTextColumn } from '@core/tables/column-definitions/text-column.ts'
|
|
7
|
+
import { useTruncatedTextColumn } from '@core/tables/column-definitions/truncated-text-column.ts'
|
|
8
|
+
import { useI18n } from 'vue-i18n'
|
|
9
|
+
|
|
10
|
+
export const useTrafficRulesColumns = defineColumns(() => {
|
|
11
|
+
const { t } = useI18n()
|
|
12
|
+
|
|
13
|
+
return {
|
|
14
|
+
order: useNumberColumn({ headerIcon: 'fa:hashtag' }),
|
|
15
|
+
policy: useTagColumn({ headerLabel: () => t('policy') }),
|
|
16
|
+
protocol: useTextColumn({
|
|
17
|
+
headerLabel: () => t('protocol:port'),
|
|
18
|
+
headerIcon: 'fa:square-caret-down',
|
|
19
|
+
}),
|
|
20
|
+
directionA: useTextColumn({ headerLabel: () => t('direction'), headerIcon: 'fa:square-caret-down' }),
|
|
21
|
+
target: useTruncatedTextColumn({ headerLabel: () => t('target'), headerIcon: 'fa:at' }),
|
|
22
|
+
directionB: useTextColumn({
|
|
23
|
+
headerLabel: () => t('direction'),
|
|
24
|
+
headerIcon: 'fa:square-caret-down',
|
|
25
|
+
}),
|
|
26
|
+
object: useDoubleLinkColumn({ headerLabel: () => t('object') }),
|
|
27
|
+
selectItem: useSelectItemColumn(),
|
|
28
|
+
}
|
|
29
|
+
})
|