Skip to content

Commit af45f0c

Browse files
committed
feat: Polish updater i18n translations and UI
1 parent 8cf9581 commit af45f0c

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

packages/neuron-ui/src/components/GeneralSetting/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const GeneralSetting = ({ dispatch }: React.PropsWithoutRef<StateWithDispatch>)
109109
}, [dispatch])
110110

111111
return (
112-
<Stack tokens={{ childrenGap: 15 }}>
112+
<Stack tokens={{ childrenGap: 25 }}>
113113
<Stack>
114114
<Stack horizontal horizontalAlign="start">
115115
{updater.version !== '' || updater.downloadProgress >= 0 ? (

packages/neuron-ui/src/locales/en.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,10 @@
349349
"downloading-update": "Downloading update...",
350350
"update-not-available": "There are currently no updates available.",
351351
"release-notes": "Release Notes:",
352-
"updates-found-do-you-want-to-update": "An update ({{version}}) is available, do you want to download and update now?",
353-
"download-update": "Download Update",
354-
"updates-downloaded-about-to-quit-and-install": "Update downloaded. Please quit to install the update.",
355-
"quit-and-install": "Quit and Install"
352+
"updates-found-do-you-want-to-update": "An update ({{version}}) is available, do you want to download and install now?",
353+
"download-update": "Install Update",
354+
"updates-downloaded-about-to-quit-and-install": "Update downloaded. Ready to install and relaunch.",
355+
"quit-and-install": "Install and relaunch"
356356
}
357357
}
358358
}

packages/neuron-ui/src/locales/zh.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,12 @@
347347
"updates": {
348348
"check-updates": "检查更新",
349349
"downloading-update": "正在下载更新...",
350-
"update-not-available": "没有可供升级的新版本。",
350+
"update-not-available": "已经在使用最新版本",
351351
"release-notes": "Release Notes:",
352-
"updates-found-do-you-want-to-update": "有可供升级的新版本({{version}})。现在进行下载和升级吗",
353-
"download-update": "下载更新以升级",
354-
"updates-downloaded-about-to-quit-and-install": "下载完成。请退出并安装新版本",
355-
"quit-and-install": "退出并安装"
352+
"updates-found-do-you-want-to-update": "新版本 {{version}} 可供下载。要下载和安装吗",
353+
"download-update": "下载安装",
354+
"updates-downloaded-about-to-quit-and-install": "下载完成。请安装新版本",
355+
"quit-and-install": "安装并重启应用"
356356
}
357357
}
358358
}

0 commit comments

Comments
 (0)