theblixguy / ForceDoze

Enable Doze mode immediately after screen off and turn off motion sensing to get best battery life
https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze&hl=en
GNU General Public License v3.0
177 stars 38 forks source link

Translate into Simplified Chinese(zh-CN) #48

Closed chanssl closed 7 years ago

chanssl commented 7 years ago

Reference to the translation of Traditional Chinese,thanks for @osk2 . I do not understand the meaning of Tasker broadcasts (looks like describe the reasons for these permissions? ), so keep the original, hope that other people can improve the translation.

And, I did not find the text corresponding to this interface, so I provided the translated text for you to add.

Warning.png

Warning
警告

Modifying Doze tunables will turn off ForceDoze,as ForceDoze overrides Doze tunables by default in order to put your device immediately into doze mode
修改 Doze 的可调参数将关闭 ForceDoze ,因为 ForceDoze 会覆盖 Doze 的默认参数,以使设备立即进入 Doze 模式。

Are you sure you want to continue?
你确定要继续操作吗?

YES / NO
确定 / 取消

notification.png

ForceDoze needs to be added to the Doze whitelist in orde to work reliably. Please click on this notification to open the battery optimisation view, click on 'ForceDoze' and select 'Don't' Optimize‘

ForceDoze 需要添加至 Doze 白名单后才能稳定工作,请点击此通知以打开电池优化视图,点击 ForceDoze 并选择“不优化”。
theblixguy commented 7 years ago

Thanks for the translations. I'll merge soon once I've tested it.

chanssl commented 7 years ago

OK.

chanssl commented 7 years ago

Excuse me, just wondering if you've forgotten this. :)

theblixguy commented 7 years ago

I haven't forgotten about it, just have exams going on so haven't got the time to test it. I plan on doing it soon, and I merge it after that.

chanssl commented 7 years ago

Sorry. I wish you success. :)

chanssl commented 7 years ago

Are you here?

theblixguy commented 7 years ago

Sorry it took so long, I've been busy with other projects. I've accepted your PR.

If you could submit another PR with those extra strings, that would be perfect. You will have to modify Java code so the app reads the translated text from the XML instead of displaying the hardcoded text.