chore: add locales

This commit is contained in:
jialin
2026-06-01 13:36:14 +08:00
committed by jialin
parent d95fd8dc90
commit 07e625f2bc
6 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ export const ExtraContent = (props: { isDarkTheme?: boolean }) => {
<span className="flex flex-center">
<IconFont type="icon-settings-02" />
<span className="m-l-8" style={{ marginLeft: 8 }}>
{intl?.formatMessage?.({ id: 'common.button.settings' })}
{intl?.formatMessage?.({ id: 'common.preferences' })}
</span>
</span>
),
+2 -1
View File
@@ -285,5 +285,6 @@ export default {
'common.image.limit.height': 'Image height must be {height}.',
'common.remaining': 'Remaining {count}',
'common.max': 'Max {count}',
'common.validate.group': 'Please complete the {group} configuration'
'common.validate.group': 'Please complete the {group} configuration',
'common.preferences': 'Preferences'
};
+2 -1
View File
@@ -285,7 +285,8 @@ export default {
'common.image.limit.height': 'Image height must be {height}.',
'common.remaining': '残り {count}',
'common.max': '最大 {count}',
'common.validate.group': 'Please complete the {group} configuration'
'common.validate.group': 'Please complete the {group} configuration',
'common.preferences': 'Preferences'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
+3 -2
View File
@@ -260,7 +260,7 @@ export default {
'common.sso.noConfig':
'Единый вход не настроен в этой системе. Пожалуйста, обратитесь к администратору.',
'common.button.edit.item': 'Редактировать {name}',
'common.button.copy.item': 'Duplicate {name}',
'common.button.copy.item': 'Дублировать {name}',
'common.button.terminal': 'Терминал',
'common.button.addItem': 'Добавить элемент',
'common.help.default': 'По умолчанию: {content}',
@@ -284,7 +284,8 @@ export default {
'common.image.limit.height': 'Image height must be {height}.',
'common.remaining': 'Остаток {count}',
'common.max': 'Макс. {count}',
'common.validate.group': 'Please complete the {group} configuration'
'common.validate.group': 'Please complete the {group} configuration',
'common.preferences': 'Preferences'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
+2 -1
View File
@@ -288,5 +288,6 @@ export default {
'common.image.limit.height': 'Image height must be {height}.',
'common.remaining': 'Kalan {count}',
'common.max': 'Maks. {count}',
'common.validate.group': 'Please complete the {group} configuration'
'common.validate.group': 'Please complete the {group} configuration',
'common.preferences': 'Tercihler'
};
+2 -2
View File
@@ -51,7 +51,6 @@ export default {
'common.button.confirm': '确定',
'common.button.viewlog': '查看日志',
'common.button.viewevent': '查看事件',
'common.button.recreate': '重新创建',
'common.table.operation': '操作',
'common.table.createTime': '创建时间',
'common.table.updateTime': '更新时间',
@@ -278,5 +277,6 @@ export default {
'common.image.limit.height': '图片高度须为{height}。',
'common.remaining': '剩余 {count}',
'common.max': '最大 {count}',
'common.validate.group': '请填写完整的{group}配置'
'common.validate.group': '请填写完整的{group}配置',
'common.preferences': '偏好设置'
};