{
- this.state.user !== null ? this.renderUser() : null
+ this.state.loading ?
: (
+ this.state.user !== null ? this.renderUser() :
+
}
+ />
+ )
+ }
+ {
+ this.state.user === null ? null :
+
+
+
+ {this.state.mode === "add" ? : null}
+
}
-
-
-
- {this.state.mode === "add" ? : null}
-
);
}
diff --git a/web/src/locales/zh/data.json b/web/src/locales/zh/data.json
index d771a30d..1bdd7b74 100644
--- a/web/src/locales/zh/data.json
+++ b/web/src/locales/zh/data.json
@@ -171,6 +171,7 @@
"Signup application": "注册应用",
"Signup application - Tooltip": "表示用户注册时通过哪个应用注册的",
"Sorry, the page you visited does not exist.": "抱歉,您访问的页面不存在",
+ "Sorry, the user you visited does not exist or you are not authorized to access this user.": "抱歉,您访问的用户不存在或您无权访问该用户",
"State": "状态",
"State - Tooltip": "状态",
"Swagger": "API文档",
@@ -252,7 +253,9 @@
"Tags": "标签集合",
"Tags - Tooltip": "可供用户选择的标签的集合",
"Website URL": "网页地址",
- "Website URL - Tooltip": "网页地址"
+ "Website URL - Tooltip": "网页地址",
+ "Is profile public": "公开用户信息",
+ "Is profile public - Tooltip": "关闭后,只有全局管理员或同组织才能访问用户信息"
},
"payment": {
"Currency": "币种",