fix: user settings locales

This commit is contained in:
jialin
2025-06-09 18:45:47 +08:00
parent 1771ca363a
commit 6880fd3f5f
5 changed files with 17 additions and 5 deletions
+2 -1
View File
@@ -27,5 +27,6 @@ export default {
'users.password.confirm.error': 'The two passwords entered do not match.',
'users.login.title': 'Log in to',
'users.version.islatest': 'GPUStack {version} is the latest version',
'users.version.update': 'GPUStack {version} is available'
'users.version.update': 'GPUStack {version} is available',
'users.settings.title': 'User Settings'
};
+6 -1
View File
@@ -27,5 +27,10 @@ export default {
'users.password.confirm.error': '入力された2つのパスワードが一致しません。',
'users.login.title': 'ログイン',
'users.version.islatest': 'GPUStack {version} は最新バージョンです',
'users.version.update': 'GPUStack {version} が利用可能です'
'users.version.update': 'GPUStack {version} が利用可能です',
'users.settings.title': 'User Settings'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'users.settings.title': 'User Settings'
// ========== End of To-Do List ==========
+6 -1
View File
@@ -27,5 +27,10 @@ export default {
'users.password.confirm.error': 'Пароли не совпадают',
'users.login.title': 'Вход в',
'users.version.islatest': 'GPUStack {version} — последняя версия',
'users.version.update': 'Доступно обновление GPUStack {version}'
'users.version.update': 'Доступно обновление GPUStack {version}',
'users.settings.title': 'User Settings'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'users.settings.title': 'User Settings'
// ========== End of To-Do List ==========
+2 -1
View File
@@ -26,5 +26,6 @@ export default {
'users.password.confirm.error': '两次输入的密码不一致',
'users.login.title': '登录',
'users.version.islatest': 'GPUStack {version} 已是最新版本',
'users.version.update': 'GPUStack {version} 版本可供更新'
'users.version.update': 'GPUStack {version} 版本可供更新',
'users.settings.title': '用户设置'
};
+1 -1
View File
@@ -43,7 +43,7 @@ const Profile: React.FC = () => {
<PageContainer
ghost
header={{
title: 'User Settings',
title: intl.formatMessage({ id: 'users.settings.title' }),
style: {
paddingInline: 'var(--layout-content-inlinepadding)'
}