1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-05 00:12:56 +01:00
Commit Graph

1494 Commits

Author SHA1 Message Date
Andreas Shimokawa
9bfef4cf4f Make per-device settings more versatile, move more settings
This allows to construct per-device settings by device type very easily

device coordinators just do the following to declare which setting they support,
the settings activity is then composed at runtime.

@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
     return new int[]{
            R.xml.devicesettings_miband3,
            R.xml.devicesettings_swipeunlock,
            R.xml.devicesettings_pairingkey
    };
}
2019-05-22 00:42:22 +02:00
Andreas Shimokawa
61be82a499 add icons to device specific huami settings 2019-05-20 17:15:55 +02:00
Andreas Shimokawa
08e7d728c2 Huami: Migrate some settings to device specific settings
- Migrate language setting
- Migrate menu items setting
- Migrate lastsync timestamp from prefixed global shared prefercence

All settings should be automatically be converted (e.g. Amazfit Bip settings to all paired Amazfit Bip devices) and then deleted.

Cor Settings aleady completely vanished from the global settings menu.

When migration is done we will have a much cleaner settings menu. Will also remove confusion that some Cor settings have to be done in Bip settings.
2019-05-20 16:36:06 +02:00
Andreas Shimokawa
8f893d6f2b bump version, add changelog 2019-05-19 10:12:43 +02:00
postsorino
fa2fa02afa Translated using Weblate (Greek)
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-05-19 09:45:54 +02:00
Allan Nordhøy
9d3c72151c Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.6% (650 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-05-19 09:45:54 +02:00
Yaron Shahrabani
d98ed79f11 Translated using Weblate (Hebrew)
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-05-19 09:45:54 +02:00
ssantos
3ebd180051 Translated using Weblate (German)
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-19 09:45:54 +02:00
ssantos
10fdbf54a6 Translated using Weblate (German)
Currently translated at 99.4% (662 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-19 09:45:54 +02:00
Perflyst
33226523f4 Translated using Weblate (German)
Currently translated at 99.4% (662 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-19 09:45:54 +02:00
陈少举
3206e52137 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-05-19 09:45:54 +02:00
DerFetzer
dd067eddd7 Amazfit Bip: Add new latin languages 2019-05-14 20:58:07 +02:00
Andreas Shimokawa
2fd1d7b4d0 fix spelling 2019-05-09 16:03:02 +02:00
Andreas Shimokawa
40acdf7aa9 Add changelogs 2019-05-09 15:01:24 +02:00
Olexandr Nesterenko
188abe9b6b Translated using Weblate (Ukrainian)
Currently translated at 68.0% (446 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2019-05-09 12:55:58 +02:00
ssantos
d76d41a3d3 Translated using Weblate (Portuguese)
Currently translated at 61.3% (402 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2019-05-09 12:55:58 +02:00
HenRy
a253be1caa Translated using Weblate (German)
Currently translated at 100.0% (656 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-09 12:55:58 +02:00
rimasx
0ad46c7de1 Translated using Weblate (Estonian)
Currently translated at 38.7% (254 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2019-05-09 12:55:58 +02:00
陈少举
83e65d1fba Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (656 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-05-09 12:55:58 +02:00
Francesco Marinucci
529cd6d379 Translated using Weblate (Italian)
Currently translated at 99.8% (655 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2019-05-09 12:55:58 +02:00
Allan Nordhøy
a5f0f6fc07 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.2% (644 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-05-09 12:55:58 +02:00
Yaron Shahrabani
8686a7a425 Translated using Weblate (Hebrew)
Currently translated at 100.0% (656 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-05-09 12:55:58 +02:00
postsorino
6087c0559d Translated using Weblate (Greek)
Currently translated at 100.0% (656 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-05-09 12:55:58 +02:00
Andreas Shimokawa
58dca9a897 Amazit Cor 2: Add device specific warning when installing firmware (untested)
Also remove some Mi Band'ism from strings
2019-05-09 12:54:14 +02:00
Andreas Shimokawa
41e607ce9b Amazfit Cor 2: Give own device type id, support flashing the firmware **UNTESTED** 2019-05-09 12:42:59 +02:00
Andreas Shimokawa
fadce6eb3c Mi Band 3: Add missing languages
Indonesian
    Thai
    Arabic
    Vietnamese
    Portuguese
    Dutch
    Turkish
    Ukrainian

Closes #1506
2019-05-05 22:47:39 +02:00
Andreas Shimokawa
88da30fd53 Merge remote-tracking branch 'github/pr/1441/patch-1' 2019-05-02 22:13:19 +02:00
Nevena Mircheva
04bc98d86f Translated using Weblate (Bulgarian)
Currently translated at 54.1% (353 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/bg/
2019-05-02 22:03:17 +02:00
Olexandr Nesterenko
59bb606fc4 Translated using Weblate (Ukrainian)
Currently translated at 65.6% (428 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2019-05-02 22:03:17 +02:00
Francesco Marinucci
84bcfe9d60 Translated using Weblate (Italian)
Currently translated at 94.0% (613 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2019-05-02 22:03:17 +02:00
Francesco Marinucci
9b59bd7b15 Translated using Weblate (Italian)
Currently translated at 91.4% (596 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2019-05-02 22:03:17 +02:00
M. Hadi
b23b34d146 Translated using Weblate (Persian)
Currently translated at 16.0% (104 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fa/
2019-05-02 22:03:17 +02:00
postsorino
faa6c048e3 Translated using Weblate (Greek)
Currently translated at 100.0% (652 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-05-02 22:03:17 +02:00
Rui Mendes
afbb049c35 Translated using Weblate (Portuguese)
Currently translated at 59.8% (390 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2019-05-02 22:03:17 +02:00
Allan Nordhøy
a1b0add4d6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.2% (640 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-05-02 22:03:17 +02:00
Yaron Shahrabani
b5e8df891a Translated using Weblate (Hebrew)
Currently translated at 100.0% (652 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-05-02 22:03:17 +02:00
HenRy
0094f0c5d1 Translated using Weblate (German)
Currently translated at 100.0% (652 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-02 22:03:17 +02:00
Andreas Shimokawa
5837689449 add missing file 2019-04-21 21:28:27 +02:00
Andreas Shimokawa
db48707764 Add a device specific settings activity, currently used for setting the auth key for Amazfit Bip/Cor
When connecting to a new device, a random key gets generated, which can be
looked up from the device specific settings (accessible via the gear icon in
the device card in the main activity). Old devices keep their 0123456789@ABCDE
key, they have to be re-paired to change that.
During pairing, long-pressing the device candidate in the discovery activity
will also start the device specific settings activity, where the auth key
can be set manually priror to pairing. This is usefull to keep the ability to
pair one device with multiple android devices.

Fixes #1308
2019-04-21 21:25:33 +02:00
Daniele Gobbetti
7c918ee191 Add UI to invoke device specific settings Activity
Currently the icon in the card is hidden for all devices, since the
functionality is not implemented yet
2019-04-21 15:59:39 +02:00
Sophanimus
3ca589f730 BFH-16 Device-discovery working
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
M. Hadi
58a18b5ad2 Translated using Weblate (Persian)
Currently translated at 7.4% (48 of 651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fa/
2019-04-16 23:48:11 +02:00
M. Hadi
fe7995ad5f Added translation using Weblate (Persian) 2019-04-16 23:48:11 +02:00
Triet Pham
f448ccd6d4 Translated using Weblate (Vietnamese)
Currently translated at 20.1% (131 of 651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/vi/
2019-04-16 23:48:11 +02:00
HenRy
aa979ac210 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.5% (635 of 651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-04-16 23:48:11 +02:00
aerowolf
ed9c32ad46 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (651 of 651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-04-16 23:48:11 +02:00
Nevena Mircheva
9c4c204e46 Translated using Weblate (Bulgarian)
Currently translated at 47.9% (312 of 651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/bg/
2019-04-16 23:48:11 +02:00
postsorino
ec8ca78627 Translated using Weblate (Greek)
Currently translated at 100.0% (651 of 651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-04-16 23:48:11 +02:00
Rui Mendes
41e9467a0a Translated using Weblate (Portuguese)
Currently translated at 59.8% (389 of 651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2019-04-16 23:48:11 +02:00
Allan Nordhøy
4dbfda1be6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.5% (635 of 651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-04-16 23:48:11 +02:00