Skip to content

Commit c82be83

Browse files
author
Chen, Taiyue
committed
<fix>[conf]: translate the error message when reconnecting hosts after modifying host password
Problem: when the locale is set as zh_CN, if the password of the host has been changed, the zsv reconnects the host and complain the error in English. Actually, it should report the error using chinese. Solution: Add the chinese version of the error to the messages_zh_CN.properties file. Resolves: ZSV-8182 Change-Id: I756965616171666272646d6465666e6e71706467
1 parent 8557822 commit c82be83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

conf/i18n/messages_zh_CN.properties

Lines changed: 1 addition & 1 deletion
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] =
1917+
host\ password\ has\ been\ changed.\ Please\ update\ host\ password\ in\ management\ node\ by\ UpdateKVMHostAction\ with\ host\ UUID[%s] = 主机[UUID:{0}]的密码已被修改,请通过 UpdateKVMHostAction 在管理节点更新主机密码
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}

0 commit comments

Comments
 (0)