creewick / uWidgets

Standalone .NET application with a variety of customizable widgets
Other
180 stars 8 forks source link

README.md add Chinese support + reserved battery charging/discharging state function #18

Closed WhatDamon closed 2 months ago

WhatDamon commented 2 months ago

Added Chinese README.md (co-translated by me and @suntrise), and reserved IsBatteryCharging function in MetricService.cs of the Monitor widget, which can be combined with GetBatteryLevel to realize charging and discharging widget animation prompts later.

WhatDamon commented 2 months ago

Suddenly IsBatteryCharging found a small error, in the WMI output 2 is the charging species, then return true to the right, 1 is discharging, will make changes later!

creewick commented 2 months ago

Thanks for your effort! I will use your function and add a separate icon for the Charging battery state.

creewick commented 2 months ago

I merged the PR, but I see that Weather Features is replaced with Reminders Features. I guess that's just a typo. I would appreciate if you replace it with the correct translation.

Screenshot 2024-08-17 at 3 49 26 PM