Skip to content

Commit 6d013ad

Browse files
committed
update to 1.29.0
1 parent b0b5789 commit 6d013ad

File tree

3 files changed

+14
-18
lines changed

3 files changed

+14
-18
lines changed

main.js

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,20 +1011,16 @@ function traySolution(isFullScreen) {
10111011
if (process.platform === "darwin" && win != null) win.show();
10121012
}
10131013
}, {
1014-
label: i18n.__('statistics-work-time') + " " + statistics.get(yearMonDay).workTime + " " + i18n.__('min'),
1015-
visible: statistics.get(yearMonDay).workTime > 0
1014+
label: i18n.__('statistics-work-time') + " " + statistics.get(yearMonDay).workTime + " " + i18n.__('min')
10161015
}, {
1017-
label: i18n.__('statistics-rest-time') + " " + statistics.get(yearMonDay).restTime + " " + i18n.__('min'),
1018-
visible: statistics.get(yearMonDay).restTime > 0,
1016+
label: i18n.__('statistics-rest-time') + " " + statistics.get(yearMonDay).restTime + " " + i18n.__('min')
10191017
}, {
1020-
label: i18n.__('onlyrest') + " " + statistics.get(yearMonDay).onlyRest + " " + i18n.__('min'),
1021-
visible: statistics.get(yearMonDay).onlyRest > 0,
1018+
label: i18n.__('onlyrest') + " " + statistics.get(yearMonDay).onlyRest + " " + i18n.__('min')
10221019
}, {
1023-
label: i18n.__('positive') + " " + statistics.get(yearMonDay).positive + " " + i18n.__('min'),
1024-
visible: statistics.get(yearMonDay).positive > 0
1020+
label: i18n.__('positive') + " " + statistics.get(yearMonDay).positive + " " + i18n.__('min')
10251021
}, {
1026-
label: i18n.__('statistics-time-sum') + " " + statistics.get(yearMonDay).sum + " " + i18n.__('min'),
1027-
visible: statistics.get(yearMonDay).sum > 0,
1022+
label: i18n.__('statistics-time-sum') + " " + statistics.get(yearMonDay).sum + " "
1023+
+ i18n.__('min')
10281024
}],
10291025
}, {
10301026
type: 'separator'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "wnr",
3-
"version" : "1.28.1",
3+
"version" : "1.29.0",
44
"description" : "Work and rest, with wnr now!",
55
"main" : "main.js",
66
"scripts" : {

update.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"version" : "1.28.1",
2+
"version" : "1.29.0",
33
"feature-introduction" : false,
44
"content" : {
55
"zh-CN" : [
6-
"对 Windows 系统,增加了任务栏图标上直接显示剩余时间的功能,并优化了任务栏显示",
7-
"修复了几个小问题,并升级软件依赖项到最新版本"
6+
"新增了开启软件时自动开启默认任务的功能",
7+
"优化了托盘菜单的功能,允许直接在其中查看当天计时和直接取消计时"
88
],
99
"zh-TW" : [
10-
"對 Windows 系統,增加了任務欄圖標上直接顯示剩余時間的功能,並優化了任務欄顯示",
11-
"修復了幾個小問題,並升級軟件依賴項到最新版本"
10+
"新增了開啟軟件時自動開啟默認任務的功能",
11+
"優化了托盤菜單的功能,允許直接在其中查看當天計時和直接取消計時"
1212
],
1313
"en" : [
14-
"New feature: show remaining time directly on the taskbar icon for Windows.",
15-
"Fixed several bugs, and updated the dependencies."
14+
"New feature: auto start default task when starting wnr.",
15+
"New feature: better tray menu, allowing directly see today's statistics and cancel timing."
1616
]
1717
},
1818
"introduce" : {

0 commit comments

Comments
 (0)