Skip to content

Commit 426f554

Browse files
author
gitlab
committed
Merge branch 'zsv-6@@2' into 'zsv_4.10.28'
<chore>[conf]: update i18n json for mevoco module See merge request zstackio/zstack!9056
2 parents d740ed6 + 1d840fd commit 426f554

8 files changed

Lines changed: 343 additions & 276 deletions

File tree

conf/i18n/messages_en_US.properties

Lines changed: 91 additions & 85 deletions
Large diffs are not rendered by default.

conf/i18n/messages_zh_CN.properties

Lines changed: 91 additions & 85 deletions
Large diffs are not rendered by default.

conf/i18n_json/i18n_cdp.json

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,6 @@
157157
],
158158
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageApiInterceptor.java"
159159
},
160-
{
161-
"raw": "Unexpected VM state: %s",
162-
"en_US": "Unexpected VM state: {0}",
163-
"zh_CN": "意外的VM状态:{0}",
164-
"arguments": [
165-
"state"
166-
],
167-
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageApiInterceptor.java"
168-
},
169160
{
170161
"raw": "Backup storage not found[uuid: %s]",
171162
"en_US": "Backup storage not found[uuid: {0}]",
@@ -202,15 +193,6 @@
202193
],
203194
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageApiInterceptor.java"
204195
},
205-
{
206-
"raw": "unexpected task type: %s",
207-
"en_US": "unexpected task type: {0}",
208-
"zh_CN": "意外的任务类型:{0}",
209-
"arguments": [
210-
"msg.getTaskType()"
211-
],
212-
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageApiInterceptor.java"
213-
},
214196
{
215197
"raw": "\u0027%s\u0027(%d) should be larger than \u0027%s\u0027(%d)",
216198
"en_US": "\u0027{0}\u0027({1}) should be larger than \u0027{2}\u0027({3})",
@@ -294,15 +276,6 @@
294276
],
295277
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageImpl.java"
296278
},
297-
{
298-
"raw": "%s",
299-
"en_US": "{0}",
300-
"zh_CN": "{0}",
301-
"arguments": [
302-
"ret.getError()"
303-
],
304-
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageImpl.java"
305-
},
306279
{
307280
"raw": "hostname not found for backup storage[uuid: %s]",
308281
"en_US": "hostname not found for backup storage[uuid: {0}]",
@@ -339,6 +312,15 @@
339312
"arguments": [],
340313
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageManagerImpl.java"
341314
},
315+
{
316+
"raw": "%s",
317+
"en_US": "{0}",
318+
"zh_CN": "{0}",
319+
"arguments": [
320+
"vo.getJobResult()"
321+
],
322+
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageManagerImpl.java"
323+
},
342324
{
343325
"raw": "create-vm job cancelled",
344326
"en_US": "create-vm job cancelled",
@@ -391,6 +373,15 @@
391373
],
392374
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageManagerImpl.java"
393375
},
376+
{
377+
"raw": "Unexpected VM state: %s",
378+
"en_US": "Unexpected VM state: {0}",
379+
"zh_CN": "意外的VM状态:{0}",
380+
"arguments": [
381+
"state"
382+
],
383+
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageManagerImpl.java"
384+
},
394385
{
395386
"raw": "No CDP task found for VM: %s",
396387
"en_US": "No CDP task found for VM: {0}",
@@ -436,6 +427,15 @@
436427
],
437428
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageManagerImpl.java"
438429
},
430+
{
431+
"raw": "unexpected task type: %s",
432+
"en_US": "unexpected task type: {0}",
433+
"zh_CN": "意外的任务类型:{0}",
434+
"arguments": [
435+
"taskVO.getTaskType()"
436+
],
437+
"fileName": "src/main/java/org/zstack/storage/cdp/CdpBackupStorageManagerImpl.java"
438+
},
439439
{
440440
"raw": "The VM[%s] for volume[%s] is running CDP, cannot resize now.",
441441
"en_US": "The VM[{0}] for volume[{1}] is running CDP, cannot resize now.",
@@ -464,16 +464,6 @@
464464
],
465465
"fileName": "src/main/java/org/zstack/storage/cdp/CreateVmFromCdpBackupLongJob.java"
466466
},
467-
{
468-
"raw": "waiting host[uuid:%s] and backupStorage[uuid:%s] to be Connected...",
469-
"en_US": "waiting host[uuid:{0}] and backupStorage[uuid:{1}] to be Connected...",
470-
"zh_CN": "正在等待要连接的主机[uuid:{0}]和备份存储[uuid:{1}]..",
471-
"arguments": [
472-
"hostUuid",
473-
"bsUuid"
474-
],
475-
"fileName": "src/main/java/org/zstack/storage/cdp/CreateVmFromCdpBackupLongJob.java"
476-
},
477467
{
478468
"raw": "failed to find cdp task[uuid:%s] ",
479469
"en_US": "failed to find cdp task[uuid:{0}] ",
@@ -501,6 +491,13 @@
501491
],
502492
"fileName": "src/main/java/org/zstack/storage/cdp/KvmCdpVmLiveCreateFlowChain.java"
503493
},
494+
{
495+
"raw": "no volume records found from VM backup",
496+
"en_US": "no volume records found from VM backup",
497+
"zh_CN": "未从虚拟机备份中找到卷记录",
498+
"arguments": [],
499+
"fileName": "src/main/java/org/zstack/storage/cdp/KvmCdpVmLiveCreateFlowChain.java"
500+
},
504501
{
505502
"raw": "multiple root volumes found from CDP backup %s:%d",
506503
"en_US": "multiple root volumes found from CDP backup {0}:{1}",
@@ -550,13 +547,6 @@
550547
],
551548
"fileName": "src/main/java/org/zstack/storage/cdp/KvmCdpVmLiveRestoreFlowChain.java"
552549
},
553-
{
554-
"raw": "no volume records found from VM backup",
555-
"en_US": "no volume records found from VM backup",
556-
"zh_CN": "未从虚拟机备份中找到卷记录",
557-
"arguments": [],
558-
"fileName": "src/main/java/org/zstack/storage/cdp/KvmCdpVmLiveRestoreFlowChain.java"
559-
},
560550
{
561551
"raw": "no root volume found from VM backup",
562552
"en_US": "no root volume found from VM backup",
@@ -636,6 +626,16 @@
636626
],
637627
"fileName": "src/main/java/org/zstack/storage/cdp/RevertVmFromCdpBackupMsgLongJob.java"
638628
},
629+
{
630+
"raw": "waiting host[uuid:%s] and backupStorage[uuid:%s] to be Connected...",
631+
"en_US": "waiting host[uuid:{0}] and backupStorage[uuid:{1}] to be Connected...",
632+
"zh_CN": "正在等待要连接的主机[uuid:{0}]和备份存储[uuid:{1}]..",
633+
"arguments": [
634+
"apiMessage.getHostUuid()",
635+
"apiMessage.getBackupStorageUuid()"
636+
],
637+
"fileName": "src/main/java/org/zstack/storage/cdp/RevertVmFromCdpBackupMsgLongJob.java"
638+
},
639639
{
640640
"raw": "No CDP task found for VM[uuid: %s]",
641641
"en_US": "No CDP task found for VM[uuid: {0}]",

conf/i18n_json/i18n_compute.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,6 +1840,16 @@
18401840
],
18411841
"fileName": "src/main/java/org/zstack/compute/vm/VmInstanceHelper.java"
18421842
},
1843+
{
1844+
"raw": "host[uuid:%s] is specified but it is not in zone[uuid:%s], can not create vm from it",
1845+
"en_US": "host[uuid:{0}] is specified but it is not in zone[uuid:{1}], can not create vm from it",
1846+
"zh_CN": "",
1847+
"arguments": [
1848+
"msg.getHostUuid()",
1849+
"expectZoneUuid"
1850+
],
1851+
"fileName": "src/main/java/org/zstack/compute/vm/VmInstanceHelper.java"
1852+
},
18431853
{
18441854
"raw": "host[uuid:%s] is specified but it\u0027s Disabled, can not create vm from it",
18451855
"en_US": "host[uuid:{0}] is specified but it\u0027s Disabled, can not create vm from it",

conf/i18n_json/i18n_core.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@
1515
"arguments": [],
1616
"fileName": "src/main/java/org/zstack/core/Platform.java"
1717
},
18-
{
19-
"raw": "fail to create new File[%s]",
20-
"en_US": "fail to create new File[{0}]",
21-
"zh_CN": "无法创建新文件[{0}]",
22-
"arguments": [
23-
"invFile"
24-
],
25-
"fileName": "src/main/java/org/zstack/core/ansible/AnsibleFacadeImpl.java"
26-
},
2718
{
2819
"raw": "failed to run ansible: failed to find target host",
2920
"en_US": "failed to run ansible: failed to find target host",
@@ -45,6 +36,15 @@
4536
"arguments": [],
4637
"fileName": "src/main/java/org/zstack/core/ansible/AnsibleRunner.java"
4738
},
39+
{
40+
"raw": "fail to create new File[%s]",
41+
"en_US": "fail to create new File[{0}]",
42+
"zh_CN": "无法创建新文件[{0}]",
43+
"arguments": [
44+
"hostsFile"
45+
],
46+
"fileName": "src/main/java/org/zstack/core/ansible/PrepareAnsible.java"
47+
},
4848
{
4949
"raw": "cannot check md5sum of files in the folder[%s]",
5050
"en_US": "cannot check md5sum of files in the folder[{0}]",

conf/i18n_json/i18n_crypto.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
[
2-
{
3-
"raw": "the identity authentication does not specify the resource pool to provide the service",
4-
"en_US": "the identity authentication does not specify the resource pool to provide the service",
5-
"zh_CN": "身份认证未指定提供服务的资源池",
6-
"arguments": [],
7-
"fileName": "src/main/java/org/zstack/crypto/auth/AbstractCryptoAuthenticationFacade.java"
8-
},
92
{
103
"raw": "failed to find model for secretResourcePool [%s]",
114
"en_US": "failed to find model for secretResourcePool [{0}]",
@@ -25,13 +18,6 @@
2518
],
2619
"fileName": "src/main/java/org/zstack/crypto/auth/AbstractCryptoAuthenticationFacade.java"
2720
},
28-
{
29-
"raw": "failed to connect remote crypto server",
30-
"en_US": "failed to connect remote crypto server",
31-
"zh_CN": "连接到远程密钥(密评)服务器失败",
32-
"arguments": [],
33-
"fileName": "src/main/java/org/zstack/crypto/auth/AbstractCryptoAuthenticationFacade.java"
34-
},
3521
{
3622
"raw": "parseCertificate failed: %s",
3723
"en_US": "parseCertificate failed: {0}",
@@ -41,20 +27,6 @@
4127
],
4228
"fileName": "src/main/java/org/zstack/crypto/auth/AbstractCryptoAuthenticationFacade.java"
4329
},
44-
{
45-
"raw": "additional authentication server raise an error",
46-
"en_US": "additional authentication server raise an error",
47-
"zh_CN": "",
48-
"arguments": [],
49-
"fileName": "src/main/java/org/zstack/crypto/auth/AbstractCryptoAuthenticationFacade.java"
50-
},
51-
{
52-
"raw": "additional authentication failed",
53-
"en_US": "additional authentication failed",
54-
"zh_CN": "",
55-
"arguments": [],
56-
"fileName": "src/main/java/org/zstack/crypto/auth/AbstractCryptoAuthenticationFacade.java"
57-
},
5830
{
5931
"raw": "failed to parse certificate",
6032
"en_US": "failed to parse certificate",
@@ -89,6 +61,34 @@
8961
],
9062
"fileName": "src/main/java/org/zstack/crypto/auth/CryptoAuthenticationHelper.java"
9163
},
64+
{
65+
"raw": "the identity authentication does not specify the resource pool to provide the service",
66+
"en_US": "the identity authentication does not specify the resource pool to provide the service",
67+
"zh_CN": "身份认证未指定提供服务的资源池",
68+
"arguments": [],
69+
"fileName": "src/main/java/org/zstack/crypto/auth/CryptoAuthenticationManagerImpl.java"
70+
},
71+
{
72+
"raw": "failed to connect remote crypto server",
73+
"en_US": "failed to connect remote crypto server",
74+
"zh_CN": "连接到远程密钥(密评)服务器失败",
75+
"arguments": [],
76+
"fileName": "src/main/java/org/zstack/crypto/auth/CryptoAuthenticationManagerImpl.java"
77+
},
78+
{
79+
"raw": "additional authentication server raise an error",
80+
"en_US": "additional authentication server raise an error",
81+
"zh_CN": "",
82+
"arguments": [],
83+
"fileName": "src/main/java/org/zstack/crypto/auth/CryptoAuthenticationManagerImpl.java"
84+
},
85+
{
86+
"raw": "additional authentication failed",
87+
"en_US": "additional authentication failed",
88+
"zh_CN": "",
89+
"arguments": [],
90+
"fileName": "src/main/java/org/zstack/crypto/auth/CryptoAuthenticationManagerImpl.java"
91+
},
9292
{
9393
"raw": "failed to generate credential",
9494
"en_US": "failed to generate credential",

conf/i18n_json/i18n_mevoco.json

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -550,15 +550,6 @@
550550
],
551551
"fileName": "src/main/java/org/zstack/compute/host/MevocoHostBase.java"
552552
},
553-
{
554-
"raw": "host[uuid:%s] can not find",
555-
"en_US": "host[uuid:{0}] can not find",
556-
"zh_CN": "找不到主机[uuid:{0}]",
557-
"arguments": [
558-
"msg.getHostUuid()"
559-
],
560-
"fileName": "src/main/java/org/zstack/compute/host/MevocoHostBase.java"
561-
},
562553
{
563554
"raw": "kvm host[uuid:%s, name:%s, ip:%s] doesn\u0027t not support live snapshot. please stop vm[uuid:%s] and try again",
564555
"en_US": "kvm host[uuid:{0}, name:{1}, ip:{2}] doesn\u0027t not support live snapshot. please stop vm[uuid:{3}] and try again",
@@ -761,6 +752,15 @@
761752
],
762753
"fileName": "src/main/java/org/zstack/compute/host/MevocoHostManagerImpl.java"
763754
},
755+
{
756+
"raw": "host[uuid:%s] can not find",
757+
"en_US": "host[uuid:{0}] can not find",
758+
"zh_CN": "找不到主机[uuid:{0}]",
759+
"arguments": [
760+
"msg.getHostUuid()"
761+
],
762+
"fileName": "src/main/java/org/zstack/compute/host/MevocoHostManagerImpl.java"
763+
},
764764
{
765765
"raw": "ovs cpu pinning resource config:[%s] format error.",
766766
"en_US": "ovs cpu pinning resource config:[{0}] format error.",
@@ -1622,6 +1622,13 @@
16221622
"arguments": [],
16231623
"fileName": "src/main/java/org/zstack/compute/vmscheduling/VmSchedulingRuleApiInterceptor.java"
16241624
},
1625+
{
1626+
"raw": "the vm scheduling group has already had a vms Affinitive to Hosts scheduling policy attached",
1627+
"en_US": "the vm scheduling group has already had a vms Affinitive to Hosts scheduling policy attached, you cannot attach a vm antiaffinity from each other scheduling rule to the group again.",
1628+
"zh_CN": "该虚拟机调度组已绑定聚集虚拟机调度策略,不可绑定其它虚拟机调度策略",
1629+
"arguments": [],
1630+
"fileName": "src/main/java/org/zstack/compute/vmscheduling/VmSchedulingRuleApiInterceptor.java"
1631+
},
16251632
{
16261633
"raw": "can not satisfied vm scheduling rule group conditions",
16271634
"en_US": "can not satisfied vm scheduling rule group conditions",
@@ -2065,12 +2072,22 @@
20652072
"fileName": "src/main/java/org/zstack/license/LicenseManagerImpl.java"
20662073
},
20672074
{
2068-
"raw": "Insufficient CPU number licensed. Your %s license permits the number of CPUs: %d.",
2069-
"en_US": "Insufficient CPU number licensed. Your {0} license permits the number of CPUs: {1}.",
2070-
"zh_CN": "许可证的 CPU 配额数量不足。您的 {0} 许可证允许的 CPU 数量为 {1}",
2075+
"raw": "Insufficient CPU Socket number licensed. Your %s license permits the number of CPU Sockets: %d.",
2076+
"en_US": "Insufficient CPU Socket number licensed. Your {0} license permits the number of CPU Sockets: {1}.",
2077+
"zh_CN": "许可证的 CPU Socket 数配额数量不足。您的 {0} 许可证允许的 CPU Socket 数量为 {1}",
20712078
"arguments": [
20722079
"addon.getModules()",
2073-
"addon.getCpuNum()"
2080+
"addon.getCpuSocketsNum()"
2081+
],
2082+
"fileName": "src/main/java/org/zstack/license/LicenseManagerImpl.java"
2083+
},
2084+
{
2085+
"raw": "Insufficient CPU Core number licensed. Your %s license permits the number of CPU Cores: %d.",
2086+
"en_US": "Insufficient CPU Core number licensed. Your {0} license permits the number of CPU Cores: {1}.",
2087+
"zh_CN": "许可证的 CPU 核心数配额数量不足。您的 {0} 许可证允许的 CPU 核心数量为 {1}",
2088+
"arguments": [
2089+
"addon.getModules()",
2090+
"addon.getCpuCoresNum()"
20742091
],
20752092
"fileName": "src/main/java/org/zstack/license/LicenseManagerImpl.java"
20762093
},
@@ -2215,8 +2232,19 @@
22152232
"zh_CN": "{0} 许可证配额为 {1},已使用 {2} 个 CPU 核数。请上传新的许可证或删除多余的主机",
22162233
"arguments": [
22172234
"licenseType",
2218-
"platformLicenseCpu",
2219-
"x86HostCpu + otherHostCpu"
2235+
"platformLicenseCpuSockets",
2236+
"x86HostCpuSockets + otherHostCpuSockets"
2237+
],
2238+
"fileName": "src/main/java/org/zstack/license/compute/LicenseCapacity.java"
2239+
},
2240+
{
2241+
"raw": "hijacked detected. Your license[%s] permits %d CPU cores, but consumed %d. You can either apply a new license or delete additional hosts",
2242+
"en_US": "hijacked detected. Your license[{0}] permits {1} CPU cores, but consumed {2}. You can either apply a new license or delete additional hosts",
2243+
"zh_CN": "",
2244+
"arguments": [
2245+
"licenseType",
2246+
"platformLicenseCpuCores",
2247+
"x86HostCpuCores + otherHostCpuCores"
22202248
],
22212249
"fileName": "src/main/java/org/zstack/license/compute/LicenseCapacity.java"
22222250
},

0 commit comments

Comments
 (0)