Commit Graph

808 Commits

Author SHA1 Message Date
Roland Geider
e79f46e2fc Add missing languages 2026-05-21 09:39:00 +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
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
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
0e7b7cb5a0 Suppress print warnings 2026-05-07 19:57:35 +02:00
Roland Geider
1119d8bc4a Merge pull request #1186 from aria-tec/master
feat(android): implement Android 13 per-app language support (#550)
2026-05-07 11:31:32 +02:00
AlexisBirling3
7fb64b2925 shortens the displayed error message and adds link to doc 2026-05-03 18:12:33 +02:00
AlexisBirling3
67f1569148 adds i18n for the new widget 2026-05-03 18:12:33 +02:00
Roland Geider
164d553fde Improve the exercise search autocompleter
Closes #1182
Co-authored-by: Pankaj Basnet <165250380+pankaj-basnet@users.noreply.github.com>
2026-05-03 17:54:07 +02:00
aria-tec
01f68546dc fix: address review comments (fix syntax and update README) 2026-05-01 08:56:45 +07:00
kiranannadatha8
b7f7e43fa3 refactor(nutrition): collapse Nutri-Score toggle into single slider
Mirrors the React refactor in wger-project/react#1237 addressing
Roland's review — the SwitchListTile + conditional Slider pair
expressed one semantic decision ("what grade ceiling?") through two
controls. Folded "Off" into the slider itself:

- Slider stops are now Off | A | B | C | D | E (was A..E, gated by
  a SwitchListTile).
- Off position sends no `nutriscoreMax`; A..E map as before.
- Heading changed from "Filter by Nutri-Score" to "Nutri-Score
  filter", with a dynamic helper ("No filter" / "<grade> or better").
- Model: `IngredientFilters.nutriscoreMax` is now nullable; removed
  `filterNutriscore`. `copyWith` takes a `clearNutriscoreMax` flag
  because Dart's `??` cannot distinguish "no argument" from "null".
- Storage collapsed: `saveIngredientNutriscoreMax(null)` removes the
  key; `getIngredientNutriscoreMax()` returns `null` when absent.
- Riverpod notifier: removed `toggleNutriscore`; `chooseNutriscoreMax`
  now takes `NutriScore?`.
- l10n: removed `filterNutriscoreMax`; added `filterNutriscoreOff`,
  `filterNutriscoreNoFilter`, `filterNutriscoreOrBetter` (placeholder).

Tests updated: 61/61 pass.
2026-04-20 10:33:08 -04:00
kiranannadatha8
a5114851fe feat(nutrition): filter ingredient search by Nutri-Score
Adds a "Filter by Nutri-Score" switch and an A–E discrete slider to
the ingredient search filter popover. The worst acceptable grade is
sent to the backend as `nutriscore__lte=<a|b|c|d|e>`, matching the
new filter exposed by wger-project/wger#2295.

- Extend `IngredientFilters` with `filterNutriscore` + `nutriscoreMax`
- Persist both settings through `PreferenceHelper`
- Expose `toggleNutriscore` and `chooseNutriscoreMax` on the riverpod
  notifier
- Propagate `nutriscoreMax` through `NutritionPlansProvider.searchIngredient`
- Add English strings `filterNutriscore` / `filterNutriscoreMax`
- Widget tests cover: slider hidden until switch flipped, query emitted
  with/without the filter
- Update stale generated Mockito overrides across the four test files
  that mock `NutritionPlansProvider` so the new named arg lines up

Refs wger-project/wger#2295
2026-04-19 01:44:59 -04:00
Maksymilian Burdziej
2fc43bcea7 Translated using Weblate (Polish)
Currently translated at 89.3% (344 of 385 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2026-04-14 19:37:03 +02:00
Roland Geider
bceae559f7 Merge branch 'master' into feature/version-2.5 2026-04-14 12:10:20 +02:00
vonab65821
9898523c60 Added translation using Weblate (Urdu) 2026-04-13 17:58:01 +00:00
sontor1
ad020f7e91 Translated using Weblate (Norwegian Bokmål)
Currently translated at 26.4% (102 of 385 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nb_NO/
2026-04-13 17:58:00 +00:00
Edson Wolf
c8eb63a11b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (385 of 385 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2026-04-13 17:57:59 +00:00
Pawel Jelonek
59bb78580f Translated using Weblate (Polish)
Currently translated at 82.3% (317 of 385 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2026-04-13 17:57:59 +00:00
Milo Ivir
f464303785 Translated using Weblate (Croatian)
Currently translated at 100.0% (385 of 385 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-04-13 17:57:58 +00:00
Ninguém Mesmo
f70e0b4d5e Translated using Weblate (Portuguese)
Currently translated at 100.0% (385 of 385 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-04-13 17:57:57 +00:00
Eliza
9b527415e5 Translated using Weblate (Polish)
Currently translated at 81.7% (314 of 384 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2026-04-13 17:57:56 +00:00
Roland Geider
bdc5e541e2 Merge branch 'feature/markdown-exercises' into feature/version-2.5 2026-04-10 10:35:34 +02:00
Roland Geider
301c2e42ce Merge branch 'feature/add-warmup-type' into feature/version-2.5
# Conflicts:
#	test/core/validators_test.mocks.dart
2026-04-10 10:35:10 +02:00
Roland Geider
85b261fad7 Group slots in the UI with the same exercise
This allows the user to add different slots (sets) to an exercise, like
10 x 10kg, 8 x 12kg, 6 x 15kg. Also note that this is purely a UI change,
as it was already possible to simply add the same exercise again.
2026-03-29 20:46:13 +02:00
Thomas Peyrot
7880c59612 Translated using Weblate (French)
Currently translated at 99.2% (381 of 384 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-03-28 16:04:07 +01:00
Ninguém Mesmo
6b0d744065 Translated using Weblate (Portuguese)
Currently translated at 100.0% (384 of 384 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-03-28 16:04:06 +01:00
Hesham sraj
5644c2c6e5 Translated using Weblate (Arabic)
Currently translated at 99.2% (381 of 384 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ar/
2026-03-28 16:04:05 +01:00