Skip to content

Commit

Permalink
chore: typo adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhiter committed Oct 10, 2024
1 parent 900296a commit ea98944
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ const DevboxList = ({
child: (
<>
<MyIcon name={'start'} w={'16px'} />
<Box ml={2}>{t('boot')}</Box>
<Box ml={2}>{t('start')}</Box>
</>
),
onClick: () => handleStartDevbox(item)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ const BasicInfo = () => {
</Flex>
<Flex>
<Text mr={2} width={'40%'} fontSize={'12px'}>
Limit CPU
CPU Limit
</Text>
<Flex width={'60%'} color={'grayModern.600'}>
<Text fontSize={'12px'}>{devboxDetail?.cpu / 1000} Core</Text>
</Flex>
</Flex>
<Flex>
<Text mr={2} width={'40%'} fontSize={'12px'}>
Limit Memory
Memory Limit
</Text>
<Flex width={'60%'} color={'grayModern.600'}>
<Text fontSize={'12px'}>{devboxDetail?.memory / 1024} G</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ const Header = ({
borderWidth={1}
leftIcon={<MyIcon name={'start'} w={'16px'} />}
onClick={() => handleStartDevbox(devboxDetail)}>
{t('boot')}
{t('start')}
</Button>
)}
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const ReleaseModal = ({
mr={'11px'}
width={'80px'}
isLoading={loading}>
{t('release')}
{t('publish')}
</Button>
</ModalFooter>
</ModalContent>
Expand Down
22 changes: 11 additions & 11 deletions frontend/providers/devbox/message/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"This runtime field is required": "The runtime version field is required",
"basic_configuration": "Basic",
"basic_info": "Basic",
"boot": "Boot",
"start": "Start",
"cancel": "Cancel",
"code_server": "CodeServer",
"config_form": "Form",
Expand Down Expand Up @@ -87,7 +87,7 @@
"name": "Name",
"network": "Network",
"no_network": "No network configuration is available",
"no_versions": "There are no versions yet",
"no_versions": "There are no releases yet",
"nodeports": "NodePorts",
"nodeports_exceeds_quota": "The number of devbox created exceeds the limit, please contact the administrator",
"none": "None",
Expand All @@ -103,9 +103,9 @@
"port": "Port",
"private_key": "Private Key",
"prompt": "Prompt",
"publish": "Release",
"read_event_detail": "Read event detail",
"recent_error": "Recent Error",
"publish": "Publish",
"read_event_detail": "Toggle event detail",
"recent_error": "Recent Errors",
"release": "Release",
"release_confirm_info": "During the release process, the machine will be temporarily shut down and the release will be in the current state. Please save the running project.",
"release_failed": "Release failed",
Expand All @@ -121,11 +121,11 @@
"runtime_environment": "Runtime",
"save": "Save",
"shutdown": "Shutdown",
"ssh_config": "SSH Config",
"ssh_connect_info": "SSH Connect String",
"start_error": "Boot error",
"ssh_config": "SSH Configuration",
"ssh_connect_info": "SSH Connection String",
"start_error": "Start error",
"start_runtime": "Runtime",
"start_success": "Boot succeeded",
"start_success": "Start succeeded",
"start_time": "Start Time",
"status": "Status",
"submit_form_error": "Form submission error",
Expand All @@ -137,15 +137,15 @@
"total": "Total",
"total_price": "Total",
"update": "Update",
"update Time": "Update At",
"update Time": "Updated At",
"update_devbox": "Update devbox",
"update_failed": "Update failed",
"update_success": "Update succeeded",
"used": "Used",
"version": "Release",
"version_config": "Configuration",
"version_description": "Description",
"version_history": "Version",
"version_history": "Release",
"version_info": "Version List",
"version_list": "Version List",
"version_number": "Tag",
Expand Down
2 changes: 1 addition & 1 deletion frontend/providers/devbox/message/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"This runtime field is required": "运行时版本是必填项",
"basic_configuration": "基础配置",
"basic_info": "基础信息",
"boot": "开机",
"start": "开机",
"cancel": "取消",
"code_server": "CodeServer",
"config_form": "配置表单",
Expand Down
2 changes: 1 addition & 1 deletion frontend/providers/devbox/utils/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,5 +328,5 @@ export function calculateUptime(createdTime: Date): string {
uptime += `${minutes}m`
}

return uptime || '刚刚启动'
return uptime || 'Recently Started'
}

0 comments on commit ea98944

Please sign in to comment.