amazfitbip / tools

GNU General Public License v2.0
126 stars 57 forks source link

zh-cn2en.py and problem with space character #44

Open tomurbanowicz opened 7 years ago

tomurbanowicz commented 7 years ago

I noticed that the script does not take up the space at the beginning and end of the strings as HEX 32. How to change it?

dpeddi commented 7 years ago

i will take a look...

tomurbanowicz commented 7 years ago

And I'd like to change language to translate (from CN to EN) and ex. that:

0.0.9.26:0

00000001|57 65 64|Wed|Sr 00000001|54 75 65|Tue|Wt 00000001|46 72 69|Fri|Pt 00000001|4D 6F 6E|Mon|Pn 00000001|53 75 6E|Sun|Nd 00000001|53 61 74|Sat|So 00000001|54 68 75|Thu|Czw

does not translate it. Why?

tomurbanowicz commented 7 years ago

ex. 00000001|57 65 64|Wed|Sr

Sr is with space at the end "Sr "

tomurbanowicz commented 7 years ago

FW-9.26.zip

tomurbanowicz commented 6 years ago

What about this problem?