Skip to content

Commit

Permalink
feat: Polish updater i18n translations and UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ashchan committed Nov 28, 2019
1 parent 8cf9581 commit af45f0c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/neuron-ui/src/components/GeneralSetting/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const GeneralSetting = ({ dispatch }: React.PropsWithoutRef<StateWithDispatch>)
}, [dispatch])

return (
<Stack tokens={{ childrenGap: 15 }}>
<Stack tokens={{ childrenGap: 25 }}>
<Stack>
<Stack horizontal horizontalAlign="start">
{updater.version !== '' || updater.downloadProgress >= 0 ? (
Expand Down
8 changes: 4 additions & 4 deletions packages/neuron-ui/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,10 @@
"downloading-update": "Downloading update...",
"update-not-available": "There are currently no updates available.",
"release-notes": "Release Notes:",
"updates-found-do-you-want-to-update": "An update ({{version}}) is available, do you want to download and update now?",
"download-update": "Download Update",
"updates-downloaded-about-to-quit-and-install": "Update downloaded. Please quit to install the update.",
"quit-and-install": "Quit and Install"
"updates-found-do-you-want-to-update": "An update ({{version}}) is available, do you want to download and install now?",
"download-update": "Install Update",
"updates-downloaded-about-to-quit-and-install": "Update downloaded. Ready to install and relaunch.",
"quit-and-install": "Install and relaunch"
}
}
}
10 changes: 5 additions & 5 deletions packages/neuron-ui/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,12 +347,12 @@
"updates": {
"check-updates": "检查更新",
"downloading-update": "正在下载更新...",
"update-not-available": "没有可供升级的新版本。",
"update-not-available": "已经在使用最新版本",
"release-notes": "Release Notes:",
"updates-found-do-you-want-to-update": "有可供升级的新版本({{version}})。现在进行下载和升级吗",
"download-update": "下载更新以升级",
"updates-downloaded-about-to-quit-and-install": "下载完成。请退出并安装新版本",
"quit-and-install": "退出并安装"
"updates-found-do-you-want-to-update": "新版本 {{version}} 可供下载。要下载和安装吗",
"download-update": "下载安装",
"updates-downloaded-about-to-quit-and-install": "下载完成。请安装新版本",
"quit-and-install": "安装并重启应用"
}
}
}

0 comments on commit af45f0c

Please sign in to comment.