File tree 3 files changed +14
-18
lines changed 3 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -1011,20 +1011,16 @@ function traySolution(isFullScreen) {
1011
1011
if ( process . platform === "darwin" && win != null ) win . show ( ) ;
1012
1012
}
1013
1013
} , {
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' )
1016
1015
} , {
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' )
1019
1017
} , {
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' )
1022
1019
} , {
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' )
1025
1021
} , {
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' )
1028
1024
} ] ,
1029
1025
} , {
1030
1026
type : 'separator'
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " wnr" ,
3
- "version" : " 1.28.1 " ,
3
+ "version" : " 1.29.0 " ,
4
4
"description" : " Work and rest, with wnr now!" ,
5
5
"main" : " main.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 1.28.1 " ,
2
+ "version" : " 1.29.0 " ,
3
3
"feature-introduction" : false ,
4
4
"content" : {
5
5
"zh-CN" : [
6
- " 对 Windows 系统,增加了任务栏图标上直接显示剩余时间的功能,并优化了任务栏显示 。" ,
7
- " 修复了几个小问题,并升级软件依赖项到最新版本 。"
6
+ " 新增了开启软件时自动开启默认任务的功能 。" ,
7
+ " 优化了托盘菜单的功能,允许直接在其中查看当天计时和直接取消计时 。"
8
8
],
9
9
"zh-TW" : [
10
- " 對 Windows 系統,增加了任務欄圖標上直接顯示剩余時間的功能,並優化了任務欄顯示 。" ,
11
- " 修復了幾個小問題,並升級軟件依賴項到最新版本 。"
10
+ " 新增了開啟軟件時自動開啟默認任務的功能 。" ,
11
+ " 優化了托盤菜單的功能,允許直接在其中查看當天計時和直接取消計時 。"
12
12
],
13
13
"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 ."
16
16
]
17
17
},
18
18
"introduce" : {
You can’t perform that action at this time.
0 commit comments