Skip to content

Commit

Permalink
update check title change
Browse files Browse the repository at this point in the history
  • Loading branch information
qishibo committed May 28, 2019
1 parent fb37d9d commit 65051d7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pack/electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "another-redis-desktop-manager",
"version": "1.1.9",
"version": "1.2.0",
"description": "A faster, better and more stable redis desktop manager.",
"author": "qii404.me",
"private": true,
Expand Down
3 changes: 2 additions & 1 deletion src/components/UpdateCheck.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ export default {

this.$notify.closeAll();
this.$notify({
title: this.$t('message.update_available') + ', ' + this.$t('message.update_downloading'),
// title: this.$t('message.update_available') + ', ' + this.$t('message.update_downloading'),
title: `${this.$t('message.update_available')}: ${arg.version}, ${this.$t('message.update_downloading')}`,
dangerouslyUseHTMLString: true,
message: arg.releaseNotes.replace(/(\<a)/ig, '$1 target="blank"'),
duration: 0
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/langs/cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const cn = {
key_to_search: '输入关键字搜索',
check_update: '检查更新',
update_checking: '检查更新中, 请稍后...',
update_available: '有新的更新',
update_available: '发现新版本',
update_not_available: '当前为最新版本',
update_error: '更新失败',
update_downloading: '下载中, 请稍后...',
update_downloading: '下载中...',
update_download_progress: '下载进度',
update_downloaded: '更新下载完成,重启客户端生效',
mac_not_support_auto_update: 'Mac暂时不支持自动更新,请手动下载后重新安装',
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/langs/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const en = {
key_to_search: 'Keyword Search',
check_update: 'Check Update',
update_checking: 'Checking For Updates, Wait A Moment...',
update_available: 'Update Available',
update_available: 'New Version Found',
update_not_available: 'Your App Is The Latest',
update_error: 'Update Failed',
update_downloading: 'Downloading, Wait A Moment...',
update_downloading: 'Downloading...',
update_download_progress: 'Download Progress',
update_downloaded: 'Update Download Completed, Restart Your App Please',
mac_not_support_auto_update: 'Mac Does Not Support Automatic Update, Please Manually Download And Reinstall',
Expand Down

0 comments on commit 65051d7

Please sign in to comment.