Roland Geider
cd2f3dbe45
Merge branch 'feature/offline-mode' into feat/nutrition-ingredients-implementation
2026-05-21 13:01:26 +02:00
Roland Geider
52364ebafc
Merge branch 'master' into feature/offline-mode
...
# Conflicts:
# lib/helpers/errors.dart
# lib/main.dart
# lib/widgets/nutrition/forms.dart
# lib/widgets/routines/forms/slot_entry.dart
2026-05-21 12:26:53 +02:00
Roland Geider
0741fd4bb8
Better error handling
...
We can now distinguish between errors that should block the application, (hopefully)
transient ones that only warrant a snackbar and others that are only logged.
2026-05-21 12:09:51 +02:00
Roland Geider
695727b691
Dedup error dialogs
...
When the error dialog is already present, and another error occurs. Only log the
second one, don't stack another dialog
2026-05-21 11:34:48 +02:00
Roland Geider
ff9b7572d0
Handle github's max URL limit
...
If the application had too many logs, we could reach this limit and the issue
would be blank
2026-05-21 11:25:01 +02:00
Roland Geider
e79f46e2fc
Add missing languages
2026-05-21 09:39:00 +02:00
Roland Geider
834d7e4744
Consolidate form error handling
...
This makes the widgets themselves leaner
2026-05-21 09:33:57 +02:00
Roland Geider
97e0e631ab
Consolidate submission logic into its own widget
...
While this is not needed as much now that we save everything to the local
sqlite, it's still good practice to encapsulate the logic for a submit button
with a spinner.
2026-05-21 00:26:15 +02:00
Roland Geider
dc5bd1e975
Consolidate localized number edit logic into its own widgets
2026-05-21 00:11:40 +02:00
Roland Geider
c411e8949a
Consolidate time and date picking logic into their own widgets
...
This makes it easier to fix things like localization, etc. in one place
2026-05-20 23:59:14 +02:00
Roland Geider
9913ee4699
Use WgerImage to render the trophies
...
This also handles any possible errors that might occur loading the image
2026-05-20 23:12:36 +02:00
HackingAll
4bcb47f44b
Added translation using Weblate (Galician)
2026-05-20 21:37:44 +02:00
Edson Wolf
8ab9c461a5
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (404 of 404 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2026-05-20 21:37:43 +02:00
Edson Wolf
8b22399056
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (402 of 402 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2026-05-20 21:37:43 +02:00
Tiago Natale
f52e0e2924
Translated using Weblate (Spanish)
...
Currently translated at 93.7% (377 of 402 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-05-20 21:37:42 +02:00
Edson Wolf
63281338b1
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (402 of 402 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2026-05-20 21:37:41 +02:00
Emil
b473c9090b
Translated using Weblate (German)
...
Currently translated at 94.2% (379 of 402 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2026-05-20 21:37:40 +02:00
Milo Ivir
48f88db033
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (402 of 402 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-05-20 21:37:39 +02:00
Ninguém Mesmo
54b9f2d94d
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (402 of 402 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-05-20 21:37:39 +02:00
Dora Chiu
253e0a45a3
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 84.3% (333 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:38 +02:00
Dora Chiu
a1ff4decce
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 84.3% (333 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:37 +02:00
ial nosna
62cf596efb
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 84.3% (333 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:36 +02:00
BlaireWang
170507c59b
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 84.3% (333 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:35 +02:00
Afra
73c03e8dd6
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 84.3% (333 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:35 +02:00
BlaireWang
8d85840143
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 72.4% (286 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:34 +02:00
greeenos
7651c04d38
Translated using Weblate (Czech)
...
Currently translated at 77.7% (307 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/cs/
2026-05-20 21:37:33 +02:00
Edson Wolf
c0e3011796
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (395 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2026-05-20 21:37:32 +02:00
BlaireWang
2e4117b8bb
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 67.5% (267 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:32 +02:00
Ninguém Mesmo
ff08659777
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (395 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-05-20 21:37:31 +02:00
Mirco Pasquale
529c772f5b
Translated using Weblate (Italian)
...
Currently translated at 82.7% (327 of 395 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2026-05-20 21:37:30 +02:00
Dora Chiu
64c45fe026
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 67.0% (262 of 391 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:29 +02:00
Afra
4cbf561e33
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 67.0% (262 of 391 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2026-05-20 21:37:28 +02:00
sontor1
e5ae7b19f0
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 26.0% (102 of 391 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nb_NO/
2026-05-20 21:37:27 +02:00
Kudzai Bosha
9f9ab418b7
Translated using Weblate (Shona)
...
Currently translated at 1.0% (4 of 391 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/sn/
2026-05-20 21:37:26 +02:00
Kudzai Bosha
3af15a5d17
Added translation using Weblate (Shona)
2026-05-20 21:37:25 +02:00
Roland Geider
7e7b441faa
Properly handle localized inputs in further forms
2026-05-20 21:36:49 +02:00
Roland Geider
814c1cb915
Properly handle localized inputs in the goal macros widget
...
Closes #1197
2026-05-20 21:23:23 +02:00
Roland Geider
508b552fc7
Remove unused fatalResponseCodes
...
This was originally copied from the powersync demo app, and is not used here
2026-05-20 21:02:15 +02:00
pankaj-basnet
a5cb4e291b
feat(nutrition): add ingredient filters model and repository, riverpod providers for ingredient state and filtering, reusable ingredient UI components and localization, integrate ingredients and nutritional plans screens
...
files added/modified:
lib/models/nutrition/ingredient_filters.dart lib/providers/ingredient_repository.dart
lib/providers/ingredient_notifier.dart lib/providers/ingredient_notifier.g.dart lib/providers/ingredient_filters_notifier.dart lib/providers/ingredient_filters_notifier.g.dart
lib/l10n/app_en.arb lib/widgets/nutrition/ingredient_list_tile.dart lib/widgets/nutrition/ingredient_detail.dart lib/widgets/nutrition/ingredient_filter_row.dart lib/widgets/nutrition/ingredient_images.dart
lib/main.dart lib/screens/ingredients_screen.dart lib/screens/ingredient_screen.dart lib/screens/nutritional_plans_screen.dart
2026-05-20 21:51:11 +05:45
Roland Geider
bf9916adf9
Merge remote-tracking branch 'origin/master' into feature/offline-mode
...
# Conflicts:
# ios/Podfile.lock
# lib/l10n/app_en.arb
# lib/main.dart
# lib/providers/user.dart
# lib/widgets/core/settings.dart
# pubspec.yaml
# test/core/settings_test.dart
# test/core/settings_test.mocks.dart
# test/user/provider_test.dart
2026-05-20 16:55:17 +02:00
Roland Geider
25b444103f
Correctly load the notes and aliases for exercises
2026-05-20 16:34:21 +02:00
Roland Geider
f8187b293f
Cleanup exercise models
...
Save the dependant object (such as language), and not the ID as well as the object.
2026-05-20 16:10:27 +02:00
Roland Geider
4866551ef4
Move exercises and their translations to RawTables
...
This was causing some delays since we always load all exercise data upfront
and this was causing a noticeable delay.
2026-05-20 15:05:45 +02:00
Roland Geider
0674066f12
Remove unused code and mocks
2026-05-20 14:19:45 +02:00
Roland Geider
cbf6884a30
Update the online connectivity gates
...
Some of these models can now be edited completely locally, others only partly
(e.g. the gallery entries can only be created online)
2026-05-20 14:14:00 +02:00
Roland Geider
d71bbcfeec
Update to flutter 3.44
2026-05-19 17:30:48 +02:00
Roland Geider
dcebb3a2e7
Add script to check language lists stay in sync
...
This is also run on commits, so we get alerted when we forget to add new locales
2026-05-18 10:27:25 +02:00
Roland Geider
475442e779
Consolidate locale handling logic
2026-05-18 09:40:12 +02:00
Pawel Haracz
822cedf9a4
feat(settings): add in-app language switcher
...
Adds a per-user language override in Settings that takes precedence over
the system locale, fixing #439 . Selecting "System default" clears the
override and falls back to the existing localeListResolutionCallback.
Also declares CFBundleLocalizations in the iOS Info.plist so iOS 16+ users
get the native per-app language picker (Settings → wger → Language) as an
alternative entry point.
Implementation mirrors the existing themeMode flow on UserProvider, with
the selected locale persisted in SharedPreferences under PREFS_USER_LOCALE
and matched against AppLocalizations.supportedLocales on load to preserve
script-bearing locales (zh_Hant, pt_BR, ...).
2026-05-16 15:31:34 +02:00
Roland Geider
944b27e38e
Also sync all the license information, even if we don't expose all of that right now
2026-05-15 13:03:16 +02:00