Commit Graph

472 Commits

Author SHA1 Message Date
Github-actions
bc21e44a30 Automatic linting 2021-07-01 15:10:27 +00:00
Roland Geider
f56d02b2b3 Merge pull request #50 from arun-muralidharan/master
Reorder Sets
2021-07-01 17:08:54 +02:00
yiter
7e18674f05 Translated using Weblate (Chinese (Simplified))
Currently translated at 82.9% (107 of 129 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-30 11:32:54 +02:00
Roland Geider
cbea0a0b96 Translated using Weblate (German)
Currently translated at 100.0% (129 of 129 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-06-30 11:32:54 +02:00
Arun Muralidharan
7eb26da243 Reorder Sets
Now updates order upon deletion as well. Order will be set to length of sets upon adding a new one.
2021-06-28 21:56:25 +02:00
Arun Muralidharan
22993a0151 Reorder List
Change in order now reflects in DB as well.
2021-06-28 14:59:43 +02:00
yiter
d89e5e5dda Translated using Weblate (Chinese (Simplified))
Currently translated at 82.9% (107 of 129 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-28 14:32:14 +02:00
Arun Muralidharan
db04964f20 Reorder Sets
Progress PR for Issue #41. Currently you can edit the order (long press to reorder) in the workout plan screen. The order change is only local; it persists only for the current session. However, I have not figured out how to reflect the changed order in the DB using the API. Does Day even store the order of its Sets in the DB? Or is it dynamically populated into the model in the app?
2021-06-27 23:36:53 +02:00
Github-actions
c877e436b0 Automatic linting 2021-06-22 21:10:15 +00:00
Github-actions
857d0453cc Automatic linting 2021-06-22 20:29:22 +00:00
Arun Muralidharan
50043269b9 Test
Added tests for TimeOfDay comparsion extensions.
2021-06-22 22:02:40 +02:00
Arun Muralidharan
a053c813bc Start Time Validator
Implemented start time validator to ensure start time is not ahead of end time in gym mode.
2021-06-22 20:19:16 +02:00
yiter
3611819822 Translated using Weblate (Japanese)
Currently translated at 0.7% (1 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ja/
2021-06-22 13:32:12 +02:00
Marvin M
9db1303591 Translated using Weblate (German)
Currently translated at 100.0% (128 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-06-22 13:32:12 +02:00
yiter
ebcce2bdac Translated using Weblate (Chinese (Simplified))
Currently translated at 83.5% (107 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-21 10:18:52 +02:00
yiter
7a65fd17d4 Added translation using Weblate (Japanese) 2021-06-21 05:56:30 +02:00
Roland Geider
ca1849599b Rename file
Flutter always needs a base translation
2021-06-20 15:17:03 +02:00
Github-actions
a352cb5e67 Automatic linting 2021-06-20 13:14:26 +00:00
Roland Geider
3544cdb7c7 Merge pull request #45 from arun-muralidharan/weight-fix-38
Plate Weight - Fix for #38
2021-06-20 15:13:06 +02:00
Github-actions
7492b53c67 Automatic linting 2021-06-20 13:09:24 +00:00
Arun Muralidharan
e4c16c52c4 Weight Fix
Fixed +/- button in gym mode to add twice the minimum plate weight, since we add one to each side.
2021-06-20 14:57:44 +02:00
yiter
e452ade709 Translated using Weblate (Chinese (Simplified))
Currently translated at 38.2% (49 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-20 10:32:14 +02:00
yiter
941f9ef323 Translated using Weblate (Chinese (Simplified))
Currently translated at 12.5% (16 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-18 11:21:37 +02:00
yiter
c0b66a996e Added translation using Weblate (Chinese (Simplified)) 2021-06-18 09:55:18 +02:00
J. Lavoie
6eb12a6f70 Translated using Weblate (French)
Currently translated at 98.4% (126 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2021-06-17 20:34:19 +02:00
Roland Geider
6fc6c11eab Translated using Weblate (Spanish)
Currently translated at 96.0% (121 of 126 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2021-06-16 18:00:16 +02:00
Roland Geider
5139d8e997 Translated using Weblate (German)
Currently translated at 100.0% (126 of 126 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-06-16 18:00:16 +02:00
Roland Geider
e2fa49ab5e Remove sized box,the space is not necessary 2021-06-16 08:32:37 +02:00
Roland Geider
f1b51a88d7 Change plate calculator title 2021-06-16 08:32:12 +02:00
Roland Geider
180e419e7e Group the plates for easier reading 2021-06-15 23:11:34 +02:00
Roland Geider
1a2845b448 Space the plates more evenly 2021-06-15 22:31:04 +02:00
Roland Geider
9bf46807f8 Simplify loop 2021-06-15 17:37:11 +02:00
Roland Geider
52653cc93e Inform the user that the current user can't be reached 2021-06-15 17:34:04 +02:00
Roland Geider
039b195e7a Fix error in plate calculator
The smallest plate was never being taken into consideration, as the loop never
reached it
2021-06-15 17:33:39 +02:00
Roland Geider
70e0620fe1 Don't make the +/- buttons part of the input field
This only makes the field focused which makes the keyboard appear, which is
exactly what we want to avoid when using the shortcuts
2021-06-15 16:30:12 +02:00
Roland Geider
d2d70bdba5 Localize text 2021-06-13 23:40:52 +02:00
Roland Geider
19cf8e3854 Prettify a bit the results of the plate calculator
Still needs some polishing
2021-06-13 21:10:51 +02:00
Roland Geider
48ee80fffe Only show plate calculator for barbell exercises
This might be a bit too constrained, since other exercises (e.g.) in the rack
or the leg press would also benefit from this. Perhaps adding a user switch?
2021-06-13 21:09:37 +02:00
Roland Geider
b88c3290c1 Start implementing a plate calculator 2021-06-13 20:22:15 +02:00
Roland Geider
0af6fc2579 Merge branch 'master' of https://github.com/Jannik-dev/flutter into feature/plate-calculator 2021-06-13 19:12:38 +02:00
Roland Geider
9d6f21cc7b Re-add content for gym mode 2021-06-12 18:01:07 +02:00
Roland Geider
7940aa7e51 Filter allowed characters for usernames
This is the same regex that django uses on the backend.

Fixes #30
2021-06-12 17:54:41 +02:00
Roland Geider
959fdf26d0 Initialise session with defaul value (neutral)
Fixes #36
2021-06-12 17:28:16 +02:00
Roland Geider
7e416383b5 Use string as a key for dates in the calendar
Fixes #33
2021-06-12 17:19:00 +02:00
DT
6b48ae2354 Translated using Weblate (Italian)
Currently translated at 100.0% (125 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-06-10 13:23:30 +02:00
Henio Szewczyk
b2b8c2127c Added translation using Weblate (Polish) 2021-06-02 23:13:25 +02:00
J. Lavoie
135b9ab6ca Translated using Weblate (French)
Currently translated at 100.0% (125 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2021-05-25 14:33:41 +02:00
J. Lavoie
12358d2df7 Translated using Weblate (Italian)
Currently translated at 97.6% (122 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-05-25 14:33:41 +02:00
J. Lavoie
3c5515f549 Translated using Weblate (German)
Currently translated at 100.0% (125 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-05-25 14:33:41 +02:00
Roland Geider
29e8c5d610 Translated using Weblate (German)
Currently translated at 100.0% (125 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-05-25 14:33:40 +02:00