1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-01 04:22:26 +02:00
Commit Graph

2032 Commits

Author SHA1 Message Date
OliE
d4dc9c9f6a Auto backup (#247)
* implementation of auto-backup function
add an option to overwrite previous backup

* open import and export file chooser intent.
2018-04-21 09:33:33 +02:00
Erik Johansson
062db32266 New attempt at getting weight from 1byone scale
Issue #159
2018-04-20 23:03:32 +02:00
Erik Johansson
6a6ff471c1 Minor language list reordering 2018-04-20 18:48:17 +02:00
Erik Johansson
cff82c60bd Restore locale when returning to system default language 2018-04-20 18:44:07 +02:00
Erik Johansson
b4ee3a37c9 Change Chinese locale from HK to TW
since that seems to be what Android uses.
2018-04-20 14:04:36 +02:00
Erik Johansson
a7aa0fe553 The chinese translation if for traditional chinese 2018-04-20 14:04:36 +02:00
Lam Kah Hong Paul
4f0f7409d7 Translated using Weblate (Chinese (Hong Kong))
Currently translated at 100.0% (180 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/zh_Hant_HK/
2018-04-20 14:04:36 +02:00
Erik Johansson
589ee18846 Remove empty string tags 2018-04-20 14:04:36 +02:00
Erik Johansson
9663df1143 Update language code for brazilian portuguese 2018-04-20 14:04:36 +02:00
Erik Johansson
36adc936bb Make it possible to show/input bone in %
Fixes #246.
2018-04-20 14:04:36 +02:00
Erik Johansson
af79227891 Convert bone to scale unit 2018-04-20 14:04:36 +02:00
Erik Johansson
01ed276c7c Convert LBM to scale unit 2018-04-20 14:04:36 +02:00
Marcin P
354574a0c6 Translated using Weblate (Polish)
Currently translated at 85.0% (153 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pl/
2018-04-20 14:04:36 +02:00
Erik Johansson
5e974f22e4 Fix off-by-one typo 2018-04-20 14:04:36 +02:00
Marcin P
789f23a463 Translated using Weblate (Polish)
Currently translated at 81.1% (146 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pl/
2018-04-20 14:04:36 +02:00
Erik Johansson
546e34f216 Add Chinese to in app language list
Add Chinese and Czech to README (and sort language list alphabetically).
2018-04-20 14:04:36 +02:00
Erik Johansson
da8afe61c2 Move language names to arrays.xml
They aren't supposed to be translated anyway
2018-04-20 14:04:36 +02:00
Erik Johansson
65e2a13732 Rename resource to fix build 2018-04-20 14:04:28 +02:00
Lam Kah Hong Paul
e9a8c3b9f7 Translated using Weblate (Chinese (Hong Kong))
Currently translated at 100.0% (180 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/zh_Hant_HK/
2018-04-19 11:43:04 +02:00
Lam Kah Hong Paul
e9170e3aba Translated using Weblate (Chinese (Hong Kong))
Currently translated at 100.0% (180 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/zh_Hant_HK/
2018-04-19 08:59:36 +02:00
Lam Kah Hong Paul
bdb4c23a34 Added translation using Weblate (Chinese (Hong Kong)) 2018-04-19 03:33:03 +02:00
Erik Johansson
4aece33e3d Refactor class and use common helper methods 2018-04-18 23:31:28 +02:00
Erik Johansson
acbbf74bca Digoo DG-SO38H reports weight in kg
at least according to a comment on Google Play:

"I have a DHG-S038H scale. The app show weight measurements in KG even
if pounds is selected.  Scale say lb, but app give me kg value but
with lb on the screen.  Scale reads 238lb, but app displays
108.2lb. This is my only problem with this app."
2018-04-18 23:00:02 +02:00
Erik Johansson
e71a4258ba Update 1byone handling as detailed in #159 2018-04-18 22:36:27 +02:00
Erik Johansson
c7056c880c Move xorChecksum method to base class 2018-04-18 22:36:27 +02:00
Erik Johansson
6978c488e1 ADd getAge() method overload not taking a Date 2018-04-18 22:36:27 +02:00
Weblate
fa40fb7b15 Merge remote-tracking branch 'origin/master' 2018-04-18 20:56:47 +02:00
librada
3a13f38253 Translated using Weblate (Japanese)
Currently translated at 78.8% (142 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/ja/
2018-04-18 20:56:47 +02:00
Dennis Bork
fe4daf550a Translated using Weblate (German)
Currently translated at 99.4% (179 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2018-04-18 20:56:42 +02:00
Erik Johansson
f276fd6106 Don't synchronize on Boolean object
Apparently this synchronizes on two different objects depending on if
the boolean is true or false as the boxed values are global instances.
2018-04-18 20:55:39 +02:00
Erik Johansson
0965f67a55 Don't do any cleanup if disconnected before fully connected
Hopefully this fixes #245.
2018-04-18 20:52:55 +02:00
Erik Johansson
7188effbec Set access level to protected for all next*Cmd 2018-04-18 20:49:29 +02:00
Erik Johansson
6fcc16c6b7 Translated using Weblate (Swedish)
Currently translated at 100.0% (180 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-04-17 06:57:12 +02:00
Weblate
8d534771ee Merge remote-tracking branch 'origin/master' 2018-04-16 23:11:10 +02:00
Martin DroiDsk
bac6b15c10 Translated using Weblate (Slovak)
Currently translated at 91.6% (165 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sk/
2018-04-16 23:11:10 +02:00
Erik Johansson
9fa9ed3635 Adjust/correct some strings
Includes part of the changes in #243 + some additional changes.
2018-04-16 23:10:53 +02:00
Erik Johansson
8ad10370c8 Rename LBW (lean body weight) to LBM (... mass)
As suggested in #243.

Except for the database column and some strings that are stored
persistent in preferences.
2018-04-16 23:10:53 +02:00
Erik Johansson
f5692637c8 Add comment about not changing strings/enums that are stored persistent 2018-04-16 23:10:53 +02:00
Weblate
c29472c11e Merge remote-tracking branch 'origin/master' 2018-04-16 21:50:06 +02:00
Martin DroiDsk
03d510a8fb Translated using Weblate (Slovak)
Currently translated at 91.6% (165 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sk/
2018-04-16 21:50:06 +02:00
Erik Johansson
cd4e06bddd Set labelFor 2018-04-16 21:49:51 +02:00
Erik Johansson
caee1bb3f4 Minor code cleanup 2018-04-16 21:49:51 +02:00
Erik Johansson
8fa84b2a61 Fix spelling 2018-04-16 21:49:51 +02:00
Weblate
b0db99c9de Merge remote-tracking branch 'origin/master' 2018-04-16 20:54:42 +02:00
Martin DroiDsk
2a0d5742f1 Translated using Weblate (Slovak)
Currently translated at 90.0% (162 of 180 strings)

Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sk/
2018-04-16 20:54:42 +02:00
Erik Johansson
9e5776d1ed Close cursor when done with it 2018-04-16 20:50:48 +02:00
Erik Johansson
00b37244a7 Use apply() instead of commit() to save preferences 2018-04-16 20:49:44 +02:00
Erik Johansson
ca6aadbc98 Upgrade support lib version to 27.1.1 2018-04-16 20:49:10 +02:00
Erik Johansson
cbb9288730 Apply some code inspection cleanups 2018-04-16 20:46:06 +02:00
Erik Johansson
8396dd3296 Remove redundant casts 2018-04-16 20:14:56 +02:00