Commit Graph

1615 Commits

Author SHA1 Message Date
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
Roland Geider
cf0fd0ed33 Merge pull request #343 from wger-project/dependabot/pub/url_launcher-6.1.9
Bump url_launcher from 6.1.8 to 6.1.9
2023-02-13 08:45:13 +01:00
Roland Geider
658e880b92 Merge pull request #344 from wger-project/dependabot/pub/font_awesome_flutter-10.4.0
Bump font_awesome_flutter from 10.3.0 to 10.4.0
2023-02-13 08:45:01 +01:00
dependabot[bot]
3f38df4749 Bump font_awesome_flutter from 10.3.0 to 10.4.0
Bumps [font_awesome_flutter](https://github.com/fluttercommunity/font_awesome_flutter) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/fluttercommunity/font_awesome_flutter/releases)
- [Changelog](https://github.com/fluttercommunity/font_awesome_flutter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fluttercommunity/font_awesome_flutter/compare/10.3.0...10.4.0)

---
updated-dependencies:
- dependency-name: font_awesome_flutter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 01:51:40 +00:00
dependabot[bot]
e63d3a1cbc Bump url_launcher from 6.1.8 to 6.1.9
Bumps [url_launcher](https://github.com/flutter/plugins/tree/main/packages/url_launcher) from 6.1.8 to 6.1.9.
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/commits/url_launcher-v6.1.9/packages/url_launcher)

---
updated-dependencies:
- dependency-name: url_launcher
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 01:51:07 +00: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
8e6eadf1b9 Annotate the needed mocks for each test
This makes it clear where they are loaded from
2023-02-11 13:50:42 +01:00
Roland Geider
fcfa1ceabf Annotate the needed mocks for each test
This makes it clear where they are loaded from
2023-02-11 13:45:42 +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
6477e39dce Update screenshot URLs 2023-02-10 17:13:12 +01:00
Roland Geider
378a281e5c Return the base id, not the translation id! 2023-02-10 14:27:03 +01:00
Roland Geider
594ff1169f Update coment, we don't use branches for releases 2023-02-10 13:20:51 +01:00
Roland Geider
ab9572d46a Cleanup 2023-02-10 13:19:55 +01:00
Github-actions
ca7bd20dd8 Bump version to 1.5.2+29 1.5.2 2023-02-10 10:54:18 +00: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
16cdd6cb47 Merge pull request #337 from Dinokojt7/patch-1
fix: removed extra blank line between sections
2023-02-08 12:20:15 +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
0e0ae643cb Update gradle plugin version and other properties
This was basically done by creating a new flutter project and comparing the
different generated files
2023-02-07 21:39:14 +01:00
Roland Geider
c42dc0c825 Replace the deprecated flutter format with dart format 2023-02-07 20:30: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
e865e8c640 Merge branch 'Harshit933-master' 2023-02-06 22:32:52 +01:00
Roland Geider
b4aa27327b Update Gemfile.lock 2023-02-06 22:32:43 +01:00
Roland Geider
b1b60b691c Fix screenshot tests 2023-02-06 22:32:22 +01:00
Roland Geider
57e7464d2d Some polishing 2023-02-06 22:31:35 +01:00
Github-actions
90501ad35c Automatic linting 2023-02-06 19:35:13 +00:00
Roland Geider
4f4f6f553a Add paginated fetches
This allows the app to fetch all available items from an enpoint, without
having to hope that the ?limit=999 is enough

Closes #133
2023-02-06 20:33:39 +01:00
Roland Geider
17af1983c6 Merge pull request #339 from wger-project/dependabot/pub/flutter_typeahead-4.3.3
Bump flutter_typeahead from 4.3.2 to 4.3.3
2023-02-06 09:03:20 +01:00
Roland Geider
e3b761cfa0 Merge pull request #340 from wger-project/dependabot/pub/json_serializable-6.6.1
Bump json_serializable from 6.6.0 to 6.6.1
2023-02-06 09:03:06 +01:00
dependabot[bot]
4c434b3cc1 Bump json_serializable from 6.6.0 to 6.6.1
Bumps [json_serializable](https://github.com/google/json_serializable.dart) from 6.6.0 to 6.6.1.
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](https://github.com/google/json_serializable.dart/compare/json_serializable-v6.6.0...json_serializable-v6.6.1)

---
updated-dependencies:
- dependency-name: json_serializable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 00:56:10 +00:00
dependabot[bot]
042282e225 Bump flutter_typeahead from 4.3.2 to 4.3.3
Bumps [flutter_typeahead](https://github.com/AbdulRahmanAlHamali/flutter_typeahead) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/AbdulRahmanAlHamali/flutter_typeahead/releases)
- [Changelog](https://github.com/AbdulRahmanAlHamali/flutter_typeahead/blob/master/CHANGELOG.md)
- [Commits](https://github.com/AbdulRahmanAlHamali/flutter_typeahead/commits)

---
updated-dependencies:
- dependency-name: flutter_typeahead
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 00:55:42 +00:00
Roland Geider
28091ad0e4 Fix tests 2023-02-05 22:44:30 +01:00
Github-actions
1370a7a666 Automatic linting 2023-02-05 21:39:05 +00:00
Roland Geider
23ffdce290 Load all available languages 2023-02-05 22:37:05 +01:00
Roland Geider
a90a304124 Fix tests 2023-02-05 21:28:53 +01:00
Roland Geider
dd814063f3 Remlace deprecated ignore parameter 2023-02-05 21:28:41 +01:00
Roland Geider
f68afd91fd Rename exercise object to translation
This is what they are now anyway and makes it more clear
2023-02-05 21:24:28 +01:00