Skip to content

Commit 8557822

Browse files
author
gitlab
committed
Merge branch 'ZSV-5838@@2' into 'zsv_5.0.0'
<fix>[conf]: add i18n "volume[uuid:%s] has been deleted" See merge request zstackio/zstack!9237
2 parents 65cdaac + 98e2c1c commit 8557822

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

conf/i18n/messages_en_US.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3967,6 +3967,7 @@ new\ volume(s)\ %s\ attached\ after\ snapshot\ point,\ can\ only\ revert\ one\ b
39673967
\ volume[uuid\:\ %s]\ has\ been\ referenced\ by\ other\ volumes\ [%s],\ can\ not\ change\ install\ path\ before\ flatten\ them\ and\ their\ descendants\ = volume[uuid: {0}] has been referenced by other volumes [{1}], can not change install path before flatten them and their descendants
39683968
current\ volume\ state[%s]\ doesn't\ allow\ to\ proceed\ message[%s] = current volume state[{0}] doesn''t allow to proceed message[{1}]
39693969
failed\ to\ select\ backup\ storage\ to\ download\ iso[uuid\=%s] = failed to select backup storage to download iso[uuid={0}]
3970+
volume[uuid\:%s]\ has\ been\ deleted = volume[uuid:{0}] has been deleted
39703971
unable\ to\ download\ iso\ to\ primary\ storage = unable to download iso to primary storage
39713972
volume[uuid\:%s,\ type\:%s],\ can't\ create\ snapshot = volume[uuid:{0}, type:{1}], can''t create snapshot
39723973
volume[uuid\:%s]\ is\ not\ in\ state\ Enabled,\ current\ is\ %s,\ can't\ create\ snapshot = volume[uuid:{0}] is not in state Enabled, current is {1}, can''t create snapshot

conf/i18n/messages_zh_CN.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ unable\ to\ connect\ to\ kvm\ host[uuid\:%s,\ ip\:%s,\ url\:%s],\ because\ %s =
19141914
host\ can\ not\ access\ any\ primary\ storage = 主机无法访问任何数据存储
19151915
connection\ error\ for\ KVM\ host[uuid\:%s,\ ip\:%s] = 连接主机 {0} [ip:{1}] 失败
19161916
the\ host[%s]\ ssh\ port[%s]\ not\ open\ after\ %s\ seconds,\ connect\ timeout = 主机[{0}]SSH端口[{1}]在{2}秒后未打开,连接超时
1917-
host\ password\ has\ been\ changed.\ Please\ update\ host\ password\ in\ management\ node\ by\ UpdateKVMHostAction\ with\ host\ UUID[%s] = 主机[UUID:{0}]的密码已被修改,请通过 UpdateKVMHostAction 在管理节点更新主机密码
1917+
host\ password\ has\ been\ changed.\ Please\ update\ host\ password\ in\ management\ node\ by\ UpdateKVMHostAction\ with\ host\ UUID[%s] =
19181918
failed\ to\ connect\ host[UUID\=%s]\ with\ SSH\ password =
19191919
failed\ to\ connect\ host[UUID\=%s]\ with\ private\ key =
19201920
unable\ to\ connect\ to\ KVM[ip\:%s,\ username\:%s,\ sshPort\:\ %d,\ ]\ to\ do\ DNS\ check,\ please\ check\ if\ username/password\ is\ wrong;\ %s = 无法连接主机[ip:{0}, 用户名:{1}, ssh端口:{2} ]做DNS检查,请检查用户名密码是否正确;{3}
@@ -3966,7 +3966,8 @@ volume(s)\ %s\ is\ no\ longer\ attached,\ can\ only\ revert\ one\ by\ one.\ If\
39663966
new\ volume(s)\ %s\ attached\ after\ snapshot\ point,\ can\ only\ revert\ one\ by\ one.\ If\ you\ need\ to\ group\ revert,\ please\ detach\ it. =
39673967
\ volume[uuid\:\ %s]\ has\ been\ referenced\ by\ other\ volumes\ [%s],\ can\ not\ change\ install\ path\ before\ flatten\ them\ and\ their\ descendants\ =
39683968
current\ volume\ state[%s]\ doesn't\ allow\ to\ proceed\ message[%s] =
3969-
failed\ to\ select\ backup\ storage\ to\ download\ iso[uuid\=%s] =
3969+
failed\ to\ select\ backup\ storage\ to\ download\ iso[uuid\=%s] =
3970+
volume[uuid\:%s]\ has\ been\ deleted = 硬盘[uuid:{0}]已经被删除了
39703971
unable\ to\ download\ iso\ to\ primary\ storage =
39713972
volume[uuid\:%s,\ type\:%s],\ can't\ create\ snapshot = 卷[uuid:{0},类型:{1}],无法创建快照
39723973
volume[uuid\:%s]\ is\ not\ in\ state\ Enabled,\ current\ is\ %s,\ can't\ create\ snapshot =

conf/i18n_json/i18n_zsv.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,14 @@
113113
"zh_CN": "",
114114
"arguments": [],
115115
"fileName": "src/main/java/org/zstack/zsv/storage/ZsvStorageManager.java"
116+
},
117+
{
118+
"raw": "volume[uuid:%s] has been deleted",
119+
"en_US": "volume[uuid:{0}] has been deleted",
120+
"zh_CN": "硬盘[uuid:{0}]已经被删除了",
121+
"arguments": [
122+
"volId"
123+
],
124+
"fileName": "src/main/java/org/zstack/zsv/snapshotgroup/ZsvBeforeRevertSnapshotGroupFlow.java"
116125
}
117126
]

0 commit comments

Comments
 (0)