Roland Geider
bf7e2e8956
Move platform check to helper
...
Also, use TargetPlatform since it it better suited for tests (and seems to
be now the recommended way of checking this for UI elements)
2023-04-15 12:17:08 +02:00
Roland Geider
fe957e4981
Fix variable name
2023-04-09 11:15:35 +02:00
Github-actions
f82ab0793e
Automatic linting
2023-04-09 08:59:27 +00:00
Roland Geider
f7ac8b716b
Merge branch 'master' into 12people-master
...
# Conflicts:
# lib/widgets/nutrition/widgets.dart
# pubspec.lock
2023-04-09 10:57:43 +02:00
Roland Geider
f220ea5305
Merge pull request #214 from wger-project/feature/ingredient-images
...
Add ingredient images
2023-04-08 23:49:39 +02:00
Javier
41b18b7ae1
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (222 of 222 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2023-04-05 00:39:00 +02:00
facu-d
c07d208d6b
Translated using Weblate (Spanish)
...
Currently translated at 99.5% (221 of 222 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2023-04-03 19:38:30 +02:00
Mirek Mazel
9ad8d809a0
Merge pull request #1 from 12people/patch-1
...
Fixing bug #293
2023-03-22 17:30:38 +01:00
Mirek Mazel
f7f3072352
Fixing bug #293
2023-03-22 17:29:22 +01:00
Miroslav Mazel
e470b8809d
Platform conditions for image_picker library
2023-03-22 11:55:36 +01:00
Miroslav Mazel
0613f6eb23
Platform check for flutter_barcode_scanner library
2023-03-21 21:22:23 +01:00
Miroslav Mazel
283605eb4b
Platform check for videos library
2023-03-21 21:22:07 +01:00
Miroslav Mazel
7aeed3bde5
Prep Linux/macOS support: package_info_plus package + env variables instead of AndroidMetadata
2023-03-21 21:06:37 +01:00
Roland Geider
6197e4dd2a
Use paginated api when fetching log entries
2023-03-20 17:17:53 +01:00
Roland Geider
984df49c41
Add switch to search for ingredients in English as well
2023-03-20 17:14:12 +01:00
Roland Geider
fa8dd7e46f
Fix merge errors
2023-03-20 14:19:29 +01:00
Roland Geider
b60e19cb16
Merge branch 'master' into feature/ingredient-images
...
# Conflicts:
# lib/main.dart
# lib/providers/nutrition.dart
# pubspec.yaml
# test/nutrition/nutritional_plan_screen_test.dart
# test/nutrition/nutritional_plans_screen_test.dart
2023-03-20 13:58:31 +01:00
Dan
77d51b7c78
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (222 of 222 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2023-03-18 02:46:19 +01:00
Oğuz Ersen
365963e744
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (222 of 222 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2023-03-16 16:39:13 +01:00
Roland Geider
3d02d633dd
Fix placeholder
2023-03-16 11:43:07 +01:00
Roland Geider
1d896c6c4a
Allow searching for exercise names in English as well
...
See wger-project/wger/issues/1238
2023-03-16 11:15:39 +01:00
Stefan Taiguara
29a8734fc8
Translated using Weblate (Portuguese)
...
Currently translated at 99.5% (220 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2023-02-27 11:37:45 +01:00
MrSniikyz
73946e9021
Translated using Weblate (French)
...
Currently translated at 100.0% (221 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2023-02-26 07:39:53 +01:00
Patryk
74f4591158
Translated using Weblate (Polish)
...
Currently translated at 100.0% (221 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2023-02-24 13:36:40 +01:00
Roland Geider
4b6357542c
Translated using Weblate (Indonesian)
...
Currently translated at 71.0% (157 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/id/
2023-02-20 15:39:23 +01:00
HY Cheng
350d01c19a
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 15.8% (35 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2023-02-20 15:39:23 +01:00
Axel Steinbrecher
074212cae2
Translated using Weblate (German)
...
Currently translated at 100.0% (221 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2023-02-18 02:42:30 +01:00
Dan
b4b027759e
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (221 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2023-02-16 03:41:56 +01:00
Roman Kalivoda
2b3dd5139e
Translated using Weblate (Czech)
...
Currently translated at 71.9% (159 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/cs/
2023-02-14 17:40:17 +01:00
Roman Kalivoda
a225b715c7
Added translation using Weblate (Czech)
2023-02-12 11:26:06 +01:00
Oğuz Ersen
c8752a445b
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (221 of 221 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2023-02-11 18:43:28 +01:00
Roland Geider
b9d6641c87
Pass BaseProvider as an argument to workout provider
2023-02-11 13:45:42 +01:00
Roland Geider
64dc6867b7
Only sort the routine list once
2023-02-11 13:45:42 +01:00
Roland Geider
711c99c11a
Translated using Weblate (German)
...
Currently translated at 82.1% (180 of 219 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2023-02-10 17:15:38 +01:00
Roland Geider
992de28450
Polish the last exercise submission step
...
Show a spinner while the requests are being processed (still no error handling
here though) and show a pop up on success that allows the user to go to the
exercise's detail page
Closes #341
2023-02-10 17:15:29 +01:00
Roland Geider
378a281e5c
Return the base id, not the translation id!
2023-02-10 14:27:03 +01:00
Roland Geider
ab9572d46a
Cleanup
2023-02-10 13:19:55 +01:00
Github-actions
fcaa4dc75b
Automatic linting
2023-02-09 17:34:26 +00:00
Roland Geider
fe59ddc9ac
Add helper to get the nutritional plan's label
...
Returns the name or the term "nutritional plan"
2023-02-09 18:25:40 +01:00
Roland Geider
aa62c27cdb
Add refresh indicators to the entry lists
...
This allows the user to manually trigger an update if desired
See wger-project/wger/issues/1253
2023-02-09 18:08:31 +01:00
Roland Geider
aae6632963
Only check that the language code matches
...
Otherwise, both the language code and the country code would need to match
2023-02-09 17:35:45 +01:00
Roland Geider
9630e2b16b
Recreate generated files
2023-02-08 12:51:36 +01:00
Roland Geider
7bb9ac28fd
Merge branch 'master' into feature/ingredient-images
...
# Conflicts:
# lib/main.dart
# lib/models/exercises/exercise.g.dart
# lib/widgets/core/core.dart
# pubspec.lock
# test/gallery/gallery_screen_test.mocks.dart
# test/measurements/measurement_categories_screen_test.mocks.dart
# test/measurements/measurement_provider_test.mocks.dart
# test/nutrition/nutritional_plan_form_test.mocks.dart
# test/other/base_provider_test.mocks.dart
# test/workout/workout_form_test.mocks.dart
# test/workout/workout_set_form_test.mocks.dart
2023-02-08 12:48:00 +01:00
Dan
d4d1484754
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (219 of 219 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2023-02-08 05:39:42 +01:00
Oğuz Ersen
ed8d123b75
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (219 of 219 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2023-02-08 05:39:42 +01:00
Roland Geider
92ee141e4a
Workaround for when the device has no supported languages installed
...
Previously, this would take the first entry in the supported locales list,
which in our case is Amhraic and is a pretty weird way to chose a locale anyway.
We now default to English.
Closes #127
2023-02-07 22:03:09 +01:00
Roland Geider
a977d4ec48
Refactor add_exercise_screen.dart
...
Use the is_trustworthy flag from the server, which also takes the account's age
into account. The widgets in the screen are split so it's easier to test and read
2023-02-07 20:30:09 +01:00
Dan
fa15d1d688
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (218 of 218 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2023-02-06 22:34:32 +01:00
Oğuz Ersen
4cf239bd69
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (218 of 218 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2023-02-06 22:34:32 +01:00
Roland Geider
57e7464d2d
Some polishing
2023-02-06 22:31:35 +01:00