mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-24 23:41:52 +08:00
Merge pull request #8892 from yousong/bugfix/yousong-i18n
Bugfix/yousong i18n
This commit is contained in:
+2831
-2435
File diff suppressed because it is too large
Load Diff
@@ -658,13 +658,13 @@
|
||||
{
|
||||
"id": "Model not found error: cannot find %q with id/name %q",
|
||||
"message": "Model not found error: cannot find %q with id/name %q",
|
||||
"translation": "无法通过名称或Id找到%q所指定的资源",
|
||||
"translation": "无法通过名称或ID找到%q(%q)",
|
||||
"position": "pkg/cloudcommon/validators/errors.go:157:17"
|
||||
},
|
||||
{
|
||||
"id": "Model not found error: cannot find %q with id/name %q: %s",
|
||||
"message": "Model not found error: cannot find %q with id/name %q: %s",
|
||||
"translation": "无法通过名称或Id找到%q所指定的资源:%s",
|
||||
"translation": "无法通过名称或ID找到%q(%q):%s",
|
||||
"position": "pkg/cloudcommon/validators/errors.go:157:17"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1344,7 +1344,7 @@ func (self *SElasticcache) GetAdminAccount() (*SElasticcacheAccount, error) {
|
||||
}
|
||||
}
|
||||
|
||||
return nil, httperrors.NewNotFoundError(fmt.Sprintf("no admin account found for elastic cache %s", self.Id))
|
||||
return nil, httperrors.NewNotFoundError("no admin account found for elastic cache %s", self.Id)
|
||||
}
|
||||
|
||||
func (self *SElasticcache) StartResetPasswordTask(ctx context.Context, userCred mcclient.TokenCredential, params *jsonutils.JSONDict, parentTaskId string) error {
|
||||
|
||||
Reference in New Issue
Block a user