Also add link to exercise submission screen

This commit is contained in:
Roland Geider committed 2025-05-11 17:00:17 +02:00
1 parent f091694b47
commit 116888d824
20 files changed
+37 -13

No files matched your search

+4 -4
View File
@@ -115,12 +115,12 @@ const MIN_ACCOUNT_AGE = 14;
/// Different project URLs
const GITHUB_PROJECT_URL = 'https://github.com/wger-project';
const GITHUB_REPO_URL = 'https://github.com/wger-project/flutter';
const GITHUB_ISSUES_URL = 'https://github.com/wger-project/flutter/issues/new/choose';
const GITHUB_REPO_URL = '$GITHUB_PROJECT_URL/flutter';
const GITHUB_ISSUES_URL = '$GITHUB_REPO_URL/issues/new/choose';
const GITHUB_ISSUES_BUG_URL = '$GITHUB_REPO_URL/issues/new?template=1_bug.yml';
const GITHUB_SPONSORS_URL = 'https://github.com/sponsors/wger-project';
const DISCORD_URL = 'https://discord.gg/rPWFv6W';
const MASTODON_URL = 'https://fosstodon.org/@wger';
const WEBLATE_URL = 'https://hosted.weblate.org/engage/wger';
const BUY_ME_A_COFFE_URL = 'https://buymeacoffee.com/wger';
const BUY_ME_A_COFFEE_URL = 'https://buymeacoffee.com/wger';
const LIBERAPAY_URL = 'https://liberapay.com/wger';
const GITHUB_SPONSORS_URL = 'https://github.com/sponsors/wger-project';
+1
View File
@@ -414,6 +414,7 @@
},
"registerInstead": "ليس لديك حساب ؟ سجّل الان",
"@registerInstead": {},
"aboutMastodonTitle": "Mastodon",
"repetitions": "التكرار",
"@repetitions": {
"description": "Generated entry for translation for server strings"
+1
View File
@@ -651,6 +651,7 @@
}
}
},
"aboutMastodonTitle": "Mastodon",
"selectEntry": "Si us plau, selecciona una entrada",
"@selectEntry": {},
"baseNameEnglish": "Tots els exercicis necessiten un nom base en anglès",
+1
View File
@@ -597,6 +597,7 @@
"@noMatchingExerciseFound": {
"description": "Message returned if no exercises match the searched string"
},
"aboutMastodonTitle": "Mastodon",
"unVerifiedEmail": "Neověřený e-mail",
"@unVerifiedEmail": {},
"alsoKnownAs": "Také známé jako: {aliases}",
+1
View File
@@ -723,6 +723,7 @@
"@noMatchingExerciseFound": {
"description": "Message returned if no exercises match the searched string"
},
"aboutMastodonTitle": "Mastodon",
"plates": "Platten",
"@plates": {
"description": "Generated entry for translation for server strings"
+5 -5
View File
@@ -551,16 +551,16 @@
"@aboutDescription": {
"description": "Text in the about dialog"
},
"aboutDonateTitle": "Donate",
"aboutDonateTitle": "Make a donation",
"aboutDonateText": "While the project is free and will always remain it, running the server isn’t! Development also takes significant time and effort from volunteers. Your contribution directly supports these costs, helping to keep the service reliable.",
"aboutContributeTitle": "Contribute",
"aboutContributeText": "All types of contributions are encouraged. Whether you're a developer, a translator, or just passionate about fitness, every bit of support is appreciated!",
"aboutBugsListTitle": "Report a problem or suggest a feature",
"aboutTranslationListTitle": "Help translate the application",
"aboutTranslationListTitle": "Translate the application",
"aboutSourceListTitle": "View source code",
"aboutJoinCommunityTitle": "Join the community",
"aboutContactUsListTitle": "Chat on Discord",
"aboutMastodonListTitle": "Follow us on Mastodon",
"aboutMastodonTitle": "Mastodon",
"aboutDiscordTitle": "Discord",
"others": "Others",
"calendar": "Calendar",
"@calendar": {},
@@ -739,7 +739,7 @@
"settingsExerciseCacheDescription": "Exercise cache",
"settingsIngredientCacheDescription": "Ingredient cache",
"settingsCacheDeletedSnackbar": "Cache successfully cleared",
"aboutPageTitle": "About & Support",
"aboutPageTitle": "About us & Support",
"contributeExerciseWarning": "You can only contribute exercises if your account is older than {days} days and have verified your email",
"@contributeExerciseWarning": {
"description": "Number of days before which a person can add exercise",
+1
View File
@@ -740,6 +740,7 @@
"@noMatchingExerciseFound": {
"description": "Message returned if no exercises match the searched string"
},
"aboutMastodonTitle": "Mastodon",
"settingsExerciseCacheDescription": "Cache de ejercicios",
"@settingsExerciseCacheDescription": {},
"aboutDonateTitle": "Donar",
+1
View File
@@ -736,6 +736,7 @@
"@onlyLogging": {},
"onlyLoggingHelpText": "Cochez la case si vous souhaitez uniquement enregistrer vos calories et ne souhaitez pas établir un plan nutritionnel détaillé avec des repas spécifiques",
"@onlyLoggingHelpText": {},
"aboutMastodonTitle": "Mastodon",
"aboutDonateTitle": "Faire un don",
"@aboutDonateTitle": {},
"goalEnergy": "Objectif énergétique",
+1
View File
@@ -780,6 +780,7 @@
"@lower_back": {
"description": "Generated entry for translation for server strings"
},
"aboutMastodonTitle": "Mastodon",
"noMatchingExerciseFound": "Nisu pronađene odgovarajuće vježbe",
"@noMatchingExerciseFound": {
"description": "Message returned if no exercises match the searched string"
+1
View File
@@ -639,6 +639,7 @@
"@add_exercise_image_license": {},
"baseNameEnglish": "Tutti gli esercizi necessitano di un nome base in inglese",
"@baseNameEnglish": {},
"aboutMastodonTitle": "Mastodonte",
"enterMinCharacters": "Inserisci almeno {min} caratteri",
"@enterMinCharacters": {
"description": "Error message when the user hasn't entered the minimum amount characters in a form",
+1
View File
@@ -710,6 +710,7 @@
},
"searchNamesInEnglish": "Szukaj również w języku angielskim",
"@searchNamesInEnglish": {},
"aboutMastodonTitle": "Mastodon",
"plates": "Talerze",
"@plates": {
"description": "Generated entry for translation for server strings"
+1
View File
@@ -740,6 +740,7 @@
"@noMatchingExerciseFound": {
"description": "Message returned if no exercises match the searched string"
},
"aboutMastodonTitle": "Mastodon",
"aboutDonateTitle": "Doar",
"@aboutDonateTitle": {},
"aboutDonateText": "Nos compre um café para ajudar o projeto, pagar os custos do servidor e nos manter energizados",
+1
View File
@@ -447,6 +447,7 @@
},
"useMetric": "Use unidades métricas para peso corporal",
"@useMetric": {},
"aboutMastodonTitle": "Mastodon",
"selectEntry": "Por favor, selecione uma entrada",
"@selectEntry": {},
"noMatchingExerciseFound": "Nenhum exercício correspondente encontrado",
+1
View File
@@ -848,6 +848,7 @@
"@lower_back": {
"description": "Generated entry for translation for server strings"
},
"aboutMastodonTitle": "Мастодонт",
"surplus": "превышение",
"@surplus": {
"description": "Caloric surplus (either planned or unplanned)"
+1
View File
@@ -546,6 +546,7 @@
"@aboutDescription": {
"description": "Text in the about dialog"
},
"aboutMastodonTitle": "மாச்டோடன்",
"aboutDonateTitle": "நன்கொடை",
"@aboutDonateTitle": {},
"aboutDonateText": "திட்டத்திற்கு உதவ எங்களுக்கு ஒரு காபி வாங்கவும், சேவையக செலவினங்களுக்கு பணம் செலுத்தவும், எங்களை எரிபொருளாக வைத்திருக்கவும்",
+1
View File
@@ -720,6 +720,7 @@
"@lb": {
"description": "Generated entry for translation for server strings"
},
"aboutMastodonTitle": "Mastodon",
"settingsTitle": "Ayarlar",
"@settingsTitle": {},
"settingsCacheTitle": "Önbellek",
+1
View File
@@ -865,6 +865,7 @@
"@ingredientLogged": {},
"selectMealToLog": "Виберіть страву, щоб записати в щоденник",
"@selectMealToLog": {},
"aboutMastodonTitle": "Мастодонт",
"settingsCacheTitle": "Кеш",
"@settingsCacheTitle": {},
"settingsCacheDeletedSnackbar": "Кеш успішно очищено",
+1
View File
@@ -923,6 +923,7 @@
"@glutes": {
"description": "Generated entry for translation for server strings"
},
"aboutMastodonTitle": "长毛象",
"routines": "训练计划",
"@routines": {},
"newRoutine": "新计划",
+1
View File
@@ -785,6 +785,7 @@
"@baseNameEnglish": {},
"aboutDonateText": "請我們喝杯咖啡來支持專案、支付伺服器費用,讓我們持續前進",
"@aboutDonateText": {},
"aboutMastodonTitle": "Mastodon",
"aboutDonateTitle": "贊助",
"@aboutDonateTitle": {},
"goToToday": "回到今天",
+11 -4
View File
@@ -23,6 +23,7 @@ import 'package:wger/helpers/consts.dart';
import 'package:wger/helpers/misc.dart';
import 'package:wger/l10n/generated/app_localizations.dart';
import 'package:wger/providers/auth.dart';
import 'package:wger/screens/add_exercise_screen.dart';
class AboutPage extends StatelessWidget {
static String routeName = '/AboutPage';
@@ -117,6 +118,12 @@ class AboutPage extends StatelessWidget {
contentPadding: EdgeInsets.zero,
onTap: () => launchURL(GITHUB_PROJECT_URL, context),
),
ListTile(
leading: const FaIcon(FontAwesomeIcons.dumbbell, size: 18),
title: Text(i18n.contributeExercise),
contentPadding: EdgeInsets.zero,
onTap: () => Navigator.of(context).pushNamed(AddExerciseScreen.routeName),
),
_buildSectionSpacer(),
_buildSectionHeader(context, i18n.aboutDonateTitle),
@@ -131,8 +138,8 @@ class AboutPage extends StatelessWidget {
children: [
ElevatedButton.icon(
icon: const FaIcon(FontAwesomeIcons.mugHot, size: 18),
label: const Text('Buy Me A Coffee'),
onPressed: () => launchURL(BUY_ME_A_COFFE_URL, context),
label: const Text('Buy me a coffee'),
onPressed: () => launchURL(BUY_ME_A_COFFEE_URL, context),
),
ElevatedButton.icon(
icon: const FaIcon(FontAwesomeIcons.solidHeart, size: 18),
@@ -152,13 +159,13 @@ class AboutPage extends StatelessWidget {
_buildSectionHeader(context, i18n.aboutJoinCommunityTitle),
ListTile(
leading: const FaIcon(FontAwesomeIcons.discord),
title: Text(i18n.aboutContactUsListTitle),
title: Text(i18n.aboutDiscordTitle),
contentPadding: EdgeInsets.zero,
onTap: () => launchURL(DISCORD_URL, context),
),
ListTile(
leading: const FaIcon(FontAwesomeIcons.mastodon),
title: Text(i18n.aboutMastodonListTitle),
title: Text(i18n.aboutMastodonTitle),
contentPadding: EdgeInsets.zero,
onTap: () => launchURL(MASTODON_URL, context),
),