diff --git a/android/app/src/main/res/xml/locales_config.xml b/android/app/src/main/res/xml/locales_config.xml
index 64cf1b329..5d088c4ae 100644
--- a/android/app/src/main/res/xml/locales_config.xml
+++ b/android/app/src/main/res/xml/locales_config.xml
@@ -11,6 +11,7 @@
+
@@ -29,6 +30,7 @@
+
diff --git a/fastlane/metadata/android/nb-NO/full_description.txt b/fastlane/metadata/android/nb-NO/full_description.txt
index e5160aa75..c9fe2a85e 100644
--- a/fastlane/metadata/android/nb-NO/full_description.txt
+++ b/fastlane/metadata/android/nb-NO/full_description.txt
@@ -1,6 +1,38 @@
-wger (ˈvɛɡɐ) er gemenhetslig fri programvare som hjelper din helse.
+Fra treningsentusiaster til treningsentusiaster – få helsen din organisert med WGER, din treningsmanager!
-- Planlegg treningsøkter og ernæring
-- Lagre øvelser og kommenter dem
-- Helsestudio-modus
-- Dagbok og utviklingssporing
+Har du allerede funnet din favoritt treningsapp og elsker du å lage dine egne treningsrutiner? Uansett hvilken type treningsgal du er – vi har alle noe til felles: Vi elsker å holde oversikt over helsedata <3
+
+Så vi dømmer deg ikke for at du fortsatt styrer treningsreisen din med den lille treningsdagboken din, men velkommen til 2025!
+
+Vi har utviklet en 100% gratis digital helse- og treningssporer-app for deg, trimmet ned til de mest relevante funksjonene for å gjøre livet ditt enklere. Kom i gang, fortsett å trene og feir fremgangen din!
+
+wger er et Open Source-prosjekt og handler om:
+* Kroppen din
+* Treningene dine
+* Fremgangen din
+* Dataene dine
+
+Kroppen din: Ikke noe behov for å google ingrediensene i favorittmatene dine – velg dine daglige måltider fra mer enn 78 000 produkter og se næringsverdiene. Legg til måltider i ernæringsplanen og hold oversikt over kostholdet ditt i kalenderen.
+
+Treningene dine:
+Du vet hva som er best for kroppen din. Lag dine egne treningsøkter fra et voksende utvalg på 200 forskjellige øvelser. Bruk deretter Gym-modus for å guide deg gjennom treningen mens du logger vektene dine med ett trykk.
+
+Fremgangen din:
+Mist aldri målet av syne. Spor vekten din og hold statistikken din.
+
+Dataene dine:
+Wger er din personlige treningsdagbok – men du eier dataene dine. Bruk REST API-et for å få tilgang til dem og gjøre fantastiske ting med dem.
+
+Vær oppmerksom på: Denne gratis appen er ikke basert på ekstern finansiering, og vi ber deg ikke om å donere penger. Den er et fellesskapsprosjekt som vokser konstant. Så vær forberedt på nye funksjoner når som helst!
+
+#OpenSource – hva betyr det?
+
+Open Source betyr at hele kildekoden for denne appen og serveren den kommuniserer med er gratis og tilgjengelig for alle:
+* Vil du kjøre wger på din egen server for deg selv eller det lokale treningssenteret ditt? Bare gjør det!
+* Savner du en funksjon og vil implementere den? Start nå!
+* Vil du sjekke at ingenting sendes noe sted? Det kan du!
+
+Bli med i fellesskapet vårt og bli en del av treningsentusiaster og IT-nerder fra hele verden. Vi jobber kontinuerlig med å tilpasse og optimalisere appen etter våre behov. Vi elsker dine innspill, så hopp gjerne inn når som helst og bidra med ønsker og ideer!
+
+-> finn kildekoden på https://github.com/wger-project
+-> still spørsmål eller si hei på vår Discord-server https://discord.gg/rPWFv6W
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index b1e29dcc5..624540307 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -25,6 +25,7 @@
fa
fil
fr
+ gl
he
hi
hr
@@ -43,6 +44,7 @@
ro
ru
sk
+ sn
ta
th
tr
diff --git a/lib/helpers/consts.dart b/lib/helpers/consts.dart
index 6ee92d303..a68b2eed4 100644
--- a/lib/helpers/consts.dart
+++ b/lib/helpers/consts.dart
@@ -129,6 +129,9 @@ 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';
+
+/// Maximum length for a pre-filled GitHub issue URL
+const GITHUB_ISSUES_MAX_URL_LENGTH = 8000;
const DISCORD_URL = 'https://discord.gg/rPWFv6W';
const MASTODON_URL = 'https://fosstodon.org/@wger';
const READTHEDOCS_URL = 'https://wger.readthedocs.io';
diff --git a/lib/helpers/errors.dart b/lib/helpers/errors.dart
index 8741d91ce..24ca8e1fb 100644
--- a/lib/helpers/errors.dart
+++ b/lib/helpers/errors.dart
@@ -24,6 +24,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
+import 'package:http/http.dart' as http;
import 'package:json_annotation/json_annotation.dart';
import 'package:logging/logging.dart';
import 'package:url_launcher/url_launcher.dart';
@@ -36,6 +37,24 @@ import 'package:wger/providers/workout_logs_notifier.dart';
import 'consts.dart';
import 'logs.dart';
+/// Whether an error dialog is currently on screen.
+///
+/// Errors can fire in quick succession; this guards against stacking several
+/// modal dialogs on top of each other.
+bool _errorDialogVisible = false;
+
+/// How an error should be surfaced to the user.
+enum ErrorSeverity {
+ /// Logged only; not worth interrupting the user (e.g. layout overflows).
+ cosmetic,
+
+ /// A brief, non-blocking snackbar (e.g. transient connectivity problems).
+ transient,
+
+ /// A blocking error dialog.
+ fatal,
+}
+
void showHttpExceptionErrorDialog(WgerHttpException exception, {BuildContext? context}) {
final logger = Logger('showHttpExceptionErrorDialog');
@@ -51,6 +70,12 @@ void showHttpExceptionErrorDialog(WgerHttpException exception, {BuildContext? co
return;
}
+ if (_errorDialogVisible) {
+ logger.info('Suppressing error dialog, one is already visible: $exception');
+ return;
+ }
+ _errorDialogVisible = true;
+
showDialog(
context: dialogContext,
builder: (ctx) => AlertDialog(
@@ -76,7 +101,7 @@ void showHttpExceptionErrorDialog(WgerHttpException exception, {BuildContext? co
),
],
),
- );
+ ).whenComplete(() => _errorDialogVisible = false);
}
void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext? context}) {
@@ -85,7 +110,7 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext
// of a widget's build method.
final BuildContext? dialogContext = context ?? navigatorKey.currentContext;
- final logger = Logger('showHttpExceptionErrorDialog');
+ final logger = Logger('showGeneralErrorDialog');
if (dialogContext == null) {
if (kDebugMode) {
@@ -94,32 +119,24 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext
return;
}
+ if (_errorDialogVisible) {
+ logger.info('Suppressing error dialog, one is already visible: $error');
+ return;
+ }
+ _errorDialogVisible = true;
+
final i18n = AppLocalizations.of(dialogContext);
- // If possible, determine the error title and message based on the error type.
+ // If possible, determine the issue title and message based on the error type.
// (Note that issue titles and error messages are not localized)
- bool allowReportIssue = true;
String issueTitle = 'An error occurred';
String issueErrorMessage = error.toString();
- String errorTitle = i18n.anErrorOccurred;
- String errorDescription = i18n.errorInfoDescription;
- var icon = Icons.error;
- if (error is TimeoutException) {
- issueTitle = 'Network Timeout';
- issueErrorMessage =
- 'The connection to the server timed out. Please check your '
- 'internet connection and try again.';
- } else if (error is FlutterErrorDetails) {
+ if (error is FlutterErrorDetails) {
issueTitle = 'Application Error';
issueErrorMessage = error.exceptionAsString();
} else if (error is MissingRequiredKeysException) {
issueTitle = 'Missing Required Key';
- } else if (error is SocketException) {
- allowReportIssue = false;
- icon = Icons.signal_wifi_connected_no_internet_4_outlined;
- errorTitle = i18n.errorCouldNotConnectToServer;
- errorDescription = i18n.errorCouldNotConnectToServerDetails;
}
final String fullStackTrace = stackTrace?.toString() ?? 'No stack trace available.';
@@ -134,16 +151,19 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext
spacing: 8,
mainAxisAlignment: MainAxisAlignment.center,
children: [
- Icon(icon, color: Theme.of(context).colorScheme.error),
+ Icon(Icons.error, color: Theme.of(context).colorScheme.error),
Expanded(
- child: Text(errorTitle, style: TextStyle(color: Theme.of(context).colorScheme.error)),
+ child: Text(
+ i18n.anErrorOccurred,
+ style: TextStyle(color: Theme.of(context).colorScheme.error),
+ ),
),
],
),
content: SingleChildScrollView(
child: ListBody(
children: [
- Text(errorDescription),
+ Text(i18n.errorInfoDescription),
const SizedBox(height: 8),
Text(i18n.errorInfoDescription2),
const SizedBox(height: 10),
@@ -198,42 +218,29 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext
),
),
actions: [
- if (allowReportIssue)
- TextButton(
- child: const Text('Report issue'),
- onPressed: () async {
- final logText = applicationLogs.isEmpty
- ? '-- No logs available --'
- : applicationLogs.join('\n');
- final description = Uri.encodeComponent(
- '## Description\n\n'
- '[Please describe what you were doing when the error occurred.]\n\n'
- '## Error details\n\n'
- 'Error title: $issueTitle\n'
- 'Error message: $issueErrorMessage\n'
- 'Stack trace:\n'
- '```\n$stackTrace\n```\n\n'
- 'App logs (last ${applicationLogs.length} entries):\n'
- '```\n$logText\n```',
- );
- final githubIssueUrl =
- '$GITHUB_ISSUES_BUG_URL'
- '&title=$issueTitle'
- '&description=$description';
- final Uri reportUri = Uri.parse(githubIssueUrl);
+ TextButton(
+ child: const Text('Report issue'),
+ onPressed: () async {
+ final githubIssueUrl = buildGithubIssueUrl(
+ issueTitle: issueTitle,
+ issueErrorMessage: issueErrorMessage,
+ stackTrace: fullStackTrace,
+ applicationLogs: applicationLogs,
+ );
+ final Uri reportUri = Uri.parse(githubIssueUrl);
- try {
- await launchUrl(reportUri, mode: LaunchMode.externalApplication);
- } catch (e) {
- if (kDebugMode) {
- logger.warning('Error launching URL: $e');
- }
- ScaffoldMessenger.of(
- context,
- ).showSnackBar(SnackBar(content: Text('Error opening issue tracker: $e')));
+ try {
+ await launchUrl(reportUri, mode: LaunchMode.externalApplication);
+ } catch (e) {
+ if (kDebugMode) {
+ logger.warning('Error launching URL: $e');
}
- },
- ),
+ ScaffoldMessenger.of(
+ context,
+ ).showSnackBar(SnackBar(content: Text('Error opening issue tracker: $e')));
+ }
+ },
+ ),
FilledButton(
child: Text(MaterialLocalizations.of(context).okButtonLabel),
onPressed: () {
@@ -243,7 +250,101 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext
],
);
},
- );
+ ).whenComplete(() => _errorDialogVisible = false);
+}
+
+/// Classifies [error] to decide how it should be surfaced.
+ErrorSeverity classifyError(Object? error) {
+ // Flutter reports layout overflows as a plain FlutterError without a
+ // dedicated type, so matching the message is the only option.
+ final isLayoutOverflow = error is FlutterError && error.toString().contains('overflowed');
+
+ if (error is NetworkImageLoadException || isLayoutOverflow) {
+ return ErrorSeverity.cosmetic;
+ }
+ if (error is SocketException || error is http.ClientException || error is TimeoutException) {
+ return ErrorSeverity.transient;
+ }
+ return ErrorSeverity.fatal;
+}
+
+/// Routes [error] to the appropriate UI based on its [ErrorSeverity].
+///
+/// The caller is responsible for logging the error beforehand.
+void handleError(Object? error, StackTrace? stackTrace) {
+ switch (classifyError(error)) {
+ case ErrorSeverity.cosmetic:
+ break;
+ case ErrorSeverity.transient:
+ showTransientErrorSnackbar();
+ case ErrorSeverity.fatal:
+ if (error is WgerHttpException) {
+ showHttpExceptionErrorDialog(error);
+ } else {
+ showGeneralErrorDialog(error, stackTrace);
+ }
+ }
+}
+
+/// Shows a brief, non-blocking snackbar telling the user about a (hopefully)
+/// transient error such as network problems, etc.
+void showTransientErrorSnackbar() {
+ final messenger = scaffoldMessengerKey.currentState;
+ final context = navigatorKey.currentContext;
+
+ if (messenger == null || context == null) {
+ if (kDebugMode) {
+ Logger(
+ 'showNetworkErrorSnackbar',
+ ).warning('Could not show snackbar: no messenger or context available.');
+ }
+ return;
+ }
+
+ messenger
+ ..clearSnackBars()
+ ..showSnackBar(
+ SnackBar(content: Text(AppLocalizations.of(context).errorCouldNotConnectToServer)),
+ );
+}
+
+/// Builds the URL that opens a pre-filled GitHub bug report.
+///
+/// The error details are passed to GitHub as query parameters and since
+/// GitHub rejects URLs longer than [GITHUB_ISSUES_MAX_URL_LENGTH], when
+/// the report would exceed that limit, the oldest log entries are pruned
+/// until the URL fits.
+String buildGithubIssueUrl({
+ required String issueTitle,
+ required String issueErrorMessage,
+ required String stackTrace,
+ required List applicationLogs,
+}) {
+ String composeUrl(List logs) {
+ final logText = logs.isEmpty ? '-- No logs available --' : logs.join('\n');
+ final description =
+ '## Description\n\n'
+ '[Please describe what you were doing when the error occurred.]\n\n'
+ '## Error details\n\n'
+ 'Error title: $issueTitle\n'
+ 'Error message: $issueErrorMessage\n'
+ 'Stack trace:\n```\n$stackTrace\n```\n\n'
+ 'App logs (last ${logs.length} entries):\n```\n$logText\n```';
+ return '$GITHUB_ISSUES_BUG_URL'
+ '&title=${Uri.encodeComponent(issueTitle)}'
+ '&description=${Uri.encodeComponent(description)}';
+ }
+
+ // The logs come newest-first, so the oldest entry is the last one. Drop it
+ // and retry until the URL fits within the limit.
+ var logs = applicationLogs;
+ while (true) {
+ final url = composeUrl(logs);
+ if (url.length <= GITHUB_ISSUES_MAX_URL_LENGTH || logs.isEmpty) {
+ return url;
+ }
+ logs = logs.sublist(0, logs.length - 1);
+ }
}
/// A widget to render HTML errors returned by the server
diff --git a/lib/l10n/app_cs.arb b/lib/l10n/app_cs.arb
index 0ec427519..381bb8382 100644
--- a/lib/l10n/app_cs.arb
+++ b/lib/l10n/app_cs.arb
@@ -1,895 +1,914 @@
{
- "passwordsDontMatch": "Hesla se neshodují",
- "@passwordsDontMatch": {
- "description": "Error message when the user enters two different passwords during registration"
- },
- "addMeal": "Přidat jídlo",
- "@addMeal": {},
- "password": "Heslo",
- "@password": {},
- "confirmPassword": "Potvrdit heslo",
- "@confirmPassword": {},
- "invalidEmail": "Zadejte platnou e-mailovou adresu",
- "@invalidEmail": {
- "description": "Error message when the user enters an invalid email"
- },
- "email": "E-mailová adresa",
- "@email": {},
- "username": "Uživatelské jméno",
- "@username": {},
- "customServerUrl": "Adresa URL instance wger",
- "@customServerUrl": {
- "description": "Label in the form where the users can enter their own wger instance"
- },
- "labelBottomNavWorkout": "Trénink",
- "@labelBottomNavWorkout": {
- "description": "Label used in bottom navigation, use a short word"
- },
- "labelWorkoutLogs": "Záznamy o cvičení",
- "@labelWorkoutLogs": {
- "description": "(Workout) logs"
- },
- "labelWorkoutPlan": "Plán cvičení",
- "@labelWorkoutPlan": {
- "description": "Title for screen workout plan"
- },
- "exerciseList": "Seznam cvičení",
- "@exerciseList": {},
- "exercise": "Cvičení",
- "@exercise": {
- "description": "An exercise for a workout"
- },
- "exercises": "Cvičení",
- "@exercises": {
- "description": "Multiple exercises for a workout"
- },
- "exerciseName": "Název cvičení",
- "@exerciseName": {
- "description": "Label for the name of a workout exercise"
- },
- "equipment": "Nářadí",
- "@equipment": {
- "description": "Equipment needed to perform an exercise"
- },
- "category": "Kategorie",
- "@category": {
- "description": "Category for an exercise, ingredient, etc."
- },
- "rir": "OvR",
- "@rir": {
- "description": "Shorthand for Repetitions In Reserve"
- },
- "rirNotUsed": "nepoužitá OvR",
- "@rirNotUsed": {
- "description": "Label used in RiR slider when the RiR value is not used/saved for the current setting or log"
- },
- "weightUnit": "Jednotka váhy",
- "@weightUnit": {},
- "set": "Sada",
- "@set": {
- "description": "A set in a workout plan"
- },
- "sameRepetitions": "Pokud uděláte stejné opakování a hmotnost pro všechny sady, můžete vyplnit pouze jednu řadu. Například pro 4 sady stačí zadat 10 pro opakování, toto se automaticky stává \"4 x 10\".",
- "@sameRepetitions": {},
- "comment": "Komentář",
- "@comment": {
- "description": "Comment, additional information"
- },
- "plateCalculator": "Závaží",
- "@plateCalculator": {
- "description": "Label used for the plate calculator in the gym mode"
- },
- "plateCalculatorNotDivisible": "Není možné dosáhnout hmotnosti s dostupnými závažími",
- "@plateCalculatorNotDivisible": {
- "description": "Error message when the current weight is not reachable with plates (e.g. 33.1 kg)"
- },
- "pause": "Pozastavit",
- "@pause": {
- "description": "Noun, not an imperative! Label used for the pause when using the gym mode"
- },
- "jumpTo": "Přeskočit na",
- "@jumpTo": {
- "description": "Imperative. Label used in popup allowing the user to jump to a specific exercise while in the gym mode"
- },
- "logHelpEntries": "Pokud je v jednom dni více než jeden záznam se stejným počtem opakování, ale různými váhami, je v diagramu zobrazen pouze záznam s vyšší hmotností.",
- "@logHelpEntries": {},
- "logHelpEntriesUnits": "Všimněte si, že pouze položky s hmotnostní jednotkou (kg nebo lb) a opakování jsou vykresleny, jiné kombinace, jako je čas nebo cvik do selhání jsou zde vynechány.",
- "@logHelpEntriesUnits": {},
- "description": "Popis",
- "@description": {},
- "name": "Název",
- "@name": {
- "description": "Name for a workout or nutritional plan"
- },
- "save": "Uložit",
- "@save": {},
- "addIngredient": "Přidat přísadu",
- "@addIngredient": {},
- "logIngredient": "Zaznamenat ingredienci do nutričního diáře",
- "@logIngredient": {},
- "searchIngredient": "Hledat přísadu",
- "@searchIngredient": {
- "description": "Label on ingredient search form"
- },
- "nutritionalDiary": "Nutriční deník",
- "@nutritionalDiary": {},
- "nutritionalPlans": "Nutriční plán",
- "@nutritionalPlans": {},
- "measurementCategoriesHelpText": "Kategorie měření, například \"biceps\" nebo \"tělesný tuk\"",
- "@measurementCategoriesHelpText": {},
- "measurementEntriesHelpText": "Jednotka použitá pro měření kategorie, například \"cm\" nebo \"%\"",
- "@measurementEntriesHelpText": {},
- "date": "Datum",
- "@date": {
- "description": "The date of a workout log or body weight entry"
- },
- "value": "Hodnota",
- "@value": {
- "description": "The value of a measurement entry"
- },
- "start": "Začni",
- "@start": {
- "description": "Label on button to start the gym mode (i.e., an imperative)"
- },
- "timeStart": "Čas začátku",
- "@timeStart": {
- "description": "The starting time of a workout"
- },
- "timeEnd": "Čas ukončení",
- "@timeEnd": {
- "description": "The end time of a workout"
- },
- "timeStartAhead": "Čas zahájení nemůže být po času ukončení",
- "@timeStartAhead": {},
- "ingredient": "Přísada",
- "@ingredient": {},
- "energy": "Energie",
- "@energy": {
- "description": "Energy in a meal, ingredient etc. e.g. in kJ"
- },
- "energyShort": "E",
- "@energyShort": {
- "description": "The first letter or short name of the word 'Energy', used in overviews"
- },
- "kcal": "kcal",
- "@kcal": {
- "description": "Energy in a meal in kilocalories, kcal"
- },
- "macronutrients": "Makroživiny",
- "@macronutrients": {},
- "difference": "Rozdíl",
- "@difference": {},
- "percentEnergy": "Procento energie",
- "@percentEnergy": {},
- "gPerBodyKg": "g na kg tělesné váhy",
- "@gPerBodyKg": {
- "description": "Label used for total sums of e.g. calories or similar in grams per Kg of body weight"
- },
- "total": "Celkem",
- "@total": {
- "description": "Label used for total sums of e.g. calories or similar"
- },
- "kJ": "kJ",
- "@kJ": {
- "description": "Energy in a meal in kilo joules, kJ"
- },
- "g": "g",
- "@g": {
- "description": "Abbreviation for gram"
- },
- "protein": "Bílkoviny",
- "@protein": {},
- "carbohydrates": "Sacharidy",
- "@carbohydrates": {},
- "carbohydratesShort": "C",
- "@carbohydratesShort": {
- "description": "The first letter or short name of the word 'Carbohydrates', used in overviews"
- },
- "sugars": "Cukry",
- "@sugars": {},
- "fat": "Tuky",
- "@fat": {},
- "fatShort": "T",
- "@fatShort": {
- "description": "The first letter or short name of the word 'Fat', used in overviews"
- },
- "saturatedFat": "Nasycené tuky",
- "@saturatedFat": {},
- "fiber": "Vláknina",
- "@fiber": {},
- "sodium": "Sodík",
- "@sodium": {},
- "amount": "Množství",
- "@amount": {
- "description": "The amount (e.g. in grams) of an ingredient in a meal"
- },
- "unit": "Jednotka",
- "@unit": {
- "description": "The unit used for a repetition (kg, time, etc.)"
- },
- "moreMeasurementEntries": "Přidat nové měření",
- "@moreMeasurementEntries": {
- "description": "Message shown when the user wants to add new measurement"
- },
- "edit": "Upravit",
- "@edit": {},
- "loadingText": "Nahrávání ...",
- "@loadingText": {
- "description": "Text to show when entries are being loaded in the background: Loading..."
- },
- "newNutritionalPlan": "Nový výživový plán",
- "@newNutritionalPlan": {},
- "toggleDetails": "Přepnout podrobnosti",
- "@toggleDetails": {
- "description": "Switch to toggle detail / overview"
- },
- "goToDetailPage": "Přejít na stránku s podrobnostmi",
- "@goToDetailPage": {},
- "calendar": "Kalendář",
- "@calendar": {},
- "enterValue": "Prosím zadejte hodnotu",
- "@enterValue": {
- "description": "Error message when the user hasn't entered a value on a required field"
- },
- "selectEntry": "Prosím vyberte hodnotu",
- "@selectEntry": {},
- "selectExercise": "Prosím vyberte cvik",
- "@selectExercise": {
- "description": "Error message when the user hasn't selected an exercise in the form"
- },
- "enterCharacters": "Prosím, zadejte mezi {min} a {max} znaky",
- "@enterCharacters": {
- "description": "Error message when the user hasn't entered the correct number of characters in a form",
- "type": "text",
- "placeholders": {
- "min": {
- "type": "String"
- },
- "max": {
- "type": "String"
- }
- }
- },
- "enterMinCharacters": "Prosím, zadejte alespoň {min} znaků",
- "@enterMinCharacters": {
- "description": "Error message when the user hasn't entered the minimum amount characters in a form",
- "type": "text",
- "placeholders": {
- "min": {
- "type": "String"
- }
- }
- },
- "baseNameEnglish": "Všechny cviky potřebují mít základní název v angličtině",
- "@baseNameEnglish": {},
- "enterValidNumber": "Prosím, zadejte platné číslo",
- "@enterValidNumber": {
- "description": "Error message when the user has submitted an invalid number (e.g. '3,.,.,.')"
- },
- "selectIngredient": "Prosím, vyberte přísadu",
- "@selectIngredient": {
- "description": "Error message when the user hasn't selected an ingredient from the autocompleter"
- },
- "selectImage": "Prosím, vyberte obrázek",
- "@selectImage": {
- "description": "Label and error message when the user hasn't selected an image to save"
- },
- "optionsLabel": "Možnosti",
- "@optionsLabel": {
- "description": "Label for the popup with general app options"
- },
- "chooseFromLibrary": "Vybrat foto z galerie",
- "@chooseFromLibrary": {},
- "addImage": "Přidat obrázek",
- "@addImage": {},
- "dataCopied": "Data zkopírována do nového záznamu",
- "@dataCopied": {
- "description": "Snackbar message to show on copying data to a new log entry"
- },
- "appUpdateTitle": "Je nutná aktualizace",
- "@appUpdateTitle": {},
- "passwordTooShort": "Toto heslo je příliš krátké",
- "@passwordTooShort": {
- "description": "Error message when the user a password that is too short"
- },
- "userProfile": "Váš profil",
- "@userProfile": {},
- "register": "Registrace",
- "@register": {
- "description": "Text for registration button"
- },
- "login": "Přihlásit se",
- "@login": {
- "description": "Text for login button"
- },
- "useDefaultServer": "Použít výchozí server",
- "@useDefaultServer": {
- "description": "Toggle button allowing users to switch between the default and a custom wger server"
- },
- "logout": "Odhlásit se",
- "@logout": {
- "description": "Text for logout button"
- },
- "useCustomServer": "Použít vlastní server",
- "@useCustomServer": {
- "description": "Toggle button allowing users to switch between the default and a custom wger server"
- },
- "usernameValidChars": "Uživatelské jméno může obsahovat pouze písmena, číslice a znaky @, +, ., - a _",
- "@usernameValidChars": {
- "description": "Error message when the user tries to register a username with forbidden characters"
- },
- "invalidUrl": "Prosím zadejte platnou URL adresu",
- "@invalidUrl": {
- "description": "Error message when the user enters an invalid URL, e.g. in the login form"
- },
- "invalidUsername": "Zadejte platné uživatelské jméno",
- "@invalidUsername": {
- "description": "Error message when the user enters an invalid username"
- },
- "customServerHint": "Zadejte adresu vlastního serveru, jinak bude použita výchozí",
- "@customServerHint": {
- "description": "Hint text for the form where the users can enter their own wger instance"
- },
- "reset": "Vymazat",
- "@reset": {
- "description": "Button text allowing the user to reset the entered values to the default"
- },
- "registerInstead": "Nemáte účet? Zaregistrujte se nyní",
- "@registerInstead": {},
- "labelBottomNavNutrition": "Výživa",
- "@labelBottomNavNutrition": {
- "description": "Label used in bottom navigation, use a short word"
- },
- "loginInstead": "Máte již účet? Přihlaste se",
- "@loginInstead": {},
- "labelDashboard": "Nástěnka",
- "@labelDashboard": {
- "description": "Title for screen dashboard"
- },
- "success": "Úspěch",
- "@success": {
- "description": "Message when an action completed successfully, usually used as a heading"
- },
- "successfullyDeleted": "Odstraněno",
- "@successfullyDeleted": {
- "description": "Message when an item was successfully deleted"
- },
- "successfullySaved": "Uloženo",
- "@successfullySaved": {
- "description": "Message when an item was successfully saved"
- },
- "searchExercise": "Hledat cvičení, které chcete přidat",
- "@searchExercise": {
- "description": "Label on set form. Selected exercises are added to the set"
- },
- "logMeal": "Zaznamenat do nutričního diáře",
- "@logMeal": {},
- "muscles": "Svaly",
- "@muscles": {
- "description": "(main) muscles trained by an exercise"
- },
- "musclesSecondary": "Vedlejší svaly",
- "@musclesSecondary": {
- "description": "secondary muscles trained by an exercise"
- },
- "reps": "Opakování",
- "@reps": {
- "description": "Shorthand for repetitions, used when space constraints are tighter"
- },
- "repetitionUnit": "Opakující jednotka",
- "@repetitionUnit": {},
- "dayDescriptionHelp": "Popis toho, co je na tento den plánováno (například \"Tahy\") nebo části těla, která budou cvičena (např. \"hrudník a ramena\")",
- "@dayDescriptionHelp": {},
- "notes": "Poznámky",
- "@notes": {
- "description": "Personal notes, e.g. for a workout session"
- },
- "selectExercises": "Chcete-li udělat superset, můžete hledat několik cvičení, budou seskupeny dohromady",
- "@selectExercises": {},
- "gymMode": "Režim tělocvičny",
- "@gymMode": {
- "description": "Label when starting the gym mode"
- },
- "impression": "Dojem",
- "@impression": {
- "description": "General impression (e.g. for a workout session) such as good, bad, etc."
- },
- "todaysWorkout": "Vaše cvičení dnes",
- "@todaysWorkout": {},
- "setNr": "Sada {nr}",
- "@setNr": {
- "description": "Header in form indicating the number of the current set. Can also be translated as something like 'Set Nr. xy'.",
- "type": "text",
- "placeholders": {
- "nr": {
- "type": "String"
- }
- }
- },
- "newDay": "Nový den",
- "@newDay": {},
- "newSet": "Nová sada",
- "@newSet": {
- "description": "Header when adding a new set to a workout day"
- },
- "workoutSession": "Tréninková relace",
- "@workoutSession": {
- "description": "A (logged) workout session"
- },
- "mealLogged": "Jídlo zaznamenané do deníku",
- "@mealLogged": {},
- "addSet": "Přidat sadu",
- "@addSet": {
- "description": "Label for the button that adds a set (to a workout day)"
- },
- "measurement": "Měření",
- "@measurement": {},
- "nutritionalPlan": "Výživový plán",
- "@nutritionalPlan": {},
- "noNutritionalPlans": "Nemáte žádné výživové plány",
- "@noNutritionalPlans": {
- "description": "Message shown when the user has no nutritional plans"
- },
- "anErrorOccurred": "Vyskytla se chyba!",
- "@anErrorOccurred": {},
- "weight": "Váha",
- "@weight": {
- "description": "The weight of a workout log or body weight entry"
- },
- "measurements": "Měření",
- "@measurements": {
- "description": "Categories for the measurements such as biceps size, body fat, etc."
- },
- "planned": "Plánované",
- "@planned": {
- "description": "Header for the column of 'planned' nutritional values, i.e. what should be eaten"
- },
- "weekAverage": "7 denní průměr",
- "@weekAverage": {
- "description": "Header for the column of '7 day average' nutritional values, i.e. what was logged last week"
- },
- "time": "Čas",
- "@time": {
- "description": "The time of a meal or workout"
- },
- "logged": "Zaznamenáno",
- "@logged": {
- "description": "Header for the column of 'logged' nutritional values, i.e. what was eaten"
- },
- "proteinShort": "P",
- "@proteinShort": {
- "description": "The first letter or short name of the word 'Protein', used in overviews"
- },
- "newEntry": "Nová položka",
- "@newEntry": {
- "description": "Title when adding a new entry such as a weight or log entry"
- },
- "noWeightEntries": "Nemáte žádné záznamy o hmotnosti",
- "@noWeightEntries": {
- "description": "Message shown when the user has no logged weight entries"
- },
- "noMeasurementEntries": "Nemáte žádné záznamy měření",
- "@noMeasurementEntries": {},
- "delete": "Odstranit",
- "@delete": {},
- "confirmDelete": "Přejete si skutečně odstranit '{toDelete}'?",
- "@confirmDelete": {
- "description": "Confirmation text before the user deletes an object",
- "type": "text",
- "placeholders": {
- "toDelete": {
- "type": "String"
- }
- }
- },
- "aboutDescription": "Děkujeme Vám za použití wger! wger je komunitní open source projekt, který je tvořen fitness nadšenci z celého světa.",
- "@aboutDescription": {
- "description": "Text in the about dialog"
- },
- "goToToday": "Přejít na dnešek",
- "@goToToday": {
- "description": "Label on button to jump back to 'today' in the calendar widget"
- },
- "nrOfSets": "Počet sad na cvik: {nrOfSets}",
- "@nrOfSets": {
- "description": "Label shown on the slider where the user selects the nr of sets",
- "type": "text",
- "placeholders": {
- "nrOfSets": {
- "type": "String"
- }
- }
- },
- "recentlyUsedIngredients": "Naposledy přidané přísady",
- "@recentlyUsedIngredients": {
- "description": "A message when a user adds a new ingredient to a meal."
- },
- "takePicture": "Vyfotit",
- "@takePicture": {},
- "gallery": "Galerie",
- "@gallery": {},
- "imageFormatNotSupported": "{imageFormat} není podporován",
- "@imageFormatNotSupported": {
- "description": "Label shown on the error container when image format is not supported",
- "type": "text",
- "placeholders": {
- "imageFormat": {
- "type": "String"
- }
- }
- },
- "imageFormatNotSupportedDetail": "Obrazy {imageFormat} zatím nejsou podporovány.",
- "@imageFormatNotSupportedDetail": {
- "description": "Label shown on the image preview container when image format is not supported",
- "type": "text",
- "placeholders": {
- "imageFormat": {
- "type": "String"
- }
- }
- },
- "productFound": "Produkt nalezen",
- "@productFound": {
- "description": "Header label for dialog when product is found with barcode"
- },
- "appUpdateContent": "Tato verze aplikace není kompatibilní se serverem, aktualizujte prosím svou aplikaci.",
- "@appUpdateContent": {},
- "add_exercise_image_license": "Obrázky musí být kompatibilní s licencí CC BY SA. Pokud si nejste jistí, nahrajte pouze fotky, které jste sami pořídili.",
- "@add_exercise_image_license": {},
- "verify": "Ověřit",
- "@verify": {},
- "alternativeNames": "Alternativní jména",
- "@alternativeNames": {},
- "oneNamePerLine": "Jedno jméno na jeden řádek",
- "@oneNamePerLine": {},
- "whatVariationsExist": "Existují nějaké varianty tohoto cviku?",
- "@whatVariationsExist": {},
- "previous": "Předešlé",
- "@previous": {},
- "next": "Další",
- "@next": {},
- "addExercise": "Přidat cvičení",
- "@addExercise": {},
- "translation": "Překlad",
- "@translation": {},
- "baseData": "Základy v angličtině",
- "@baseData": {
- "description": "The base data for an exercise such as category, trained muscles, etc."
- },
- "productFoundDescription": "Čárový kód náleží tomuto produktu: {productName}. Chcete pokračovat?",
- "@productFoundDescription": {
- "description": "Dialog info when product is found with barcode",
- "type": "text",
- "placeholders": {
- "productName": {
- "type": "String"
- }
- }
- },
- "scanBarcode": "Naskenovat čárový kód",
- "@scanBarcode": {
- "description": "Label for scan barcode button"
- },
- "productNotFound": "Produkt nenalezen",
- "@productNotFound": {
- "description": "Header label for dialog when product is not found with barcode"
- },
- "images": "Obrázky",
- "@images": {},
- "language": "Jazyk",
- "@language": {},
- "aboutPageTitle": "O aplikaci Wger",
- "@aboutPageTitle": {},
- "contributeExercise": "Přidejte cvičení",
- "@contributeExercise": {},
- "setUnitsAndRir": "Nastavit jednotky a OvR",
- "@setUnitsAndRir": {
- "description": "Label shown on the slider where the user can toggle showing units and RiR",
- "type": "text"
- },
- "close": "Zavřít",
- "@close": {
- "description": "Translation for close"
- },
- "productNotFoundDescription": "Produkt s naskenovaným čárovým kódem {barcode} nebyl nalezen v databázi wger",
- "@productNotFoundDescription": {
- "description": "Dialog info when product is not found with barcode",
- "type": "text",
- "placeholders": {
- "barcode": {
- "type": "String"
- }
- }
- },
- "useMetric": "Použít metrické jednotky pro tělesnou váhu",
- "@useMetric": {},
- "aboutDonateText": "Kupte nám kávu, abyste pomohli projektu, zaplatili náklady na server a udrželi nás funkční",
- "@aboutDonateText": {},
- "verifiedEmail": "Ověřený e-mail",
- "@verifiedEmail": {},
- "settingsTitle": "Nastavení",
- "@settingsTitle": {},
- "settingsCacheTitle": "Mezipaměť",
- "@settingsCacheTitle": {},
- "settingsExerciseCacheDescription": "Mezipaměť cvičení",
- "@settingsExerciseCacheDescription": {},
- "noMatchingExerciseFound": "Nenalezeny žádné odpovídající tréninky",
- "@noMatchingExerciseFound": {
- "description": "Message returned if no exercises match the searched string"
- },
- "aboutMastodonTitle": "Mastodon",
- "@aboutMastodonTitle": {},
- "unVerifiedEmail": "Neověřený e-mail",
- "@unVerifiedEmail": {},
- "alsoKnownAs": "Také známé jako: {aliases}",
- "@alsoKnownAs": {
- "placeholders": {
- "aliases": {
- "type": "String"
- }
+ "passwordsDontMatch": "Hesla se neshodují",
+ "@passwordsDontMatch": {
+ "description": "Error message when the user enters two different passwords during registration"
},
- "description": "List of alternative names for an exercise"
- },
- "searchNamesInEnglish": "Také hledat názvy v angličtině",
- "@searchNamesInEnglish": {},
- "aboutDonateTitle": "Přispět",
- "@aboutDonateTitle": {},
- "variations": "Variace",
- "@variations": {
- "description": "Variations of one exercise (e.g. benchpress and benchpress narrow)"
- },
- "verifiedEmailReason": "Pro přidávání cvičení musíte ověřit svůj e-mail",
- "@verifiedEmailReason": {},
- "verifiedEmailInfo": "Ověřovací e-mail byl odeslán na adresu {email}",
- "@verifiedEmailInfo": {
- "placeholders": {
- "email": {
- "type": "String"
- }
+ "addMeal": "Přidat jídlo",
+ "password": "Heslo",
+ "confirmPassword": "Potvrdit heslo",
+ "invalidEmail": "Zadejte platnou e-mailovou adresu",
+ "@invalidEmail": {
+ "description": "Error message when the user enters an invalid email"
+ },
+ "email": "E-mailová adresa",
+ "username": "Uživatelské jméno",
+ "customServerUrl": "Adresa URL instance wger",
+ "@customServerUrl": {
+ "description": "Label in the form where the users can enter their own wger instance"
+ },
+ "labelBottomNavWorkout": "Trénink",
+ "@labelBottomNavWorkout": {
+ "description": "Label used in bottom navigation, use a short word"
+ },
+ "labelWorkoutLogs": "Záznamy o cvičení",
+ "@labelWorkoutLogs": {
+ "description": "(Workout) logs"
+ },
+ "labelWorkoutPlan": "Plán cvičení",
+ "@labelWorkoutPlan": {
+ "description": "Title for screen workout plan"
+ },
+ "exerciseList": "Seznam cvičení",
+ "exercise": "Cvičení",
+ "@exercise": {
+ "description": "An exercise for a workout"
+ },
+ "exercises": "Cvičení",
+ "@exercises": {
+ "description": "Multiple exercises for a workout"
+ },
+ "exerciseName": "Název cvičení",
+ "@exerciseName": {
+ "description": "Label for the name of a workout exercise"
+ },
+ "equipment": "Nářadí",
+ "@equipment": {
+ "description": "Equipment needed to perform an exercise"
+ },
+ "category": "Kategorie",
+ "@category": {
+ "description": "Category for an exercise, ingredient, etc."
+ },
+ "rir": "OvR",
+ "@rir": {
+ "description": "Shorthand for Repetitions In Reserve"
+ },
+ "rirNotUsed": "nepoužitá OvR",
+ "@rirNotUsed": {
+ "description": "Label used in RiR slider when the RiR value is not used/saved for the current setting or log"
+ },
+ "weightUnit": "Jednotka váhy",
+ "set": "Sada",
+ "@set": {
+ "description": "A set in a workout plan"
+ },
+ "sameRepetitions": "Pokud uděláte stejné opakování a hmotnost pro všechny sady, můžete vyplnit pouze jednu řadu. Například pro 4 sady stačí zadat 10 pro opakování, toto se automaticky stává \"4 x 10\".",
+ "comment": "Komentář",
+ "@comment": {
+ "description": "Comment, additional information"
+ },
+ "plateCalculator": "Závaží",
+ "@plateCalculator": {
+ "description": "Label used for the plate calculator in the gym mode"
+ },
+ "plateCalculatorNotDivisible": "Není možné dosáhnout hmotnosti s dostupnými závažími",
+ "@plateCalculatorNotDivisible": {
+ "description": "Error message when the current weight is not reachable with plates (e.g. 33.1 kg)"
+ },
+ "pause": "Pozastavit",
+ "@pause": {
+ "description": "Noun, not an imperative! Label used for the pause when using the gym mode"
+ },
+ "jumpTo": "Přeskočit na",
+ "@jumpTo": {
+ "description": "Imperative. Label used in popup allowing the user to jump to a specific exercise while in the gym mode"
+ },
+ "logHelpEntries": "Pokud je v jednom dni více než jeden záznam se stejným počtem opakování, ale různými váhami, je v diagramu zobrazen pouze záznam s vyšší hmotností.",
+ "logHelpEntriesUnits": "Všimněte si, že pouze položky s hmotnostní jednotkou (kg nebo lb) a opakování jsou vykresleny, jiné kombinace, jako je čas nebo cvik do selhání jsou zde vynechány.",
+ "description": "Popis",
+ "name": "Název",
+ "@name": {
+ "description": "Name for a workout or nutritional plan"
+ },
+ "save": "Uložit",
+ "addIngredient": "Přidat přísadu",
+ "logIngredient": "Zaznamenat ingredienci do nutričního diáře",
+ "searchIngredient": "Hledat přísadu",
+ "@searchIngredient": {
+ "description": "Label on ingredient search form"
+ },
+ "nutritionalDiary": "Nutriční deník",
+ "nutritionalPlans": "Nutriční plán",
+ "measurementCategoriesHelpText": "Kategorie měření, například \"biceps\" nebo \"tělesný tuk\"",
+ "measurementEntriesHelpText": "Jednotka použitá pro měření kategorie, například \"cm\" nebo \"%\"",
+ "date": "Datum",
+ "@date": {
+ "description": "The date of a workout log or body weight entry"
+ },
+ "value": "Hodnota",
+ "@value": {
+ "description": "The value of a measurement entry"
+ },
+ "start": "Začni",
+ "@start": {
+ "description": "Label on button to start the gym mode (i.e., an imperative)"
+ },
+ "timeStart": "Čas začátku",
+ "@timeStart": {
+ "description": "The starting time of a workout"
+ },
+ "timeEnd": "Čas ukončení",
+ "@timeEnd": {
+ "description": "The end time of a workout"
+ },
+ "timeStartAhead": "Čas zahájení nemůže být po času ukončení",
+ "ingredient": "Přísada",
+ "energy": "Energie",
+ "@energy": {
+ "description": "Energy in a meal, ingredient etc. e.g. in kJ"
+ },
+ "energyShort": "E",
+ "@energyShort": {
+ "description": "The first letter or short name of the word 'Energy', used in overviews"
+ },
+ "kcal": "kcal",
+ "@kcal": {
+ "description": "Energy in a meal in kilocalories, kcal"
+ },
+ "macronutrients": "Makroživiny",
+ "difference": "Rozdíl",
+ "percentEnergy": "Procento energie",
+ "gPerBodyKg": "g na kg tělesné váhy",
+ "@gPerBodyKg": {
+ "description": "Label used for total sums of e.g. calories or similar in grams per Kg of body weight"
+ },
+ "total": "Celkem",
+ "@total": {
+ "description": "Label used for total sums of e.g. calories or similar"
+ },
+ "kJ": "kJ",
+ "@kJ": {
+ "description": "Energy in a meal in kilo joules, kJ"
+ },
+ "g": "g",
+ "@g": {
+ "description": "Abbreviation for gram"
+ },
+ "protein": "Bílkoviny",
+ "carbohydrates": "Sacharidy",
+ "carbohydratesShort": "C",
+ "@carbohydratesShort": {
+ "description": "The first letter or short name of the word 'Carbohydrates', used in overviews"
+ },
+ "sugars": "Cukry",
+ "fat": "Tuky",
+ "fatShort": "T",
+ "@fatShort": {
+ "description": "The first letter or short name of the word 'Fat', used in overviews"
+ },
+ "saturatedFat": "Nasycené tuky",
+ "fiber": "Vláknina",
+ "sodium": "Sodík",
+ "amount": "Množství",
+ "@amount": {
+ "description": "The amount (e.g. in grams) of an ingredient in a meal"
+ },
+ "unit": "Jednotka",
+ "@unit": {
+ "description": "The unit used for a repetition (kg, time, etc.)"
+ },
+ "moreMeasurementEntries": "Přidat nové měření",
+ "@moreMeasurementEntries": {
+ "description": "Message shown when the user wants to add new measurement"
+ },
+ "edit": "Upravit",
+ "loadingText": "Nahrávání ...",
+ "@loadingText": {
+ "description": "Text to show when entries are being loaded in the background: Loading..."
+ },
+ "newNutritionalPlan": "Nový výživový plán",
+ "toggleDetails": "Přepnout podrobnosti",
+ "@toggleDetails": {
+ "description": "Switch to toggle detail / overview"
+ },
+ "goToDetailPage": "Přejít na stránku s podrobnostmi",
+ "calendar": "Kalendář",
+ "enterValue": "Prosím zadejte hodnotu",
+ "@enterValue": {
+ "description": "Error message when the user hasn't entered a value on a required field"
+ },
+ "selectEntry": "Prosím vyberte hodnotu",
+ "selectExercise": "Prosím vyberte cvik",
+ "@selectExercise": {
+ "description": "Error message when the user hasn't selected an exercise in the form"
+ },
+ "enterCharacters": "Prosím, zadejte mezi {min} a {max} znaky",
+ "@enterCharacters": {
+ "description": "Error message when the user hasn't entered the correct number of characters in a form",
+ "type": "text",
+ "placeholders": {
+ "min": {
+ "type": "String"
+ },
+ "max": {
+ "type": "String"
+ }
+ }
+ },
+ "enterMinCharacters": "Prosím, zadejte alespoň {min} znaků",
+ "@enterMinCharacters": {
+ "description": "Error message when the user hasn't entered the minimum amount characters in a form",
+ "type": "text",
+ "placeholders": {
+ "min": {
+ "type": "String"
+ }
+ }
+ },
+ "baseNameEnglish": "Všechny cviky potřebují mít základní název v angličtině",
+ "enterValidNumber": "Prosím, zadejte platné číslo",
+ "@enterValidNumber": {
+ "description": "Error message when the user has submitted an invalid number (e.g. '3,.,.,.')"
+ },
+ "selectIngredient": "Prosím, vyberte přísadu",
+ "@selectIngredient": {
+ "description": "Error message when the user hasn't selected an ingredient from the autocompleter"
+ },
+ "selectImage": "Prosím, vyberte obrázek",
+ "@selectImage": {
+ "description": "Label and error message when the user hasn't selected an image to save"
+ },
+ "optionsLabel": "Možnosti",
+ "@optionsLabel": {
+ "description": "Label for the popup with general app options"
+ },
+ "chooseFromLibrary": "Vybrat foto z galerie",
+ "addImage": "Přidat obrázek",
+ "dataCopied": "Data zkopírována do nového záznamu",
+ "@dataCopied": {
+ "description": "Snackbar message to show on copying data to a new log entry"
+ },
+ "appUpdateTitle": "Je nutná aktualizace",
+ "passwordTooShort": "Toto heslo je příliš krátké",
+ "@passwordTooShort": {
+ "description": "Error message when the user a password that is too short"
+ },
+ "userProfile": "Váš profil",
+ "register": "Registrace",
+ "@register": {
+ "description": "Text for registration button"
+ },
+ "login": "Přihlásit se",
+ "@login": {
+ "description": "Text for login button"
+ },
+ "useDefaultServer": "Použít výchozí server",
+ "@useDefaultServer": {
+ "description": "Toggle button allowing users to switch between the default and a custom wger server"
+ },
+ "logout": "Odhlásit se",
+ "@logout": {
+ "description": "Text for logout button"
+ },
+ "useCustomServer": "Použít vlastní server",
+ "@useCustomServer": {
+ "description": "Toggle button allowing users to switch between the default and a custom wger server"
+ },
+ "usernameValidChars": "Uživatelské jméno může obsahovat pouze písmena, číslice a znaky @, +, ., - a _",
+ "@usernameValidChars": {
+ "description": "Error message when the user tries to register a username with forbidden characters"
+ },
+ "invalidUrl": "Prosím zadejte platnou URL adresu",
+ "@invalidUrl": {
+ "description": "Error message when the user enters an invalid URL, e.g. in the login form"
+ },
+ "invalidUsername": "Zadejte platné uživatelské jméno",
+ "@invalidUsername": {
+ "description": "Error message when the user enters an invalid username"
+ },
+ "customServerHint": "Zadejte adresu vlastního serveru, jinak bude použita výchozí",
+ "@customServerHint": {
+ "description": "Hint text for the form where the users can enter their own wger instance"
+ },
+ "reset": "Vymazat",
+ "@reset": {
+ "description": "Button text allowing the user to reset the entered values to the default"
+ },
+ "registerInstead": "Nemáte účet? Zaregistrujte se nyní",
+ "labelBottomNavNutrition": "Výživa",
+ "@labelBottomNavNutrition": {
+ "description": "Label used in bottom navigation, use a short word"
+ },
+ "loginInstead": "Máte již účet? Přihlaste se",
+ "labelDashboard": "Nástěnka",
+ "@labelDashboard": {
+ "description": "Title for screen dashboard"
+ },
+ "success": "Úspěch",
+ "@success": {
+ "description": "Message when an action completed successfully, usually used as a heading"
+ },
+ "successfullyDeleted": "Odstraněno",
+ "@successfullyDeleted": {
+ "description": "Message when an item was successfully deleted"
+ },
+ "successfullySaved": "Uloženo",
+ "@successfullySaved": {
+ "description": "Message when an item was successfully saved"
+ },
+ "searchExercise": "Hledat cvičení, které chcete přidat",
+ "@searchExercise": {
+ "description": "Label on set form. Selected exercises are added to the set"
+ },
+ "logMeal": "Zaznamenat do nutričního diáře",
+ "muscles": "Svaly",
+ "@muscles": {
+ "description": "(main) muscles trained by an exercise"
+ },
+ "musclesSecondary": "Vedlejší svaly",
+ "@musclesSecondary": {
+ "description": "secondary muscles trained by an exercise"
+ },
+ "reps": "Opakování",
+ "@reps": {
+ "description": "Shorthand for repetitions, used when space constraints are tighter"
+ },
+ "repetitionUnit": "Opakující jednotka",
+ "dayDescriptionHelp": "Popis toho, co je na tento den plánováno (například \"Tahy\") nebo části těla, která budou cvičena (např. \"hrudník a ramena\")",
+ "notes": "Poznámky",
+ "@notes": {
+ "description": "Personal notes, e.g. for a workout session"
+ },
+ "selectExercises": "Chcete-li udělat superset, můžete hledat několik cvičení, budou seskupeny dohromady",
+ "gymMode": "Režim tělocvičny",
+ "@gymMode": {
+ "description": "Label when starting the gym mode"
+ },
+ "impression": "Dojem",
+ "@impression": {
+ "description": "General impression (e.g. for a workout session) such as good, bad, etc."
+ },
+ "todaysWorkout": "Vaše cvičení dnes",
+ "setNr": "Sada {nr}",
+ "@setNr": {
+ "description": "Header in form indicating the number of the current set. Can also be translated as something like 'Set Nr. xy'.",
+ "type": "text",
+ "placeholders": {
+ "nr": {
+ "type": "String"
+ }
+ }
+ },
+ "newDay": "Nový den",
+ "newSet": "Nová sada",
+ "@newSet": {
+ "description": "Header when adding a new set to a workout day"
+ },
+ "workoutSession": "Tréninková relace",
+ "@workoutSession": {
+ "description": "A (logged) workout session"
+ },
+ "mealLogged": "Jídlo zaznamenané do deníku",
+ "addSet": "Přidat sadu",
+ "@addSet": {
+ "description": "Label for the button that adds a set (to a workout day)"
+ },
+ "measurement": "Měření",
+ "nutritionalPlan": "Výživový plán",
+ "noNutritionalPlans": "Nemáte žádné výživové plány",
+ "@noNutritionalPlans": {
+ "description": "Message shown when the user has no nutritional plans"
+ },
+ "anErrorOccurred": "Vyskytla se chyba!",
+ "weight": "Váha",
+ "@weight": {
+ "description": "The weight of a workout log or body weight entry"
+ },
+ "measurements": "Měření",
+ "@measurements": {
+ "description": "Categories for the measurements such as biceps size, body fat, etc."
+ },
+ "planned": "Plánované",
+ "@planned": {
+ "description": "Header for the column of 'planned' nutritional values, i.e. what should be eaten"
+ },
+ "weekAverage": "7 denní průměr",
+ "@weekAverage": {
+ "description": "Header for the column of '7 day average' nutritional values, i.e. what was logged last week"
+ },
+ "time": "Čas",
+ "@time": {
+ "description": "The time of a meal or workout"
+ },
+ "logged": "Zaznamenáno",
+ "@logged": {
+ "description": "Header for the column of 'logged' nutritional values, i.e. what was eaten"
+ },
+ "proteinShort": "P",
+ "@proteinShort": {
+ "description": "The first letter or short name of the word 'Protein', used in overviews"
+ },
+ "newEntry": "Nová položka",
+ "@newEntry": {
+ "description": "Title when adding a new entry such as a weight or log entry"
+ },
+ "noWeightEntries": "Nemáte žádné záznamy o hmotnosti",
+ "@noWeightEntries": {
+ "description": "Message shown when the user has no logged weight entries"
+ },
+ "noMeasurementEntries": "Nemáte žádné záznamy měření",
+ "delete": "Odstranit",
+ "confirmDelete": "Přejete si skutečně odstranit '{toDelete}'?",
+ "@confirmDelete": {
+ "description": "Confirmation text before the user deletes an object",
+ "type": "text",
+ "placeholders": {
+ "toDelete": {
+ "type": "String"
+ }
+ }
+ },
+ "aboutDescription": "Děkujeme Vám za použití wger! wger je komunitní open source projekt, který je tvořen fitness nadšenci z celého světa.",
+ "@aboutDescription": {
+ "description": "Text in the about dialog"
+ },
+ "goToToday": "Přejít na dnešek",
+ "@goToToday": {
+ "description": "Label on button to jump back to 'today' in the calendar widget"
+ },
+ "nrOfSets": "Počet sad na cvik: {nrOfSets}",
+ "@nrOfSets": {
+ "description": "Label shown on the slider where the user selects the nr of sets",
+ "type": "text",
+ "placeholders": {
+ "nrOfSets": {
+ "type": "String"
+ }
+ }
+ },
+ "recentlyUsedIngredients": "Naposledy přidané přísady",
+ "@recentlyUsedIngredients": {
+ "description": "A message when a user adds a new ingredient to a meal."
+ },
+ "takePicture": "Vyfotit",
+ "gallery": "Galerie",
+ "imageFormatNotSupported": "{imageFormat} není podporován",
+ "@imageFormatNotSupported": {
+ "description": "Label shown on the error container when image format is not supported",
+ "type": "text",
+ "placeholders": {
+ "imageFormat": {
+ "type": "String"
+ }
+ }
+ },
+ "imageFormatNotSupportedDetail": "Obrazy {imageFormat} zatím nejsou podporovány.",
+ "@imageFormatNotSupportedDetail": {
+ "description": "Label shown on the image preview container when image format is not supported",
+ "type": "text",
+ "placeholders": {
+ "imageFormat": {
+ "type": "String"
+ }
+ }
+ },
+ "productFound": "Produkt nalezen",
+ "@productFound": {
+ "description": "Header label for dialog when product is found with barcode"
+ },
+ "appUpdateContent": "Tato verze aplikace není kompatibilní se serverem, aktualizujte prosím svou aplikaci.",
+ "add_exercise_image_license": "Obrázky musí být kompatibilní s licencí CC BY SA. Pokud si nejste jistí, nahrajte pouze fotky, které jste sami pořídili.",
+ "verify": "Ověřit",
+ "alternativeNames": "Alternativní jména",
+ "oneNamePerLine": "Jedno jméno na jeden řádek",
+ "whatVariationsExist": "Existují nějaké varianty tohoto cviku?",
+ "previous": "Předešlé",
+ "next": "Další",
+ "addExercise": "Přidat cvičení",
+ "translation": "Překlad",
+ "baseData": "Základy v angličtině",
+ "@baseData": {
+ "description": "The base data for an exercise such as category, trained muscles, etc."
+ },
+ "productFoundDescription": "Čárový kód náleží tomuto produktu: {productName}. Chcete pokračovat?",
+ "@productFoundDescription": {
+ "description": "Dialog info when product is found with barcode",
+ "type": "text",
+ "placeholders": {
+ "productName": {
+ "type": "String"
+ }
+ }
+ },
+ "scanBarcode": "Naskenovat čárový kód",
+ "@scanBarcode": {
+ "description": "Label for scan barcode button"
+ },
+ "productNotFound": "Produkt nenalezen",
+ "@productNotFound": {
+ "description": "Header label for dialog when product is not found with barcode"
+ },
+ "images": "Obrázky",
+ "language": "Jazyk",
+ "aboutPageTitle": "O aplikaci Wger",
+ "contributeExercise": "Přidejte cvičení",
+ "setUnitsAndRir": "Nastavit jednotky a OvR",
+ "@setUnitsAndRir": {
+ "description": "Label shown on the slider where the user can toggle showing units and RiR",
+ "type": "text"
+ },
+ "close": "Zavřít",
+ "@close": {
+ "description": "Translation for close"
+ },
+ "productNotFoundDescription": "Produkt s naskenovaným čárovým kódem {barcode} nebyl nalezen v databázi wger",
+ "@productNotFoundDescription": {
+ "description": "Dialog info when product is not found with barcode",
+ "type": "text",
+ "placeholders": {
+ "barcode": {
+ "type": "String"
+ }
+ }
+ },
+ "useMetric": "Použít metrické jednotky pro tělesnou váhu",
+ "aboutDonateText": "Kupte nám kávu, abyste pomohli projektu, zaplatili náklady na server a udrželi nás funkční",
+ "verifiedEmail": "Ověřený e-mail",
+ "settingsTitle": "Nastavení",
+ "settingsCacheTitle": "Mezipaměť",
+ "settingsExerciseCacheDescription": "Mezipaměť cvičení",
+ "noMatchingExerciseFound": "Nenalezeny žádné odpovídající tréninky",
+ "@noMatchingExerciseFound": {
+ "description": "Message returned if no exercises match the searched string"
+ },
+ "aboutMastodonTitle": "Mastodon",
+ "unVerifiedEmail": "Neověřený e-mail",
+ "alsoKnownAs": "Také známé jako: {aliases}",
+ "@alsoKnownAs": {
+ "placeholders": {
+ "aliases": {
+ "type": "String"
+ }
+ },
+ "description": "List of alternative names for an exercise"
+ },
+ "searchNamesInEnglish": "Také hledat názvy v angličtině",
+ "aboutDonateTitle": "Přispět",
+ "variations": "Variace",
+ "@variations": {
+ "description": "Variations of one exercise (e.g. benchpress and benchpress narrow)"
+ },
+ "verifiedEmailReason": "Pro přidávání cvičení musíte ověřit svůj e-mail",
+ "verifiedEmailInfo": "Ověřovací e-mail byl odeslán na adresu {email}",
+ "@verifiedEmailInfo": {
+ "placeholders": {
+ "email": {
+ "type": "String"
+ }
+ }
+ },
+ "translateExercise": "Přeložte toto cvičení",
+ "barbell": "Vzpěračská činka",
+ "@barbell": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "abs": "Břišní svaly",
+ "@abs": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "pull_up_bar": "Hrazda",
+ "@pull_up_bar": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "triceps": "Tricepsy",
+ "@triceps": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "done": "Hotovo",
+ "settingsCacheDeletedSnackbar": "Mezipaměť úspěšně vymazána",
+ "textPromptSubheading": "Začněte stisknutím akčního tlačítka",
+ "back": "Záda",
+ "@back": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "bench": "Lavice",
+ "@bench": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "biceps": "Bicepsy",
+ "@biceps": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "calves": "Lýtka",
+ "@calves": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "cardio": "Kardio",
+ "@cardio": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "chest": "Hrudník",
+ "@chest": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "dumbbell": "Jednoruční činka",
+ "@dumbbell": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "glutes": "Hýždě",
+ "@glutes": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "gym_mat": "Gymnastická podložka",
+ "@gym_mat": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "kettlebell": "Kettlebell",
+ "@kettlebell": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "lats": "Široký sval zádový",
+ "@lats": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "legs": "Nohy",
+ "@legs": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "lower_back": "Dolní část zad",
+ "@lower_back": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "swiss_ball": "Gymnastický míč",
+ "@swiss_ball": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "until_failure": "Do selhání",
+ "@until_failure": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "log": "Záznam",
+ "@log": {
+ "description": "Log a specific meal (imperative form)"
+ },
+ "cacheWarning": "Kvůli ukládání do mezipaměti může zobrazení změn v aplikaci chvíli trvat.",
+ "textPromptTitle": "Připraveni začít?",
+ "body_weight": "Tělesná hmotnost",
+ "@body_weight": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "hamstrings": "Zadní stehenní svaly",
+ "@hamstrings": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "kilometers": "Kilometry",
+ "@kilometers": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "incline_bench": "Šikmá lavice",
+ "@incline_bench": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "kilometers_per_hour": "Kilometry za hodinu",
+ "@kilometers_per_hour": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "kg": "kg",
+ "@kg": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "lb": "lb",
+ "@lb": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "none__bodyweight_exercise_": "žádný (cvičení s vlastní vahou)",
+ "@none__bodyweight_exercise_": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "max_reps": "Max. opakování",
+ "@max_reps": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "miles": "Míle",
+ "@miles": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "miles_per_hour": "Míle za hodinu",
+ "@miles_per_hour": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "minutes": "Minuty",
+ "@minutes": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "quads": "Čtyřhlavý sval stehenní",
+ "@quads": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "repetitions": "Opakování",
+ "@repetitions": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "sz_bar": "SZ-Bar",
+ "@sz_bar": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "shoulders": "Ramena",
+ "@shoulders": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "seconds": "Sekundy",
+ "@seconds": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "plates": "Závaží",
+ "@plates": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "arms": "Paže",
+ "@arms": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "contributeExerciseWarning": "Cvičení můžete přidávat pouze, pokud je váš účet starší než {days} dní a máte ověřený e-mail",
+ "@contributeExerciseWarning": {
+ "description": "Number of days before which a person can add exercise",
+ "placeholders": {
+ "days": {
+ "type": "String",
+ "example": "14"
+ }
+ }
+ },
+ "onlyLogging": "Zaznamenávat pouze kalorie",
+ "onlyLoggingHelpText": "Zaškrtněte, pokud chcete pouze zaznamenávat své kalorie a nechcete nastavovat podrobný výživový plán s přesnými jídly",
+ "goalEnergy": "Cíl energie",
+ "goalProtein": "Cíl bílkovin",
+ "goalCarbohydrates": "Cíl karbohydrátů",
+ "goalFat": "Cíl tuku",
+ "today": "Dnes",
+ "loggedToday": "Zaznamenáno dnes",
+ "kcalValue": "{value} kcal",
+ "@kcalValue": {
+ "description": "A value in kcal, e.g. 500 kcal",
+ "type": "text",
+ "placeholders": {
+ "value": {
+ "type": "String"
+ }
+ }
+ },
+ "gValue": "{value} g",
+ "@gValue": {
+ "description": "A value in grams, e.g. 5 g",
+ "type": "text",
+ "placeholders": {
+ "value": {
+ "type": "String"
+ }
+ }
+ },
+ "percentValue": "{value} %",
+ "@percentValue": {
+ "description": "A value in percent, e.g. 10 %",
+ "type": "text",
+ "placeholders": {
+ "value": {
+ "type": "String"
+ }
+ }
+ },
+ "surplus": "přebytek",
+ "@surplus": {
+ "description": "Caloric surplus (either planned or unplanned)"
+ },
+ "deficit": "nedostatek",
+ "@deficit": {
+ "description": "Caloric deficit (either planned or unplanned)"
+ },
+ "goalFiber": "Cíl vlákniny",
+ "goalMacro": "Makro cíle",
+ "@goalMacro": {
+ "description": "The goal for macronutrients"
+ },
+ "ingredientLogged": "Ingredience zaznamenána do diáře",
+ "selectMealToLog": "Vyberte jídlo k záznamu do diáře",
+ "noIngredientsDefined": "Zatím nebyly nastaveny žádné ingredience",
+ "selectAvailablePlates": "Zvolit dostupné váhy",
+ "barWeight": "Váha osy",
+ "useColors": "Použít barvy",
+ "preview": "Náhled",
+ "useApiToken": "Použít API token",
+ "useUsernameAndPassword": "Použij uživatelské jméno a heslo",
+ "apiToken": "API Token",
+ "invalidApiToken": "Zadejte platný klíč API",
+ "@invalidApiToken": {
+ "description": "Error message when the user enters an invalid API key"
+ },
+ "apiTokenValidChars": "API klíč může obsahovat pouze písmena a-f, číslice 0-9 a mít délku přesně 40 znaků",
+ "@apiTokenValidChars": {
+ "description": "Error message when the user tries to input a API key with forbidden characters"
+ },
+ "dashboardWidgets": "Widgety řídicího panelu",
+ "startDate": "Datum zahájení",
+ "@startDate": {
+ "description": "The start date of a nutritional plan or routine"
+ },
+ "dayTypeCustom": "Vlastní",
+ "dayTypeEnom": "Každou celou minutu",
+ "dayTypeAmrap": "Co nejvíce kol",
+ "dayTypeHiit": "Intervalový trénink s vysokou intenzitou",
+ "dayTypeTabata": "Tabata",
+ "dayTypeEdt": "Trénink s postupně se zvyšující zátěží",
+ "dayTypeRft": "Série na čas",
+ "dayTypeAfap": "Co nejrychleji",
+ "slotEntryTypeNormal": "Normální",
+ "slotEntryTypeWarmup": "Rozcvička",
+ "slotEntryTypePartial": "Částečný",
+ "slotEntryTypeForced": "Nucený",
+ "slotEntryTypeTut": "Čas pod tlakem",
+ "slotEntryTypeIso": "Izometrické držení",
+ "routines": "Rutiny",
+ "newRoutine": "Nová rutina",
+ "noRoutines": "Nemáš žádné rutiny",
+ "restTime": "Odpočinkový čas",
+ "sets": "Sety",
+ "@sets": {
+ "description": "The number of sets to be done for one exercise"
+ },
+ "exerciseNr": "Cvičení {nr}",
+ "@exerciseNr": {
+ "description": "Header in form indicating the number of the current exercise. Can also be translated as something like 'Set Nr. xy'.",
+ "type": "text",
+ "placeholders": {
+ "nr": {
+ "type": "String"
+ }
+ }
+ },
+ "supersetNr": "Superset {nr}",
+ "@supersetNr": {
+ "description": "Header in form indicating the number of the current exercise. Can also be translated as something like 'Superset Nr. xy'.",
+ "type": "text",
+ "placeholders": {
+ "nr": {
+ "type": "String"
+ }
+ }
+ },
+ "restDay": "Odpočinkový den",
+ "isRestDay": "Je den odpočinku",
+ "isRestDayHelp": "Upozorňujeme, že jakmile označíte daný den jako den odpočinku, budou všechny tréninkové sestavy a cviky odstraněny.",
+ "needsLogsToAdvance": "K postupu jsou zapotřebí záznamy",
+ "needsLogsToAdvanceHelp": "Tuto možnost vyberte, pokud chcete, aby se rutina přesunula na další naplánovaný den pouze v případě, že jste pro daný den zaznamenali trénink",
+ "routineDays": "Dny v rutině",
+ "slotEntryTypeDropset": "Dropset",
+ "slotEntryTypeMyo": "Myo",
+ "slotEntryTypeJump": "Skok",
+ "trophies": "Trofeje",
+ "topSet": "Nejlepší set: {value}",
+ "@topSet": {
+ "description": "Value is a representation of the set, like '10 x 80kg'",
+ "type": "text",
+ "placeholders": {
+ "value": {
+ "type": "String"
+ }
+ }
+ },
+ "impressionGood": "Dobře",
+ "impressionNeutral": "Neutrální",
+ "impressionBad": "Špatné",
+ "resultingRoutine": "Výsledná rutina",
+ "personalRecords": "Osobní rekordy",
+ "gymModeShowExercises": "Zobrazit stránky s přehledem cvičení",
+ "gymModeShowTimer": "Zobrazit časovač mezi sériemi",
+ "gymModeTimerType": "Typ časovače",
+ "gymModeTimerTypeHelText": "Pokud má sada nastavenou dobu pauzy, vždy se použije odpočítávání.",
+ "countdown": "Odpočet",
+ "stopwatch": "Stopky",
+ "gymModeDefaultCountdownTime": "Výchozí doba odpočítávání v sekundách",
+ "gymModeNotifyOnCountdownFinish": "Upozornit na konec odpočítávání",
+ "duration": "Doba trvání",
+ "durationHoursMinutes": "{hours}h {minutes}m",
+ "@durationHoursMinutes": {
+ "description": "A duration, in hours and minutes",
+ "type": "text",
+ "placeholders": {
+ "hours": {
+ "type": "int"
+ },
+ "minutes": {
+ "type": "int"
+ }
+ }
+ },
+ "volume": "Objem",
+ "@volume": {
+ "description": "The volume of a workout or set, i.e. weight x reps"
+ },
+ "workoutCompleted": "Trénink dokončen",
+ "yourCurrentNutritionPlanHasNoMealsDefinedYet": "Váš aktuální stravovací plán neobsahuje žádná jídla",
+ "@yourCurrentNutritionPlanHasNoMealsDefinedYet": {
+ "description": "Message shown when a nutrition plan doesn't have any meals"
}
- },
- "translateExercise": "Přeložte toto cvičení",
- "@translateExercise": {},
- "barbell": "Vzpěračská činka",
- "@barbell": {
- "description": "Generated entry for translation for server strings"
- },
- "abs": "Břišní svaly",
- "@abs": {
- "description": "Generated entry for translation for server strings"
- },
- "pull_up_bar": "Hrazda",
- "@pull_up_bar": {
- "description": "Generated entry for translation for server strings"
- },
- "triceps": "Tricepsy",
- "@triceps": {
- "description": "Generated entry for translation for server strings"
- },
- "done": "Hotovo",
- "@done": {},
- "settingsCacheDeletedSnackbar": "Mezipaměť úspěšně vymazána",
- "@settingsCacheDeletedSnackbar": {},
- "textPromptSubheading": "Začněte stisknutím akčního tlačítka",
- "@textPromptSubheading": {},
- "back": "Záda",
- "@back": {
- "description": "Generated entry for translation for server strings"
- },
- "bench": "Lavice",
- "@bench": {
- "description": "Generated entry for translation for server strings"
- },
- "biceps": "Bicepsy",
- "@biceps": {
- "description": "Generated entry for translation for server strings"
- },
- "calves": "Lýtka",
- "@calves": {
- "description": "Generated entry for translation for server strings"
- },
- "cardio": "Kardio",
- "@cardio": {
- "description": "Generated entry for translation for server strings"
- },
- "chest": "Hrudník",
- "@chest": {
- "description": "Generated entry for translation for server strings"
- },
- "dumbbell": "Jednoruční činka",
- "@dumbbell": {
- "description": "Generated entry for translation for server strings"
- },
- "glutes": "Hýždě",
- "@glutes": {
- "description": "Generated entry for translation for server strings"
- },
- "gym_mat": "Gymnastická podložka",
- "@gym_mat": {
- "description": "Generated entry for translation for server strings"
- },
- "kettlebell": "Kettlebell",
- "@kettlebell": {
- "description": "Generated entry for translation for server strings"
- },
- "lats": "Široký sval zádový",
- "@lats": {
- "description": "Generated entry for translation for server strings"
- },
- "legs": "Nohy",
- "@legs": {
- "description": "Generated entry for translation for server strings"
- },
- "lower_back": "Dolní část zad",
- "@lower_back": {
- "description": "Generated entry for translation for server strings"
- },
- "swiss_ball": "Gymnastický míč",
- "@swiss_ball": {
- "description": "Generated entry for translation for server strings"
- },
- "until_failure": "Do selhání",
- "@until_failure": {
- "description": "Generated entry for translation for server strings"
- },
- "log": "Záznam",
- "@log": {
- "description": "Log a specific meal (imperative form)"
- },
- "cacheWarning": "Kvůli ukládání do mezipaměti může zobrazení změn v aplikaci chvíli trvat.",
- "@cacheWarning": {},
- "textPromptTitle": "Připraveni začít?",
- "@textPromptTitle": {},
- "body_weight": "Tělesná hmotnost",
- "@body_weight": {
- "description": "Generated entry for translation for server strings"
- },
- "hamstrings": "Zadní stehenní svaly",
- "@hamstrings": {
- "description": "Generated entry for translation for server strings"
- },
- "kilometers": "Kilometry",
- "@kilometers": {
- "description": "Generated entry for translation for server strings"
- },
- "incline_bench": "Šikmá lavice",
- "@incline_bench": {
- "description": "Generated entry for translation for server strings"
- },
- "kilometers_per_hour": "Kilometry za hodinu",
- "@kilometers_per_hour": {
- "description": "Generated entry for translation for server strings"
- },
- "kg": "kg",
- "@kg": {
- "description": "Generated entry for translation for server strings"
- },
- "lb": "lb",
- "@lb": {
- "description": "Generated entry for translation for server strings"
- },
- "none__bodyweight_exercise_": "žádný (cvičení s vlastní vahou)",
- "@none__bodyweight_exercise_": {
- "description": "Generated entry for translation for server strings"
- },
- "max_reps": "Max. opakování",
- "@max_reps": {
- "description": "Generated entry for translation for server strings"
- },
- "miles": "Míle",
- "@miles": {
- "description": "Generated entry for translation for server strings"
- },
- "miles_per_hour": "Míle za hodinu",
- "@miles_per_hour": {
- "description": "Generated entry for translation for server strings"
- },
- "minutes": "Minuty",
- "@minutes": {
- "description": "Generated entry for translation for server strings"
- },
- "quads": "Čtyřhlavý sval stehenní",
- "@quads": {
- "description": "Generated entry for translation for server strings"
- },
- "repetitions": "Opakování",
- "@repetitions": {
- "description": "Generated entry for translation for server strings"
- },
- "sz_bar": "SZ-Bar",
- "@sz_bar": {
- "description": "Generated entry for translation for server strings"
- },
- "shoulders": "Ramena",
- "@shoulders": {
- "description": "Generated entry for translation for server strings"
- },
- "seconds": "Sekundy",
- "@seconds": {
- "description": "Generated entry for translation for server strings"
- },
- "plates": "Závaží",
- "@plates": {
- "description": "Generated entry for translation for server strings"
- },
- "arms": "Paže",
- "@arms": {
- "description": "Generated entry for translation for server strings"
- },
- "contributeExerciseWarning": "Cvičení můžete přidávat pouze, pokud je váš účet starší než {days} dní a máte ověřený e-mail",
- "@contributeExerciseWarning": {
- "description": "Number of days before which a person can add exercise",
- "placeholders": {
- "days": {
- "type": "String",
- "example": "14"
- }
- }
- },
- "onlyLogging": "Zaznamenávat pouze kalorie",
- "@onlyLogging": {},
- "onlyLoggingHelpText": "Zaškrtněte, pokud chcete pouze zaznamenávat své kalorie a nechcete nastavovat podrobný výživový plán s přesnými jídly",
- "@onlyLoggingHelpText": {},
- "goalEnergy": "Cíl energie",
- "@goalEnergy": {},
- "goalProtein": "Cíl bílkovin",
- "@goalProtein": {},
- "goalCarbohydrates": "Cíl karbohydrátů",
- "@goalCarbohydrates": {},
- "goalFat": "Cíl tuku",
- "@goalFat": {},
- "today": "Dnes",
- "@today": {},
- "loggedToday": "Zaznamenáno dnes",
- "@loggedToday": {},
- "kcalValue": "{value} kcal",
- "@kcalValue": {
- "description": "A value in kcal, e.g. 500 kcal",
- "type": "text",
- "placeholders": {
- "value": {
- "type": "String"
- }
- }
- },
- "gValue": "{value} g",
- "@gValue": {
- "description": "A value in grams, e.g. 5 g",
- "type": "text",
- "placeholders": {
- "value": {
- "type": "String"
- }
- }
- },
- "percentValue": "{value} %",
- "@percentValue": {
- "description": "A value in percent, e.g. 10 %",
- "type": "text",
- "placeholders": {
- "value": {
- "type": "String"
- }
- }
- },
- "surplus": "přebytek",
- "@surplus": {
- "description": "Caloric surplus (either planned or unplanned)"
- },
- "deficit": "nedostatek",
- "@deficit": {
- "description": "Caloric deficit (either planned or unplanned)"
- },
- "goalFiber": "Cíl vlákniny",
- "@goalFiber": {},
- "goalMacro": "Makro cíle",
- "@goalMacro": {
- "description": "The goal for macronutrients"
- },
- "ingredientLogged": "Ingredience zaznamenána do diáře",
- "@ingredientLogged": {},
- "selectMealToLog": "Vyberte jídlo k záznamu do diáře",
- "@selectMealToLog": {},
- "noIngredientsDefined": "Zatím nebyly nastaveny žádné ingredience",
- "@noIngredientsDefined": {}
}
diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb
index 93c8c4692..3e2256fcb 100644
--- a/lib/l10n/app_de.arb
+++ b/lib/l10n/app_de.arb
@@ -969,11 +969,8 @@
},
"superset": "Superset",
"isVegan": "Vegan",
- "@isVegan": {},
"isVegetarian": "Vegetarisch",
- "@isVegetarian": {},
"filter": "Filtern",
- "@filter": {},
"searchLanguageCurrent": "Nur aktuelle Sprache ({lang})",
"@searchLanguageCurrent": {
"type": "text",
@@ -993,5 +990,17 @@
}
},
"searchLanguageAll": "Alle Sprachen",
- "@searchLanguageAll": {}
+ "dashboardWidgets": "Dashboard Widgets",
+ "slotEntryTypeWarmup": "Aufwärmtraining",
+ "trophies": "Trophäen",
+ "topSet": "Höchster Satz: {value}",
+ "@topSet": {
+ "description": "Value is a representation of the set, like '10 x 80kg'",
+ "type": "text",
+ "placeholders": {
+ "value": {
+ "type": "String"
+ }
+ }
+ }
}
diff --git a/lib/l10n/app_es.arb b/lib/l10n/app_es.arb
index eb223d07b..853094aff 100644
--- a/lib/l10n/app_es.arb
+++ b/lib/l10n/app_es.arb
@@ -994,5 +994,8 @@
"dashboardWidgets": "Widgets del panel",
"trophies": "Trofeos",
"personalRecords": "Registros personales",
- "noTrophies": "No tienes trofeos todavía"
+ "noTrophies": "No tienes trofeos todavía",
+ "slotEntryTypeWarmup": "Calentamiento",
+ "preview": "Vista previa",
+ "serverUpdateTitle": "Actualización de servidor requerida"
}
diff --git a/lib/l10n/app_gl.arb b/lib/l10n/app_gl.arb
new file mode 100644
index 000000000..0967ef424
--- /dev/null
+++ b/lib/l10n/app_gl.arb
@@ -0,0 +1 @@
+{}
diff --git a/lib/l10n/app_hr.arb b/lib/l10n/app_hr.arb
index 8eb477401..a5a35370f 100644
--- a/lib/l10n/app_hr.arb
+++ b/lib/l10n/app_hr.arb
@@ -1126,5 +1126,64 @@
"type": "String"
}
}
+ },
+ "preview": "Pregledaj",
+ "filterNutriscore": "Nutri-Score filtar",
+ "@filterNutriscore": {
+ "description": "Heading for the Nutri-Score slider in the ingredient search filter dialog"
+ },
+ "filterNutriscoreOff": "Isključeno",
+ "@filterNutriscoreOff": {
+ "description": "Label for the first slider stop, which disables the Nutri-Score filter"
+ },
+ "filterNutriscoreNoFilter": "Bez filtra",
+ "@filterNutriscoreNoFilter": {
+ "description": "Helper text shown under the Nutri-Score slider when it is at the Off position"
+ },
+ "filterNutriscoreOrBetter": "{grade} ili bolje",
+ "@filterNutriscoreOrBetter": {
+ "description": "Helper text shown under the Nutri-Score slider when a grade is selected (e.g. 'C or better')",
+ "placeholders": {
+ "grade": {
+ "type": "String",
+ "example": "C"
+ }
+ }
+ },
+ "serverConfigIssueTitle": "Problem s konfiguracijom servera",
+ "@serverConfigIssueTitle": {
+ "description": "Title of the dialog shown when server misconfiguration is detected"
+ },
+ "serverConfigIssueMessage": "Otkrivena je pogrešna konfiguracija servera, zaglavlja se ne prosljeđuju ispravno. Pogledaj dokumentaciju.",
+ "@serverConfigIssueMessage": {
+ "description": "Message explaining server misconfiguration and linking to documentation"
+ },
+ "understand": "Razumijem",
+ "@understand": {
+ "description": "Button label to acknowledge and dismiss the server configuration warning"
+ },
+ "viewDocumentation": "Prikaži dokumentaciju",
+ "@viewDocumentation": {
+ "description": "Button label to open the documentation about server configuration"
+ },
+ "slotEntryTypeWarmup": "Zagrijavanje",
+ "useBasicMarkdown": "Za formatiranje teksta se može koristiti osnovni Markdown",
+ "editorBold": "Podebljano",
+ "@editorBold": {
+ "description": "Label for bold formatting"
+ },
+ "editorItalic": "Kursiv",
+ "editorList": "Popis",
+ "exerciseSearchMode": "Modus pretrage",
+ "@exerciseSearchMode": {
+ "description": "Heading above the segmented control that lets the user pick between fuzzy and exact name matching"
+ },
+ "searchModeFuzzy": "Otprilike",
+ "@searchModeFuzzy": {
+ "description": "Label for the search mode that performs a fuzzy/substring search on exercise names"
+ },
+ "searchModeExact": "Točno",
+ "@searchModeExact": {
+ "description": "Label for the search mode that only matches exercises with this exact name"
}
}
diff --git a/lib/l10n/app_it.arb b/lib/l10n/app_it.arb
index d70f55516..937e0511e 100644
--- a/lib/l10n/app_it.arb
+++ b/lib/l10n/app_it.arb
@@ -941,5 +941,8 @@
"applicationLogs": "Registri dell'applicazione",
"dayTypeCustom": "Personalizzato",
"dayTypeAfap": "Più velocemente possibile",
- "dayTypeHiit": "Allenamento a intervalli ad alta intensità"
+ "dayTypeHiit": "Allenamento a intervalli ad alta intensità",
+ "workoutCompleted": "Allenamento Completato",
+ "noTrophies": "Non ci sono trofei",
+ "preview": "Anteprima"
}
diff --git a/lib/l10n/app_nb.arb b/lib/l10n/app_nb.arb
index 53e37d4f7..40b67a1db 100644
--- a/lib/l10n/app_nb.arb
+++ b/lib/l10n/app_nb.arb
@@ -191,15 +191,15 @@
"@passwordsDontMatch": {
"description": "Error message when the user enters two different passwords during registration"
},
- "invalidUrl": "Skriv inn en gyldig nettadresse",
+ "invalidUrl": "Skriv inn en gyldig nettadresse (URL)",
"@invalidUrl": {
"description": "Error message when the user enters an invalid URL, e.g. in the login form"
},
- "useCustomServer": "Bruk egendefinert tjener",
+ "useCustomServer": "Bruk egendefinert server",
"@useCustomServer": {
"description": "Toggle button allowing users to switch between the default and a custom wger server"
},
- "useDefaultServer": "Bruk forvalgt tjener",
+ "useDefaultServer": "Bruk standardserver",
"@useDefaultServer": {
"description": "Toggle button allowing users to switch between the default and a custom wger server"
},
@@ -229,7 +229,7 @@
"@value": {
"description": "The value of a measurement entry"
},
- "userProfile": "Din Profil",
+ "userProfile": "Din profil",
"usernameValidChars": "Et brukernavn kan bare inneholde bokstaver, sifre og tegnene @,+,.,-, og _",
"@usernameValidChars": {
"description": "Error message when the user tries to register a username with forbidden characters"
diff --git a/lib/l10n/app_pt.arb b/lib/l10n/app_pt.arb
index ba68d4c37..0fd9b050d 100644
--- a/lib/l10n/app_pt.arb
+++ b/lib/l10n/app_pt.arb
@@ -1040,5 +1040,64 @@
"type": "String"
}
}
+ },
+ "slotEntryTypeWarmup": "Mobilização geral",
+ "preview": "Ensaio",
+ "useBasicMarkdown": "Podes usar markdown básico para formatar o texto",
+ "editorBold": "Negrito",
+ "@editorBold": {
+ "description": "Label for bold formatting"
+ },
+ "editorItalic": "Itálico",
+ "editorList": "Lista",
+ "filterNutriscore": "Filtro Nutri-score",
+ "@filterNutriscore": {
+ "description": "Heading for the Nutri-Score slider in the ingredient search filter dialog"
+ },
+ "filterNutriscoreOff": "Desligado",
+ "@filterNutriscoreOff": {
+ "description": "Label for the first slider stop, which disables the Nutri-Score filter"
+ },
+ "filterNutriscoreNoFilter": "Sem filtro",
+ "@filterNutriscoreNoFilter": {
+ "description": "Helper text shown under the Nutri-Score slider when it is at the Off position"
+ },
+ "filterNutriscoreOrBetter": "{grade} ou melhor",
+ "@filterNutriscoreOrBetter": {
+ "description": "Helper text shown under the Nutri-Score slider when a grade is selected (e.g. 'C or better')",
+ "placeholders": {
+ "grade": {
+ "type": "String",
+ "example": "C"
+ }
+ }
+ },
+ "viewDocumentation": "Ver documentação",
+ "@viewDocumentation": {
+ "description": "Button label to open the documentation about server configuration"
+ },
+ "exerciseSearchMode": "Modo de pesquisa",
+ "@exerciseSearchMode": {
+ "description": "Heading above the segmented control that lets the user pick between fuzzy and exact name matching"
+ },
+ "searchModeFuzzy": "Busca aproximada",
+ "@searchModeFuzzy": {
+ "description": "Label for the search mode that performs a fuzzy/substring search on exercise names"
+ },
+ "searchModeExact": "Busca exata",
+ "@searchModeExact": {
+ "description": "Label for the search mode that only matches exercises with this exact name"
+ },
+ "serverConfigIssueTitle": "Problema de configuração do servidor",
+ "@serverConfigIssueTitle": {
+ "description": "Title of the dialog shown when server misconfiguration is detected"
+ },
+ "serverConfigIssueMessage": "Configuração incorreta do servidor; os cabeçalhos não estão a ser transmitidos corretamente. Consulta a documentação.",
+ "@serverConfigIssueMessage": {
+ "description": "Message explaining server misconfiguration and linking to documentation"
+ },
+ "understand": "Entendo",
+ "@understand": {
+ "description": "Button label to acknowledge and dismiss the server configuration warning"
}
}
diff --git a/lib/l10n/app_pt_BR.arb b/lib/l10n/app_pt_BR.arb
index 1f74a3ddb..841b2f7a4 100644
--- a/lib/l10n/app_pt_BR.arb
+++ b/lib/l10n/app_pt_BR.arb
@@ -167,7 +167,7 @@
"@pause": {
"description": "Noun, not an imperative! Label used for the pause when using the gym mode"
},
- "success": "Bem sucedido",
+ "success": "Sucesso",
"@success": {
"description": "Message when an action completed successfully, usually used as a heading"
},
@@ -1126,5 +1126,72 @@
"type": "String"
}
}
+ },
+ "preview": "Pré-visualização",
+ "slotEntryTypeWarmup": "Aquecimento",
+ "useBasicMarkdown": "Você pode usar Markdown básico para formatar o texto",
+ "editorBold": "Audacioso",
+ "@editorBold": {
+ "description": "Label for bold formatting"
+ },
+ "editorItalic": "Itálico",
+ "editorList": "Lista",
+ "filterNutriscore": "Filtro Nutri-Score",
+ "@filterNutriscore": {
+ "description": "Heading for the Nutri-Score slider in the ingredient search filter dialog"
+ },
+ "filterNutriscoreOff": "Desligado",
+ "@filterNutriscoreOff": {
+ "description": "Label for the first slider stop, which disables the Nutri-Score filter"
+ },
+ "filterNutriscoreNoFilter": "Sem filtro",
+ "@filterNutriscoreNoFilter": {
+ "description": "Helper text shown under the Nutri-Score slider when it is at the Off position"
+ },
+ "filterNutriscoreOrBetter": "{grade} ou melhor",
+ "@filterNutriscoreOrBetter": {
+ "description": "Helper text shown under the Nutri-Score slider when a grade is selected (e.g. 'C or better')",
+ "placeholders": {
+ "grade": {
+ "type": "String",
+ "example": "C"
+ }
+ }
+ },
+ "exerciseSearchMode": "Modo de pesquisa",
+ "@exerciseSearchMode": {
+ "description": "Heading above the segmented control that lets the user pick between fuzzy and exact name matching"
+ },
+ "searchModeFuzzy": "Busca aproximada",
+ "@searchModeFuzzy": {
+ "description": "Label for the search mode that performs a fuzzy/substring search on exercise names"
+ },
+ "searchModeExact": "Busca exata",
+ "@searchModeExact": {
+ "description": "Label for the search mode that only matches exercises with this exact name"
+ },
+ "serverConfigIssueTitle": "Problema de configuração do servidor",
+ "@serverConfigIssueTitle": {
+ "description": "Title of the dialog shown when server misconfiguration is detected"
+ },
+ "serverConfigIssueMessage": "Foi detectada uma configuração incorreta do servidor; os cabeçalhos não estão sendo transmitidos corretamente. Consulte a documentação.",
+ "@serverConfigIssueMessage": {
+ "description": "Message explaining server misconfiguration and linking to documentation"
+ },
+ "understand": "Eu entendo",
+ "@understand": {
+ "description": "Button label to acknowledge and dismiss the server configuration warning"
+ },
+ "viewDocumentation": "Ver documentação",
+ "@viewDocumentation": {
+ "description": "Button label to open the documentation about server configuration"
+ },
+ "appLanguage": "Idioma do aplicativo",
+ "@appLanguage": {
+ "description": "Label for the in-app language selector in settings"
+ },
+ "appLanguageSystem": "Padrão do sistema",
+ "@appLanguageSystem": {
+ "description": "Dropdown entry that follows the device system language"
}
}
diff --git a/lib/l10n/app_sn.arb b/lib/l10n/app_sn.arb
new file mode 100644
index 000000000..7b8d0cfed
--- /dev/null
+++ b/lib/l10n/app_sn.arb
@@ -0,0 +1,15 @@
+{
+ "userProfile": "Profile Yako",
+ "login": "Pinda muApp",
+ "@login": {
+ "description": "Text for login button"
+ },
+ "logout": "Buda muApp",
+ "@logout": {
+ "description": "Text for logout button"
+ },
+ "register": "Kuzvinyoresa",
+ "@register": {
+ "description": "Text for registration button"
+ }
+}
diff --git a/lib/l10n/app_zh_Hant.arb b/lib/l10n/app_zh_Hant.arb
index 4f3c985b0..45f3f8882 100644
--- a/lib/l10n/app_zh_Hant.arb
+++ b/lib/l10n/app_zh_Hant.arb
@@ -1,948 +1,1134 @@
{
- "login": "登入",
- "@login": {
- "description": "Text for login button"
- },
- "logout": "登出",
- "@logout": {
- "description": "Text for logout button"
- },
- "reset": "重設",
- "@reset": {
- "description": "Button text allowing the user to reset the entered values to the default"
- },
- "registerInstead": "還沒有帳號嗎?現在就註冊吧",
- "@registerInstead": {},
- "loginInstead": "已經有帳號了嗎?立即登入",
- "@loginInstead": {},
- "userProfile": "你的檔案",
- "@userProfile": {},
- "register": "註冊",
- "@register": {
- "description": "Text for registration button"
- },
- "useCustomServer": "使用自訂伺服器",
- "@useCustomServer": {
- "description": "Toggle button allowing users to switch between the default and a custom wger server"
- },
- "passwordsDontMatch": "密碼不一致",
- "@passwordsDontMatch": {
- "description": "Error message when the user enters two different passwords during registration"
- },
- "passwordTooShort": "密碼過短",
- "@passwordTooShort": {
- "description": "Error message when the user a password that is too short"
- },
- "password": "密碼",
- "@password": {},
- "confirmPassword": "確認密碼",
- "@confirmPassword": {},
- "invalidEmail": "請輸入有效的電子郵件地址",
- "@invalidEmail": {
- "description": "Error message when the user enters an invalid email"
- },
- "email": "電子郵件地址",
- "@email": {},
- "username": "使用者名稱",
- "@username": {},
- "invalidUsername": "請輸入有效的使用者名稱",
- "@invalidUsername": {
- "description": "Error message when the user enters an invalid username"
- },
- "customServerUrl": "wger 服務的 URL",
- "@customServerUrl": {
- "description": "Label in the form where the users can enter their own wger instance"
- },
- "labelWorkoutLogs": "訓練記錄",
- "@labelWorkoutLogs": {
- "description": "(Workout) logs"
- },
- "labelWorkoutPlan": "健身計劃",
- "@labelWorkoutPlan": {
- "description": "Title for screen workout plan"
- },
- "labelDashboard": "儀表板",
- "@labelDashboard": {
- "description": "Title for screen dashboard"
- },
- "success": "成功",
- "@success": {
- "description": "Message when an action completed successfully, usually used as a heading"
- },
- "successfullySaved": "已儲存",
- "@successfullySaved": {
- "description": "Message when an item was successfully saved"
- },
- "exerciseList": "動作清單",
- "@exerciseList": {},
- "exercise": "動作",
- "@exercise": {
- "description": "An exercise for a workout"
- },
- "exercises": "動作",
- "@exercises": {
- "description": "Multiple exercises for a workout"
- },
- "exerciseName": "動作名稱",
- "@exerciseName": {
- "description": "Label for the name of a workout exercise"
- },
- "searchExercise": "搜尋待加入的動作",
- "@searchExercise": {
- "description": "Label on set form. Selected exercises are added to the set"
- },
- "invalidUrl": "請輸入有效的 URL",
- "@invalidUrl": {
- "description": "Error message when the user enters an invalid URL, e.g. in the login form"
- },
- "useDefaultServer": "使用預設伺服器",
- "@useDefaultServer": {
- "description": "Toggle button allowing users to switch between the default and a custom wger server"
- },
- "usernameValidChars": "使用者名稱只能包含字母、數字,以及 @、+、.、-、_ 等符號",
- "@usernameValidChars": {
- "description": "Error message when the user tries to register a username with forbidden characters"
- },
- "customServerHint": "輸入您自架的伺服器位址,否則將使用預設伺服器",
- "@customServerHint": {
- "description": "Hint text for the form where the users can enter their own wger instance"
- },
- "labelBottomNavWorkout": "健身",
- "@labelBottomNavWorkout": {
- "description": "Label used in bottom navigation, use a short word"
- },
- "labelBottomNavNutrition": "營養",
- "@labelBottomNavNutrition": {
- "description": "Label used in bottom navigation, use a short word"
- },
- "successfullyDeleted": "已刪除",
- "@successfullyDeleted": {
- "description": "Message when an item was successfully deleted"
- },
- "noMatchingExerciseFound": "沒有找到符合的動作項目",
- "@noMatchingExerciseFound": {
- "description": "Message returned if no exercises match the searched string"
- },
- "muscles": "主要肌群",
- "@muscles": {
- "description": "(main) muscles trained by an exercise"
- },
- "equipment": "器材",
- "@equipment": {
- "description": "Equipment needed to perform an exercise"
- },
- "searchNamesInEnglish": "也搜尋英文名稱",
- "@searchNamesInEnglish": {},
- "logged": "實際",
- "@logged": {
- "description": "Header for the column of 'logged' nutritional values, i.e. what was eaten"
- },
- "scanBarcode": "掃描條碼",
- "@scanBarcode": {
- "description": "Label for scan barcode button"
- },
- "seconds": "秒",
- "@seconds": {
- "description": "Generated entry for translation for server strings"
- },
- "useMetric": "用公制單位表示體重",
- "@useMetric": {},
- "set": "組",
- "@set": {
- "description": "A set in a workout plan"
- },
- "repetitionUnit": "重複次數單位",
- "@repetitionUnit": {},
- "dayDescriptionHelp": "描述這一天做了什麼(例如:拉力日)或訓練了哪些部位(例如:胸部和肩膀)",
- "@dayDescriptionHelp": {},
- "comment": "註解",
- "@comment": {
- "description": "Comment, additional information"
- },
- "impression": "感受",
- "@impression": {
- "description": "General impression (e.g. for a workout session) such as good, bad, etc."
- },
- "sameRepetitions": "如果您對所有組別進行相同的重複次數和重量,則只需填寫一行即可。例如,4 組每組 10 下,只要輸入 10 次重複,系統會自動變成「4 x 10」。",
- "@sameRepetitions": {},
- "plateCalculator": "槓片",
- "@plateCalculator": {
- "description": "Label used for the plate calculator in the gym mode"
- },
- "gymMode": "健身房模式",
- "@gymMode": {
- "description": "Label when starting the gym mode"
- },
- "selectExercises": "如果您想進行超級組訓練,您可以搜尋多個動作項目,它們會被組合在一起",
- "@selectExercises": {},
- "workoutSession": "健身(節)",
- "@workoutSession": {
- "description": "A (logged) workout session"
- },
- "pause": "休息",
- "@pause": {
- "description": "Noun, not an imperative! Label used for the pause when using the gym mode"
- },
- "jumpTo": "跳到",
- "@jumpTo": {
- "description": "Imperative. Label used in popup allowing the user to jump to a specific exercise while in the gym mode"
- },
- "todaysWorkout": "今天的訓練",
- "@todaysWorkout": {},
- "logHelpEntries": "如果同一天有多筆相同重複次數但不同重量的紀錄,圖表只會顯示重量較重的那筆紀錄。",
- "@logHelpEntries": {},
- "description": "描述",
- "@description": {},
- "addIngredient": "新增食材",
- "@addIngredient": {},
- "verify": "驗證",
- "@verify": {},
- "logMeal": "紀錄餐點到營養日記",
- "@logMeal": {},
- "logHelpEntriesUnits": "請注意,圖表只會顯示包含重量單位(公斤或磅)和重複次數的紀錄,其他組合(例如時間或直到力竭)不會被顯示。",
- "@logHelpEntriesUnits": {},
- "name": "名稱",
- "@name": {
- "description": "Name for a workout or nutritional plan"
- },
- "nutritionalDiary": "營養日記",
- "@nutritionalDiary": {},
- "nutritionalPlans": "營養計劃",
- "@nutritionalPlans": {},
- "weight": "重量",
- "@weight": {
- "description": "The weight of a workout log or body weight entry"
- },
- "time": "時間",
- "@time": {
- "description": "The time of a meal or workout"
- },
- "searchIngredient": "搜尋食材",
- "@searchIngredient": {
- "description": "Label on ingredient search form"
- },
- "logIngredient": "紀錄食材到營養日記",
- "@logIngredient": {},
- "anErrorOccurred": "發生錯誤!",
- "@anErrorOccurred": {},
- "noNutritionalPlans": "您沒有營養計劃",
- "@noNutritionalPlans": {
- "description": "Message shown when the user has no nutritional plans"
- },
- "timeStart": "開始時間",
- "@timeStart": {
- "description": "The starting time of a workout"
- },
- "timeEnd": "結束時間",
- "@timeEnd": {
- "description": "The end time of a workout"
- },
- "timeStartAhead": "開始時間不能早於結束時間",
- "@timeStartAhead": {},
- "saturatedFat": "飽和脂肪",
- "@saturatedFat": {},
- "fatShort": "脂肪",
- "@fatShort": {
- "description": "The first letter or short name of the word 'Fat', used in overviews"
- },
- "sodium": "鈉",
- "@sodium": {},
- "edit": "編輯",
- "@edit": {},
- "moreMeasurementEntries": "新增測量紀錄",
- "@moreMeasurementEntries": {
- "description": "Message shown when the user wants to add new measurement"
- },
- "confirmDelete": "您確定要刪除「{toDelete}」嗎?",
- "@confirmDelete": {
- "description": "Confirmation text before the user deletes an object",
- "type": "text",
- "placeholders": {
- "toDelete": {
- "type": "String"
- }
- }
- },
- "newNutritionalPlan": "新的營養計劃",
- "@newNutritionalPlan": {},
- "aboutDescription": "感謝您使用 wger!wger 是一個協作式開源專案,由來自世界各地的健身愛好者共同打造。",
- "@aboutDescription": {
- "description": "Text in the about dialog"
- },
- "enterValue": "請輸入數值",
- "@enterValue": {
- "description": "Error message when the user hasn't entered a value on a required field"
- },
- "previous": "上一個",
- "@previous": {},
- "add_exercise_image_license": "影像必須與 CC BY SA 授權相容。如有疑慮,請僅上傳您自己拍攝的照片。",
- "@add_exercise_image_license": {},
- "verifiedEmail": "已驗證的電子郵件",
- "@verifiedEmail": {},
- "selectIngredient": "請選擇一個食材",
- "@selectIngredient": {
- "description": "Error message when the user hasn't selected an ingredient from the autocompleter"
- },
- "barbell": "槓鈴",
- "@barbell": {
- "description": "Generated entry for translation for server strings"
- },
- "arms": "手臂",
- "@arms": {
- "description": "Generated entry for translation for server strings"
- },
- "contributeExerciseWarning": "只有當您的帳號已超過 {days} 天且已驗證您的電子郵件時,您才能貢獻動作項目",
- "@contributeExerciseWarning": {
- "description": "Number of days before which a person can add exercise",
- "placeholders": {
- "days": {
- "type": "String",
- "example": "14"
- }
- }
- },
- "dumbbell": "啞鈴",
- "@dumbbell": {
- "description": "Generated entry for translation for server strings"
- },
- "chest": "胸",
- "@chest": {
- "description": "Generated entry for translation for server strings"
- },
- "calves": "小腿肌群",
- "@calves": {
- "description": "Generated entry for translation for server strings"
- },
- "bench": "重訓椅",
- "@bench": {
- "description": "Generated entry for translation for server strings"
- },
- "lb": "磅",
- "@lb": {
- "description": "Generated entry for translation for server strings"
- },
- "until_failure": "直到力竭",
- "@until_failure": {
- "description": "Generated entry for translation for server strings"
- },
- "none__bodyweight_exercise_": "無(徒手運動)",
- "@none__bodyweight_exercise_": {
- "description": "Generated entry for translation for server strings"
- },
- "done": "完成",
- "@done": {},
- "log": "紀錄",
- "@log": {
- "description": "Log a specific meal (imperative form)"
- },
- "addMeal": "新增餐點",
- "@addMeal": {},
- "sugars": "糖分",
- "@sugars": {},
- "fat": "脂肪",
- "@fat": {},
- "calendar": "日曆",
- "@calendar": {},
- "optionsLabel": "選項",
- "@optionsLabel": {
- "description": "Label for the popup with general app options"
- },
- "weightUnit": "重量單位",
- "@weightUnit": {},
- "newDay": "新的一天",
- "@newDay": {},
- "newSet": "新增一組",
- "@newSet": {
- "description": "Header when adding a new set to a workout day"
- },
- "start": "開始",
- "@start": {
- "description": "Label on button to start the gym mode (i.e., an imperative)"
- },
- "selectExercise": "請選擇一個動作",
- "@selectExercise": {
- "description": "Error message when the user hasn't selected an exercise in the form"
- },
- "whatVariationsExist": "這個動作有哪些變化(如果有的話)?",
- "@whatVariationsExist": {},
- "back": "背部",
- "@back": {
- "description": "Generated entry for translation for server strings"
- },
- "category": "類別",
- "@category": {
- "description": "Category for an exercise, ingredient, etc."
- },
- "musclesSecondary": "輔助肌群",
- "@musclesSecondary": {
- "description": "secondary muscles trained by an exercise"
- },
- "rirNotUsed": "未使用保留次數",
- "@rirNotUsed": {
- "description": "Label used in RiR slider when the RiR value is not used/saved for the current setting or log"
- },
- "setNr": "第 {nr} 組",
- "@setNr": {
- "description": "Header in form indicating the number of the current set. Can also be translated as something like 'Set Nr. xy'.",
- "type": "text",
- "placeholders": {
- "nr": {
- "type": "String"
- }
- }
- },
- "notes": "筆記",
- "@notes": {
- "description": "Personal notes, e.g. for a workout session"
- },
- "plateCalculatorNotDivisible": "沒有足夠的槓片達到目標重量",
- "@plateCalculatorNotDivisible": {
- "description": "Error message when the current weight is not reachable with plates (e.g. 33.1 kg)"
- },
- "save": "儲存",
- "@save": {},
- "addSet": "新增一組",
- "@addSet": {
- "description": "Label for the button that adds a set (to a workout day)"
- },
- "mealLogged": "餐點已紀錄到日記",
- "@mealLogged": {},
- "measurement": "測量",
- "@measurement": {},
- "nutritionalPlan": "營養計劃",
- "@nutritionalPlan": {},
- "date": "日期",
- "@date": {
- "description": "The date of a workout log or body weight entry"
- },
- "value": "數值",
- "@value": {
- "description": "The value of a measurement entry"
- },
- "measurementEntriesHelpText": "用於測量該類別的單位,例如「公分」或「%」",
- "@measurementEntriesHelpText": {},
- "measurements": "測量項目",
- "@measurements": {
- "description": "Categories for the measurements such as biceps size, body fat, etc."
- },
- "planned": "計劃",
- "@planned": {
- "description": "Header for the column of 'planned' nutritional values, i.e. what should be eaten"
- },
- "gPerBodyKg": "克/體重公斤",
- "@gPerBodyKg": {
- "description": "Label used for total sums of e.g. calories or similar in grams per Kg of body weight"
- },
- "kJ": "千焦",
- "@kJ": {
- "description": "Energy in a meal in kilo joules, kJ"
- },
- "carbohydratesShort": "碳水",
- "@carbohydratesShort": {
- "description": "The first letter or short name of the word 'Carbohydrates', used in overviews"
- },
- "unit": "單位",
- "@unit": {
- "description": "The unit used for a repetition (kg, time, etc.)"
- },
- "newEntry": "新增紀錄",
- "@newEntry": {
- "description": "Title when adding a new entry such as a weight or log entry"
- },
- "amount": "份量",
- "@amount": {
- "description": "The amount (e.g. in grams) of an ingredient in a meal"
- },
- "loadingText": "載入中...",
- "@loadingText": {
- "description": "Text to show when entries are being loaded in the background: Loading..."
- },
- "delete": "刪除",
- "@delete": {},
- "goToDetailPage": "前往詳細資訊頁面",
- "@goToDetailPage": {},
- "appUpdateTitle": "需要更新",
- "@appUpdateTitle": {},
- "variations": "變化",
- "@variations": {
- "description": "Variations of one exercise (e.g. benchpress and benchpress narrow)"
- },
- "legs": "腿部",
- "@legs": {
- "description": "Generated entry for translation for server strings"
- },
- "lower_back": "下背",
- "@lower_back": {
- "description": "Generated entry for translation for server strings"
- },
- "max_reps": "最大次數",
- "@max_reps": {
- "description": "Generated entry for translation for server strings"
- },
- "quads": "股四頭肌",
- "@quads": {
- "description": "Generated entry for translation for server strings"
- },
- "textPromptTitle": "準備開始了嗎?",
- "@textPromptTitle": {},
- "body_weight": "體重",
- "@body_weight": {
- "description": "Generated entry for translation for server strings"
- },
- "textPromptSubheading": "按下動作按鈕開始",
- "@textPromptSubheading": {},
- "ingredient": "食材",
- "@ingredient": {},
- "energy": "熱量",
- "@energy": {
- "description": "Energy in a meal, ingredient etc. e.g. in kJ"
- },
- "goalEnergy": "熱量目標",
- "@goalEnergy": {},
- "goalProtein": "蛋白質目標",
- "@goalProtein": {},
- "goalFat": "脂肪目標",
- "@goalFat": {},
- "onlyLogging": "僅追蹤卡路里",
- "@onlyLogging": {},
- "measurementCategoriesHelpText": "測量類別,例如「二頭肌」或「體脂率」",
- "@measurementCategoriesHelpText": {},
- "today": "今天",
- "@today": {},
- "percentEnergy": "熱量百分比",
- "@percentEnergy": {},
- "onlyLoggingHelpText": "如果您只想紀錄卡路里但不想設定詳細的營養計劃和特定餐點,請勾選此項",
- "@onlyLoggingHelpText": {},
- "goalCarbohydrates": "碳水化合物目標",
- "@goalCarbohydrates": {},
- "loggedToday": "今天的紀錄",
- "@loggedToday": {},
- "verifiedEmailReason": "您需要驗證您的電子郵件才能貢獻動作項目",
- "@verifiedEmailReason": {},
- "alternativeNames": "替代名稱",
- "@alternativeNames": {},
- "productNotFound": "找不到產品",
- "@productNotFound": {
- "description": "Header label for dialog when product is not found with barcode"
- },
- "productNotFoundDescription": "在 wger 資料庫中找不到條碼為 {barcode} 的產品",
- "@productNotFoundDescription": {
- "description": "Dialog info when product is not found with barcode",
- "type": "text",
- "placeholders": {
- "barcode": {
- "type": "String"
- }
- }
- },
- "images": "圖片",
- "@images": {},
- "language": "語言",
- "@language": {},
- "translateExercise": "立即翻譯此動作",
- "@translateExercise": {},
- "translation": "翻譯",
- "@translation": {},
- "contributeExercise": "貢獻一個動作",
- "@contributeExercise": {},
- "baseData": "英文基本資料",
- "@baseData": {
- "description": "The base data for an exercise such as category, trained muscles, etc."
- },
- "cacheWarning": "由於快取機制,變更可能需要一些時間才會在整個應用程式中顯示。",
- "@cacheWarning": {},
- "miles": "英里",
- "@miles": {
- "description": "Generated entry for translation for server strings"
- },
- "kilometers_per_hour": "公里/小時",
- "@kilometers_per_hour": {
- "description": "Generated entry for translation for server strings"
- },
- "kilometers": "公里",
- "@kilometers": {
- "description": "Generated entry for translation for server strings"
- },
- "kettlebell": "壺鈴",
- "@kettlebell": {
- "description": "Generated entry for translation for server strings"
- },
- "lats": "背闊肌",
- "@lats": {
- "description": "Generated entry for translation for server strings"
- },
- "kg": "公斤",
- "@kg": {
- "description": "Generated entry for translation for server strings"
- },
- "triceps": "三頭肌",
- "@triceps": {
- "description": "Generated entry for translation for server strings"
- },
- "shoulders": "肩膀",
- "@shoulders": {
- "description": "Generated entry for translation for server strings"
- },
- "unVerifiedEmail": "未驗證的電子郵件",
- "@unVerifiedEmail": {},
- "glutes": "臀大肌群",
- "@glutes": {
- "description": "Generated entry for translation for server strings"
- },
- "cardio": "有氧運動",
- "@cardio": {
- "description": "Generated entry for translation for server strings"
- },
- "miles_per_hour": "英里/小時",
- "@miles_per_hour": {
- "description": "Generated entry for translation for server strings"
- },
- "weekAverage": "七天平均值",
- "@weekAverage": {
- "description": "Header for the column of '7 day average' nutritional values, i.e. what was logged last week"
- },
- "difference": "差異",
- "@difference": {},
- "productFound": "找到產品",
- "@productFound": {
- "description": "Header label for dialog when product is found with barcode"
- },
- "close": "關閉",
- "@close": {
- "description": "Translation for close"
- },
- "biceps": "二頭肌",
- "@biceps": {
- "description": "Generated entry for translation for server strings"
- },
- "oneNamePerLine": "每行一個名稱",
- "@oneNamePerLine": {},
- "aboutPageTitle": "關於 Wger",
- "@aboutPageTitle": {},
- "verifiedEmailInfo": "驗證郵件已寄送至 {email}",
- "@verifiedEmailInfo": {
- "placeholders": {
- "email": {
- "type": "String"
- }
- }
- },
- "gym_mat": "健身墊",
- "@gym_mat": {
- "description": "Generated entry for translation for server strings"
- },
- "settingsCacheDeletedSnackbar": "成功清除快取",
- "@settingsCacheDeletedSnackbar": {},
- "settingsTitle": "設定",
- "@settingsTitle": {},
- "settingsCacheTitle": "快取",
- "@settingsCacheTitle": {},
- "settingsExerciseCacheDescription": "動作快取",
- "@settingsExerciseCacheDescription": {},
- "gValue": "{value} 克",
- "@gValue": {
- "description": "A value in grams, e.g. 5 g",
- "type": "text",
- "placeholders": {
- "value": {
- "type": "String"
- }
- }
- },
- "percentValue": "{value} %",
- "@percentValue": {
- "description": "A value in percent, e.g. 10 %",
- "type": "text",
- "placeholders": {
- "value": {
- "type": "String"
- }
- }
- },
- "reps": "次",
- "@reps": {
- "description": "Shorthand for repetitions, used when space constraints are tighter"
- },
- "rir": "保留次數",
- "@rir": {
- "description": "Shorthand for Repetitions In Reserve"
- },
- "selectEntry": "請選擇一個項目",
- "@selectEntry": {},
- "nrOfSets": "每個動作的組數:{nrOfSets}",
- "@nrOfSets": {
- "description": "Label shown on the slider where the user selects the nr of sets",
- "type": "text",
- "placeholders": {
- "nrOfSets": {
- "type": "String"
- }
- }
- },
- "alsoKnownAs": "也稱為:{aliases}",
- "@alsoKnownAs": {
- "placeholders": {
- "aliases": {
- "type": "String"
- }
+ "login": "登入",
+ "@login": {
+ "description": "Text for login button"
},
- "description": "List of alternative names for an exercise"
- },
- "abs": "腹肌",
- "@abs": {
- "description": "Generated entry for translation for server strings"
- },
- "energyShort": "熱量",
- "@energyShort": {
- "description": "The first letter or short name of the word 'Energy', used in overviews"
- },
- "kcal": "大卡",
- "@kcal": {
- "description": "Energy in a meal in kilocalories, kcal"
- },
- "macronutrients": "巨量營養素",
- "@macronutrients": {},
- "proteinShort": "蛋白質",
- "@proteinShort": {
- "description": "The first letter or short name of the word 'Protein', used in overviews"
- },
- "toggleDetails": "切換詳細資訊",
- "@toggleDetails": {
- "description": "Switch to toggle detail / overview"
- },
- "addImage": "新增圖片",
- "@addImage": {},
- "addExercise": "新增動作",
- "@addExercise": {},
- "productFoundDescription": "此條碼對應到這個產品:{productName}。您要繼續嗎?",
- "@productFoundDescription": {
- "description": "Dialog info when product is found with barcode",
- "type": "text",
- "placeholders": {
- "productName": {
- "type": "String"
- }
- }
- },
- "appUpdateContent": "此版本的應用程式與伺服器不相容,請更新您的應用程式。",
- "@appUpdateContent": {},
- "enterCharacters": "請輸入 {min} 到 {max} 個字元",
- "@enterCharacters": {
- "description": "Error message when the user hasn't entered the correct number of characters in a form",
- "type": "text",
- "placeholders": {
- "min": {
- "type": "String"
- },
- "max": {
- "type": "String"
- }
- }
- },
- "g": "克",
- "@g": {
- "description": "Abbreviation for gram"
- },
- "protein": "蛋白質",
- "@protein": {},
- "carbohydrates": "碳水化合物",
- "@carbohydrates": {},
- "surplus": "過剩",
- "@surplus": {
- "description": "Caloric surplus (either planned or unplanned)"
- },
- "deficit": "不足",
- "@deficit": {
- "description": "Caloric deficit (either planned or unplanned)"
- },
- "kcalValue": "{value} 大卡",
- "@kcalValue": {
- "description": "A value in kcal, e.g. 500 kcal",
- "type": "text",
- "placeholders": {
- "value": {
- "type": "String"
- }
- }
- },
- "noWeightEntries": "您沒有體重紀錄",
- "@noWeightEntries": {
- "description": "Message shown when the user has no logged weight entries"
- },
- "noMeasurementEntries": "您沒有測量紀錄",
- "@noMeasurementEntries": {},
- "enterMinCharacters": "請輸入至少 {min} 個字元",
- "@enterMinCharacters": {
- "description": "Error message when the user hasn't entered the minimum amount characters in a form",
- "type": "text",
- "placeholders": {
- "min": {
- "type": "String"
- }
- }
- },
- "baseNameEnglish": "所有動作都需要一個英文基本名稱",
- "@baseNameEnglish": {},
- "aboutDonateText": "請我們喝杯咖啡來支持專案、支付伺服器費用,讓我們持續前進",
- "@aboutDonateText": {},
- "aboutMastodonTitle": "Mastodon",
- "@aboutMastodonTitle": {},
- "aboutDonateTitle": "贊助",
- "@aboutDonateTitle": {},
- "goToToday": "回到今天",
- "@goToToday": {
- "description": "Label on button to jump back to 'today' in the calendar widget"
- },
- "total": "總計",
- "@total": {
- "description": "Label used for total sums of e.g. calories or similar"
- },
- "swiss_ball": "瑜伽球",
- "@swiss_ball": {
- "description": "Generated entry for translation for server strings"
- },
- "sz_bar": "彎曲槓",
- "@sz_bar": {
- "description": "Generated entry for translation for server strings"
- },
- "pull_up_bar": "引體向上桿",
- "@pull_up_bar": {
- "description": "Generated entry for translation for server strings"
- },
- "plates": "槓片",
- "@plates": {
- "description": "Generated entry for translation for server strings"
- },
- "minutes": "分鐘",
- "@minutes": {
- "description": "Generated entry for translation for server strings"
- },
- "incline_bench": "上斜椅",
- "@incline_bench": {
- "description": "Generated entry for translation for server strings"
- },
- "hamstrings": "腿後肌群",
- "@hamstrings": {
- "description": "Generated entry for translation for server strings"
- },
- "selectImage": "請選擇圖片",
- "@selectImage": {
- "description": "Label and error message when the user hasn't selected an image to save"
- },
- "chooseFromLibrary": "從相簿中選擇",
- "@chooseFromLibrary": {},
- "enterValidNumber": "請輸入有效數字",
- "@enterValidNumber": {
- "description": "Error message when the user has submitted an invalid number (e.g. '3,.,.,.')"
- },
- "dataCopied": "資料已複製到新紀錄",
- "@dataCopied": {
- "description": "Snackbar message to show on copying data to a new log entry"
- },
- "setUnitsAndRir": "設定單位和保留次數",
- "@setUnitsAndRir": {
- "description": "Label shown on the slider where the user can toggle showing units and RiR",
- "type": "text"
- },
- "recentlyUsedIngredients": "最近新增的食材",
- "@recentlyUsedIngredients": {
- "description": "A message when a user adds a new ingredient to a meal."
- },
- "takePicture": "拍照",
- "@takePicture": {},
- "gallery": "相簿",
- "@gallery": {},
- "next": "下一個",
- "@next": {},
- "repetitions": "次數",
- "@repetitions": {
- "description": "Generated entry for translation for server strings"
- },
- "goalMacro": "巨量營養素目標",
- "@goalMacro": {
- "description": "The goal for macronutrients"
- },
- "fiber": "纖維",
- "@fiber": {},
- "goalFiber": "纖維目標",
- "@goalFiber": {},
- "settingsIngredientCacheDescription": "食材快取",
- "@settingsIngredientCacheDescription": {},
- "overallChangeWeight": "整體變化",
- "@overallChangeWeight": {
- "description": "Overall change in weight, added for localization"
- },
- "goalTypeMeals": "來自餐點",
- "@goalTypeMeals": {
- "description": "added for localization of Class GoalType's filed meals"
- },
- "goalTypeBasic": "基本",
- "@goalTypeBasic": {
- "description": "added for localization of Class GoalType's filed basic"
- },
- "goalTypeAdvanced": "進階",
- "@goalTypeAdvanced": {
- "description": "added for localization of Class GoalType's filed advanced"
- },
- "indicatorRaw": "原始",
- "@indicatorRaw": {
- "description": "added for localization of Class Indicator's field text"
- },
- "indicatorAvg": "平均",
- "@indicatorAvg": {
- "description": "added for localization of Class Indicator's field text"
- },
- "themeMode": "主題模式",
- "@themeMode": {},
- "darkMode": "保持深色模式",
- "@darkMode": {},
- "lightMode": "保持淺色模式",
- "@lightMode": {},
- "systemMode": "系統設定",
- "@systemMode": {},
- "chartAllTimeTitle": "{name} 歷史紀錄",
- "@chartAllTimeTitle": {
- "description": "All-time chart of 'name' (e.g. 'weight', 'body fat' etc.)",
- "type": "text",
- "placeholders": {
- "name": {
- "type": "String"
- }
- }
- },
- "chart30DaysTitle": "{name} 最近 30 天",
- "@chart30DaysTitle": {
- "description": "last 30 days chart of 'name' (e.g. 'weight', 'body fat' etc.)",
- "type": "text",
- "placeholders": {
- "name": {
- "type": "String"
- }
- }
- },
- "chartDuringPlanTitle": "營養計劃 {planName} 期間的 {chartName}",
- "@chartDuringPlanTitle": {
- "description": "chart of 'chartName' (e.g. 'weight', 'body fat' etc.) logged during plan",
- "type": "text",
- "placeholders": {
- "chartName": {
- "type": "String"
- },
- "planName": {
- "type": "String"
- }
- }
- },
- "noIngredientsDefined": "尚未定義食材",
- "@noIngredientsDefined": {},
- "ingredientLogged": "食材已紀錄到日記",
- "@ingredientLogged": {},
- "selectMealToLog": "選擇要紀錄到日記的餐點",
- "@selectMealToLog": {},
- "errorCouldNotConnectToServerDetails": "無法連接到伺服器",
- "@errorCouldNotConnectToServerDetails": {},
- "copyToClipboard": "複製到剪貼簿",
- "@copyToClipboard": {},
- "aboutWhySupportTitle": "開源且免費使用❤️",
- "@aboutWhySupportTitle": {}
+ "logout": "登出",
+ "@logout": {
+ "description": "Text for logout button"
+ },
+ "reset": "重設",
+ "@reset": {
+ "description": "Button text allowing the user to reset the entered values to the default"
+ },
+ "registerInstead": "還沒有帳號嗎?現在就註冊吧",
+ "loginInstead": "已經有帳號了嗎?立即登入",
+ "userProfile": "你的檔案",
+ "register": "註冊",
+ "@register": {
+ "description": "Text for registration button"
+ },
+ "useCustomServer": "使用自訂伺服器",
+ "@useCustomServer": {
+ "description": "Toggle button allowing users to switch between the default and a custom wger server"
+ },
+ "passwordsDontMatch": "密碼不一致",
+ "@passwordsDontMatch": {
+ "description": "Error message when the user enters two different passwords during registration"
+ },
+ "passwordTooShort": "密碼過短",
+ "@passwordTooShort": {
+ "description": "Error message when the user a password that is too short"
+ },
+ "password": "密碼",
+ "confirmPassword": "確認密碼",
+ "invalidEmail": "請輸入有效的電子郵件地址",
+ "@invalidEmail": {
+ "description": "Error message when the user enters an invalid email"
+ },
+ "email": "電子郵件地址",
+ "username": "使用者名稱",
+ "invalidUsername": "請輸入有效的使用者名稱",
+ "@invalidUsername": {
+ "description": "Error message when the user enters an invalid username"
+ },
+ "customServerUrl": "wger 服務的 URL",
+ "@customServerUrl": {
+ "description": "Label in the form where the users can enter their own wger instance"
+ },
+ "labelWorkoutLogs": "訓練記錄",
+ "@labelWorkoutLogs": {
+ "description": "(Workout) logs"
+ },
+ "labelWorkoutPlan": "健身計劃",
+ "@labelWorkoutPlan": {
+ "description": "Title for screen workout plan"
+ },
+ "labelDashboard": "儀表板",
+ "@labelDashboard": {
+ "description": "Title for screen dashboard"
+ },
+ "success": "成功",
+ "@success": {
+ "description": "Message when an action completed successfully, usually used as a heading"
+ },
+ "successfullySaved": "已儲存",
+ "@successfullySaved": {
+ "description": "Message when an item was successfully saved"
+ },
+ "exerciseList": "動作清單",
+ "exercise": "動作",
+ "@exercise": {
+ "description": "An exercise for a workout"
+ },
+ "exercises": "動作",
+ "@exercises": {
+ "description": "Multiple exercises for a workout"
+ },
+ "exerciseName": "動作名稱",
+ "@exerciseName": {
+ "description": "Label for the name of a workout exercise"
+ },
+ "searchExercise": "搜尋待加入的動作",
+ "@searchExercise": {
+ "description": "Label on set form. Selected exercises are added to the set"
+ },
+ "invalidUrl": "請輸入有效的 URL",
+ "@invalidUrl": {
+ "description": "Error message when the user enters an invalid URL, e.g. in the login form"
+ },
+ "useDefaultServer": "使用預設伺服器",
+ "@useDefaultServer": {
+ "description": "Toggle button allowing users to switch between the default and a custom wger server"
+ },
+ "usernameValidChars": "使用者名稱只能包含字母、數字,以及 @、+、.、-、_ 等符號",
+ "@usernameValidChars": {
+ "description": "Error message when the user tries to register a username with forbidden characters"
+ },
+ "customServerHint": "輸入您自架的伺服器位址,否則將使用預設伺服器",
+ "@customServerHint": {
+ "description": "Hint text for the form where the users can enter their own wger instance"
+ },
+ "labelBottomNavWorkout": "健身",
+ "@labelBottomNavWorkout": {
+ "description": "Label used in bottom navigation, use a short word"
+ },
+ "labelBottomNavNutrition": "營養",
+ "@labelBottomNavNutrition": {
+ "description": "Label used in bottom navigation, use a short word"
+ },
+ "successfullyDeleted": "已刪除",
+ "@successfullyDeleted": {
+ "description": "Message when an item was successfully deleted"
+ },
+ "noMatchingExerciseFound": "沒有找到符合的動作項目",
+ "@noMatchingExerciseFound": {
+ "description": "Message returned if no exercises match the searched string"
+ },
+ "muscles": "主要肌群",
+ "@muscles": {
+ "description": "(main) muscles trained by an exercise"
+ },
+ "equipment": "器材",
+ "@equipment": {
+ "description": "Equipment needed to perform an exercise"
+ },
+ "searchNamesInEnglish": "也搜尋英文名稱",
+ "logged": "實際",
+ "@logged": {
+ "description": "Header for the column of 'logged' nutritional values, i.e. what was eaten"
+ },
+ "scanBarcode": "掃描條碼",
+ "@scanBarcode": {
+ "description": "Label for scan barcode button"
+ },
+ "seconds": "秒",
+ "@seconds": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "useMetric": "用公制單位表示體重",
+ "set": "組",
+ "@set": {
+ "description": "A set in a workout plan"
+ },
+ "repetitionUnit": "重複次數單位",
+ "dayDescriptionHelp": "描述這一天做了什麼(例如:拉力日)或訓練了哪些部位(例如:胸部和肩膀)",
+ "comment": "註解",
+ "@comment": {
+ "description": "Comment, additional information"
+ },
+ "impression": "感受",
+ "@impression": {
+ "description": "General impression (e.g. for a workout session) such as good, bad, etc."
+ },
+ "sameRepetitions": "如果您對所有組別進行相同的重複次數和重量,則只需填寫一行即可。例如,4 組每組 10 下,只要輸入 10 次重複,系統會自動變成「4 x 10」。",
+ "plateCalculator": "槓片",
+ "@plateCalculator": {
+ "description": "Label used for the plate calculator in the gym mode"
+ },
+ "gymMode": "健身房模式",
+ "@gymMode": {
+ "description": "Label when starting the gym mode"
+ },
+ "selectExercises": "如果您想進行超級組訓練,您可以搜尋多個動作項目,它們會被組合在一起",
+ "workoutSession": "健身(節)",
+ "@workoutSession": {
+ "description": "A (logged) workout session"
+ },
+ "pause": "休息",
+ "@pause": {
+ "description": "Noun, not an imperative! Label used for the pause when using the gym mode"
+ },
+ "jumpTo": "跳到",
+ "@jumpTo": {
+ "description": "Imperative. Label used in popup allowing the user to jump to a specific exercise while in the gym mode"
+ },
+ "todaysWorkout": "今天的訓練",
+ "logHelpEntries": "如果同一天有多筆相同重複次數但不同重量的紀錄,圖表只會顯示重量較重的那筆紀錄。",
+ "description": "描述",
+ "addIngredient": "新增食材",
+ "verify": "驗證",
+ "logMeal": "紀錄餐點到營養日記",
+ "logHelpEntriesUnits": "請注意,圖表只會顯示包含重量單位(公斤或磅)和重複次數的紀錄,其他組合(例如時間或直到力竭)不會被顯示。",
+ "name": "名稱",
+ "@name": {
+ "description": "Name for a workout or nutritional plan"
+ },
+ "nutritionalDiary": "營養日記",
+ "nutritionalPlans": "營養計劃",
+ "weight": "重量",
+ "@weight": {
+ "description": "The weight of a workout log or body weight entry"
+ },
+ "time": "時間",
+ "@time": {
+ "description": "The time of a meal or workout"
+ },
+ "searchIngredient": "搜尋食材",
+ "@searchIngredient": {
+ "description": "Label on ingredient search form"
+ },
+ "logIngredient": "紀錄食材到營養日記",
+ "anErrorOccurred": "發生錯誤!",
+ "noNutritionalPlans": "您沒有營養計劃",
+ "@noNutritionalPlans": {
+ "description": "Message shown when the user has no nutritional plans"
+ },
+ "timeStart": "開始時間",
+ "@timeStart": {
+ "description": "The starting time of a workout"
+ },
+ "timeEnd": "結束時間",
+ "@timeEnd": {
+ "description": "The end time of a workout"
+ },
+ "timeStartAhead": "開始時間不能早於結束時間",
+ "saturatedFat": "飽和脂肪",
+ "fatShort": "脂肪",
+ "@fatShort": {
+ "description": "The first letter or short name of the word 'Fat', used in overviews"
+ },
+ "sodium": "鈉",
+ "edit": "編輯",
+ "moreMeasurementEntries": "新增測量紀錄",
+ "@moreMeasurementEntries": {
+ "description": "Message shown when the user wants to add new measurement"
+ },
+ "confirmDelete": "您確定要刪除「{toDelete}」嗎?",
+ "@confirmDelete": {
+ "description": "Confirmation text before the user deletes an object",
+ "type": "text",
+ "placeholders": {
+ "toDelete": {
+ "type": "String"
+ }
+ }
+ },
+ "newNutritionalPlan": "新的營養計劃",
+ "aboutDescription": "感謝您使用 wger!wger 是一個協作式開源專案,由來自世界各地的健身愛好者共同打造。",
+ "@aboutDescription": {
+ "description": "Text in the about dialog"
+ },
+ "enterValue": "請輸入數值",
+ "@enterValue": {
+ "description": "Error message when the user hasn't entered a value on a required field"
+ },
+ "previous": "上一個",
+ "add_exercise_image_license": "影像必須與 CC BY SA 授權相容。如有疑慮,請僅上傳您自己拍攝的照片。",
+ "verifiedEmail": "已驗證的電子郵件",
+ "selectIngredient": "請選擇一個食材",
+ "@selectIngredient": {
+ "description": "Error message when the user hasn't selected an ingredient from the autocompleter"
+ },
+ "barbell": "槓鈴",
+ "@barbell": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "arms": "手臂",
+ "@arms": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "contributeExerciseWarning": "只有當您的帳號已超過 {days} 天且已驗證您的電子郵件時,您才能貢獻動作項目",
+ "@contributeExerciseWarning": {
+ "description": "Number of days before which a person can add exercise",
+ "placeholders": {
+ "days": {
+ "type": "String",
+ "example": "14"
+ }
+ }
+ },
+ "dumbbell": "啞鈴",
+ "@dumbbell": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "chest": "胸",
+ "@chest": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "calves": "小腿肌群",
+ "@calves": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "bench": "重訓椅",
+ "@bench": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "lb": "磅",
+ "@lb": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "until_failure": "直到力竭",
+ "@until_failure": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "none__bodyweight_exercise_": "無(徒手運動)",
+ "@none__bodyweight_exercise_": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "done": "完成",
+ "log": "紀錄",
+ "@log": {
+ "description": "Log a specific meal (imperative form)"
+ },
+ "addMeal": "新增餐點",
+ "sugars": "糖分",
+ "fat": "脂肪",
+ "calendar": "日曆",
+ "optionsLabel": "選項",
+ "@optionsLabel": {
+ "description": "Label for the popup with general app options"
+ },
+ "weightUnit": "重量單位",
+ "newDay": "新的一天",
+ "newSet": "新增一組",
+ "@newSet": {
+ "description": "Header when adding a new set to a workout day"
+ },
+ "start": "開始",
+ "@start": {
+ "description": "Label on button to start the gym mode (i.e., an imperative)"
+ },
+ "selectExercise": "請選擇一個動作",
+ "@selectExercise": {
+ "description": "Error message when the user hasn't selected an exercise in the form"
+ },
+ "whatVariationsExist": "這個動作有哪些變化(如果有的話)?",
+ "back": "背部",
+ "@back": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "category": "類別",
+ "@category": {
+ "description": "Category for an exercise, ingredient, etc."
+ },
+ "musclesSecondary": "輔助肌群",
+ "@musclesSecondary": {
+ "description": "secondary muscles trained by an exercise"
+ },
+ "rirNotUsed": "未使用保留次數",
+ "@rirNotUsed": {
+ "description": "Label used in RiR slider when the RiR value is not used/saved for the current setting or log"
+ },
+ "setNr": "第 {nr} 組",
+ "@setNr": {
+ "description": "Header in form indicating the number of the current set. Can also be translated as something like 'Set Nr. xy'.",
+ "type": "text",
+ "placeholders": {
+ "nr": {
+ "type": "String"
+ }
+ }
+ },
+ "notes": "筆記",
+ "@notes": {
+ "description": "Personal notes, e.g. for a workout session"
+ },
+ "plateCalculatorNotDivisible": "沒有足夠的槓片達到目標重量",
+ "@plateCalculatorNotDivisible": {
+ "description": "Error message when the current weight is not reachable with plates (e.g. 33.1 kg)"
+ },
+ "save": "儲存",
+ "addSet": "新增一組",
+ "@addSet": {
+ "description": "Label for the button that adds a set (to a workout day)"
+ },
+ "mealLogged": "餐點已紀錄到日記",
+ "measurement": "測量",
+ "nutritionalPlan": "營養計劃",
+ "date": "日期",
+ "@date": {
+ "description": "The date of a workout log or body weight entry"
+ },
+ "value": "數值",
+ "@value": {
+ "description": "The value of a measurement entry"
+ },
+ "measurementEntriesHelpText": "用於測量該類別的單位,例如「公分」或「%」",
+ "measurements": "測量項目",
+ "@measurements": {
+ "description": "Categories for the measurements such as biceps size, body fat, etc."
+ },
+ "planned": "計劃",
+ "@planned": {
+ "description": "Header for the column of 'planned' nutritional values, i.e. what should be eaten"
+ },
+ "gPerBodyKg": "克/體重公斤",
+ "@gPerBodyKg": {
+ "description": "Label used for total sums of e.g. calories or similar in grams per Kg of body weight"
+ },
+ "kJ": "千焦",
+ "@kJ": {
+ "description": "Energy in a meal in kilo joules, kJ"
+ },
+ "carbohydratesShort": "碳水",
+ "@carbohydratesShort": {
+ "description": "The first letter or short name of the word 'Carbohydrates', used in overviews"
+ },
+ "unit": "單位",
+ "@unit": {
+ "description": "The unit used for a repetition (kg, time, etc.)"
+ },
+ "newEntry": "新增紀錄",
+ "@newEntry": {
+ "description": "Title when adding a new entry such as a weight or log entry"
+ },
+ "amount": "份量",
+ "@amount": {
+ "description": "The amount (e.g. in grams) of an ingredient in a meal"
+ },
+ "loadingText": "載入中...",
+ "@loadingText": {
+ "description": "Text to show when entries are being loaded in the background: Loading..."
+ },
+ "delete": "刪除",
+ "goToDetailPage": "前往詳細資訊頁面",
+ "appUpdateTitle": "需要更新",
+ "variations": "變化",
+ "@variations": {
+ "description": "Variations of one exercise (e.g. benchpress and benchpress narrow)"
+ },
+ "legs": "腿部",
+ "@legs": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "lower_back": "下背",
+ "@lower_back": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "max_reps": "最大次數",
+ "@max_reps": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "quads": "股四頭肌",
+ "@quads": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "textPromptTitle": "準備開始了嗎?",
+ "body_weight": "體重",
+ "@body_weight": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "textPromptSubheading": "按下動作按鈕開始",
+ "ingredient": "食材",
+ "energy": "熱量",
+ "@energy": {
+ "description": "Energy in a meal, ingredient etc. e.g. in kJ"
+ },
+ "goalEnergy": "熱量目標",
+ "goalProtein": "蛋白質目標",
+ "goalFat": "脂肪目標",
+ "onlyLogging": "僅追蹤卡路里",
+ "measurementCategoriesHelpText": "測量類別,例如「二頭肌」或「體脂率」",
+ "today": "今天",
+ "percentEnergy": "熱量百分比",
+ "onlyLoggingHelpText": "如果您只想紀錄卡路里但不想設定詳細的營養計劃和特定餐點,請勾選此項",
+ "goalCarbohydrates": "碳水化合物目標",
+ "loggedToday": "今天的紀錄",
+ "verifiedEmailReason": "您需要驗證您的電子郵件才能貢獻動作項目",
+ "alternativeNames": "替代名稱",
+ "productNotFound": "找不到產品",
+ "@productNotFound": {
+ "description": "Header label for dialog when product is not found with barcode"
+ },
+ "productNotFoundDescription": "在 wger 資料庫中找不到條碼為 {barcode} 的產品",
+ "@productNotFoundDescription": {
+ "description": "Dialog info when product is not found with barcode",
+ "type": "text",
+ "placeholders": {
+ "barcode": {
+ "type": "String"
+ }
+ }
+ },
+ "images": "圖片",
+ "language": "語言",
+ "translateExercise": "立即翻譯此動作",
+ "translation": "翻譯",
+ "contributeExercise": "貢獻一個動作",
+ "baseData": "英文基本資料",
+ "@baseData": {
+ "description": "The base data for an exercise such as category, trained muscles, etc."
+ },
+ "cacheWarning": "由於快取機制,變更可能需要一些時間才會在整個應用程式中顯示。",
+ "miles": "英里",
+ "@miles": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "kilometers_per_hour": "公里/小時",
+ "@kilometers_per_hour": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "kilometers": "公里",
+ "@kilometers": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "kettlebell": "壺鈴",
+ "@kettlebell": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "lats": "背闊肌",
+ "@lats": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "kg": "公斤",
+ "@kg": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "triceps": "三頭肌",
+ "@triceps": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "shoulders": "肩膀",
+ "@shoulders": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "unVerifiedEmail": "未驗證的電子郵件",
+ "glutes": "臀大肌群",
+ "@glutes": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "cardio": "有氧運動",
+ "@cardio": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "miles_per_hour": "英里/小時",
+ "@miles_per_hour": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "weekAverage": "七天平均值",
+ "@weekAverage": {
+ "description": "Header for the column of '7 day average' nutritional values, i.e. what was logged last week"
+ },
+ "difference": "差異",
+ "productFound": "找到產品",
+ "@productFound": {
+ "description": "Header label for dialog when product is found with barcode"
+ },
+ "close": "關閉",
+ "@close": {
+ "description": "Translation for close"
+ },
+ "biceps": "二頭肌",
+ "@biceps": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "oneNamePerLine": "每行一個名稱",
+ "aboutPageTitle": "關於 Wger",
+ "verifiedEmailInfo": "驗證郵件已寄送至 {email}",
+ "@verifiedEmailInfo": {
+ "placeholders": {
+ "email": {
+ "type": "String"
+ }
+ }
+ },
+ "gym_mat": "健身墊",
+ "@gym_mat": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "settingsCacheDeletedSnackbar": "成功清除快取",
+ "settingsTitle": "設定",
+ "settingsCacheTitle": "快取",
+ "settingsExerciseCacheDescription": "動作快取",
+ "gValue": "{value} 克",
+ "@gValue": {
+ "description": "A value in grams, e.g. 5 g",
+ "type": "text",
+ "placeholders": {
+ "value": {
+ "type": "String"
+ }
+ }
+ },
+ "percentValue": "{value} %",
+ "@percentValue": {
+ "description": "A value in percent, e.g. 10 %",
+ "type": "text",
+ "placeholders": {
+ "value": {
+ "type": "String"
+ }
+ }
+ },
+ "reps": "次",
+ "@reps": {
+ "description": "Shorthand for repetitions, used when space constraints are tighter"
+ },
+ "rir": "保留次數",
+ "@rir": {
+ "description": "Shorthand for Repetitions In Reserve"
+ },
+ "selectEntry": "請選擇一個項目",
+ "nrOfSets": "每個動作的組數:{nrOfSets}",
+ "@nrOfSets": {
+ "description": "Label shown on the slider where the user selects the nr of sets",
+ "type": "text",
+ "placeholders": {
+ "nrOfSets": {
+ "type": "String"
+ }
+ }
+ },
+ "alsoKnownAs": "也稱為:{aliases}",
+ "@alsoKnownAs": {
+ "placeholders": {
+ "aliases": {
+ "type": "String"
+ }
+ },
+ "description": "List of alternative names for an exercise"
+ },
+ "abs": "腹肌",
+ "@abs": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "energyShort": "熱量",
+ "@energyShort": {
+ "description": "The first letter or short name of the word 'Energy', used in overviews"
+ },
+ "kcal": "大卡",
+ "@kcal": {
+ "description": "Energy in a meal in kilocalories, kcal"
+ },
+ "macronutrients": "巨量營養素",
+ "proteinShort": "蛋白質",
+ "@proteinShort": {
+ "description": "The first letter or short name of the word 'Protein', used in overviews"
+ },
+ "toggleDetails": "切換詳細資訊",
+ "@toggleDetails": {
+ "description": "Switch to toggle detail / overview"
+ },
+ "addImage": "新增圖片",
+ "addExercise": "新增動作",
+ "productFoundDescription": "此條碼對應到這個產品:{productName}。您要繼續嗎?",
+ "@productFoundDescription": {
+ "description": "Dialog info when product is found with barcode",
+ "type": "text",
+ "placeholders": {
+ "productName": {
+ "type": "String"
+ }
+ }
+ },
+ "appUpdateContent": "此版本的應用程式與伺服器不相容,請更新您的應用程式。",
+ "enterCharacters": "請輸入 {min} 到 {max} 個字元",
+ "@enterCharacters": {
+ "description": "Error message when the user hasn't entered the correct number of characters in a form",
+ "type": "text",
+ "placeholders": {
+ "min": {
+ "type": "String"
+ },
+ "max": {
+ "type": "String"
+ }
+ }
+ },
+ "g": "克",
+ "@g": {
+ "description": "Abbreviation for gram"
+ },
+ "protein": "蛋白質",
+ "carbohydrates": "碳水化合物",
+ "surplus": "過剩",
+ "@surplus": {
+ "description": "Caloric surplus (either planned or unplanned)"
+ },
+ "deficit": "不足",
+ "@deficit": {
+ "description": "Caloric deficit (either planned or unplanned)"
+ },
+ "kcalValue": "{value} 大卡",
+ "@kcalValue": {
+ "description": "A value in kcal, e.g. 500 kcal",
+ "type": "text",
+ "placeholders": {
+ "value": {
+ "type": "String"
+ }
+ }
+ },
+ "noWeightEntries": "您沒有體重紀錄",
+ "@noWeightEntries": {
+ "description": "Message shown when the user has no logged weight entries"
+ },
+ "noMeasurementEntries": "您沒有測量紀錄",
+ "enterMinCharacters": "請輸入至少 {min} 個字元",
+ "@enterMinCharacters": {
+ "description": "Error message when the user hasn't entered the minimum amount characters in a form",
+ "type": "text",
+ "placeholders": {
+ "min": {
+ "type": "String"
+ }
+ }
+ },
+ "baseNameEnglish": "所有動作都需要一個英文基本名稱",
+ "aboutDonateText": "請我們喝杯咖啡來支持專案、支付伺服器費用,讓我們持續前進",
+ "aboutMastodonTitle": "Mastodon",
+ "aboutDonateTitle": "贊助",
+ "goToToday": "回到今天",
+ "@goToToday": {
+ "description": "Label on button to jump back to 'today' in the calendar widget"
+ },
+ "total": "總計",
+ "@total": {
+ "description": "Label used for total sums of e.g. calories or similar"
+ },
+ "swiss_ball": "瑜伽球",
+ "@swiss_ball": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "sz_bar": "彎曲槓",
+ "@sz_bar": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "pull_up_bar": "引體向上桿",
+ "@pull_up_bar": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "plates": "槓片",
+ "@plates": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "minutes": "分鐘",
+ "@minutes": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "incline_bench": "上斜椅",
+ "@incline_bench": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "hamstrings": "腿後肌群",
+ "@hamstrings": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "selectImage": "請選擇圖片",
+ "@selectImage": {
+ "description": "Label and error message when the user hasn't selected an image to save"
+ },
+ "chooseFromLibrary": "從相簿中選擇",
+ "enterValidNumber": "請輸入有效數字",
+ "@enterValidNumber": {
+ "description": "Error message when the user has submitted an invalid number (e.g. '3,.,.,.')"
+ },
+ "dataCopied": "資料已複製到新紀錄",
+ "@dataCopied": {
+ "description": "Snackbar message to show on copying data to a new log entry"
+ },
+ "setUnitsAndRir": "設定單位和保留次數",
+ "@setUnitsAndRir": {
+ "description": "Label shown on the slider where the user can toggle showing units and RiR",
+ "type": "text"
+ },
+ "recentlyUsedIngredients": "最近新增的食材",
+ "@recentlyUsedIngredients": {
+ "description": "A message when a user adds a new ingredient to a meal."
+ },
+ "takePicture": "拍照",
+ "gallery": "相簿",
+ "next": "下一個",
+ "repetitions": "次數",
+ "@repetitions": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "goalMacro": "巨量營養素目標",
+ "@goalMacro": {
+ "description": "The goal for macronutrients"
+ },
+ "fiber": "纖維",
+ "goalFiber": "纖維目標",
+ "settingsIngredientCacheDescription": "食材快取",
+ "overallChangeWeight": "整體變化",
+ "@overallChangeWeight": {
+ "description": "Overall change in weight, added for localization"
+ },
+ "goalTypeMeals": "來自餐點",
+ "@goalTypeMeals": {
+ "description": "added for localization of Class GoalType's filed meals"
+ },
+ "goalTypeBasic": "基本",
+ "@goalTypeBasic": {
+ "description": "added for localization of Class GoalType's filed basic"
+ },
+ "goalTypeAdvanced": "進階",
+ "@goalTypeAdvanced": {
+ "description": "added for localization of Class GoalType's filed advanced"
+ },
+ "indicatorRaw": "原始",
+ "@indicatorRaw": {
+ "description": "added for localization of Class Indicator's field text"
+ },
+ "indicatorAvg": "平均",
+ "@indicatorAvg": {
+ "description": "added for localization of Class Indicator's field text"
+ },
+ "themeMode": "主題模式",
+ "darkMode": "保持深色模式",
+ "lightMode": "保持淺色模式",
+ "systemMode": "系統設定",
+ "chartAllTimeTitle": "{name} 歷史紀錄",
+ "@chartAllTimeTitle": {
+ "description": "All-time chart of 'name' (e.g. 'weight', 'body fat' etc.)",
+ "type": "text",
+ "placeholders": {
+ "name": {
+ "type": "String"
+ }
+ }
+ },
+ "chart30DaysTitle": "{name} 最近 30 天",
+ "@chart30DaysTitle": {
+ "description": "last 30 days chart of 'name' (e.g. 'weight', 'body fat' etc.)",
+ "type": "text",
+ "placeholders": {
+ "name": {
+ "type": "String"
+ }
+ }
+ },
+ "chartDuringPlanTitle": "營養計劃 {planName} 期間的 {chartName}",
+ "@chartDuringPlanTitle": {
+ "description": "chart of 'chartName' (e.g. 'weight', 'body fat' etc.) logged during plan",
+ "type": "text",
+ "placeholders": {
+ "chartName": {
+ "type": "String"
+ },
+ "planName": {
+ "type": "String"
+ }
+ }
+ },
+ "noIngredientsDefined": "尚未定義食材",
+ "ingredientLogged": "食材已紀錄到日記",
+ "selectMealToLog": "選擇要紀錄到日記的餐點",
+ "errorCouldNotConnectToServerDetails": "無法連線至伺服器。請檢查您的網路連線或伺服器網址,然後再試一次。如果問題仍未解決,請聯絡伺服器管理員。",
+ "copyToClipboard": "複製到剪貼簿",
+ "aboutWhySupportTitle": "開源且免費使用❤️",
+ "barWeight": "槓鈴重量",
+ "apiToken": "API 金鑰",
+ "invalidApiToken": "請輸入有效的 API 金鑰",
+ "@invalidApiToken": {
+ "description": "Error message when the user enters an invalid API key"
+ },
+ "apiTokenValidChars": "API 金鑰只能包含字母 a-f、數字 0-9,且長度必須剛好為 40 個字元",
+ "@apiTokenValidChars": {
+ "description": "Error message when the user tries to input a API key with forbidden characters"
+ },
+ "useUsernameAndPassword": "使用使用者名稱和密碼",
+ "useApiToken": "使用 API 金鑰",
+ "preview": "預覽",
+ "startDate": "開始日期",
+ "@startDate": {
+ "description": "The start date of a nutritional plan or routine"
+ },
+ "dayTypeAmrap": "盡可能越多次越好",
+ "slotEntryTypeWarmup": "暖身",
+ "restTime": "休息時間",
+ "slotEntryTypeJump": "跳躍",
+ "editorBold": "粗體",
+ "@editorBold": {
+ "description": "Label for bold formatting"
+ },
+ "editorItalic": "斜體",
+ "editorList": "清單",
+ "enterTextInLanguage": "請輸入正確的語言!",
+ "simpleMode": "簡易模式",
+ "imageDetailsImageType": "相片格式",
+ "@imageDetailsImageType": {
+ "description": "Label for image type selector"
+ },
+ "author": "作者",
+ "imageDetailsAuthorLink": "作者的網站或個人頁面",
+ "@imageDetailsAuthorLink": {
+ "description": "Label for author link field"
+ },
+ "add": "新增",
+ "@add": {
+ "description": "Add button text"
+ },
+ "imageDetailsSourceLink": "來源網址",
+ "@imageDetailsSourceLink": {
+ "description": "Label for source link field"
+ },
+ "imageDetailsLicenseTitleHint": "輸入相片標題",
+ "@imageDetailsLicenseTitleHint": {
+ "description": "Hint text for image title field"
+ },
+ "authorHint": "輸入作者名稱",
+ "@authorHint": {
+ "description": "Hint text for author field"
+ },
+ "aboutSourceListTitle": "檢視原始碼",
+ "aboutJoinCommunityTitle": "加入社群",
+ "aboutContributeTitle": "貢獻",
+ "aboutDiscordTitle": "Discord",
+ "endDate": "結束日期",
+ "@endDate": {
+ "description": "The End date of a nutritional plan or routine"
+ },
+ "min": "最小",
+ "max": "最大",
+ "exerciseNr": "動作 {nr}",
+ "@exerciseNr": {
+ "description": "Header in form indicating the number of the current exercise. Can also be translated as something like 'Set Nr. xy'.",
+ "type": "text",
+ "placeholders": {
+ "nr": {
+ "type": "String"
+ }
+ }
+ },
+ "supersetNr": "超級組 {nr}",
+ "@supersetNr": {
+ "description": "Header in form indicating the number of the current exercise. Can also be translated as something like 'Superset Nr. xy'.",
+ "type": "text",
+ "placeholders": {
+ "nr": {
+ "type": "String"
+ }
+ }
+ },
+ "restDay": "休息日",
+ "useColors": "使用顏色",
+ "searchLanguageAll": "所有語言",
+ "errorCouldNotConnectToServer": "無法連線至伺服器",
+ "openEnded": "未設定結束日期",
+ "@openEnded": {
+ "description": "When a nutrition plan has no pre-defined end date"
+ },
+ "overview": "概述",
+ "aboutBugsListTitle": "回報問題或建議新功能",
+ "aboutTranslationListTitle": "協助翻譯此應用程式",
+ "others": "其他",
+ "formMinMaxValues": "請輸入介於 {min} 到 {max} 之間的數值",
+ "@formMinMaxValues": {
+ "description": "Error message when the user needs to enter a value between min and max",
+ "type": "text",
+ "placeholders": {
+ "min": {
+ "type": "int"
+ },
+ "max": {
+ "type": "int"
+ }
+ }
+ },
+ "serverUpdateTitle": "伺服器需要更新",
+ "serverUpdateContent": "目前連線的伺服器版本過舊,無法支援此版本的應用程式。請聯絡伺服器管理員,將伺服器更新至 {minVersion} 版以上。",
+ "@serverUpdateContent": {
+ "description": "Message shown when the server version is too old. minVersion is the minimum required server version string.",
+ "type": "text",
+ "placeholders": {
+ "minVersion": {
+ "type": "String"
+ }
+ }
+ },
+ "identicalExercisePleaseDiscard": "如果你發現有訓練動作與你正在新增的動作相同,請捨棄目前的草稿,改為編輯該訓練動作。",
+ "checkInformationBeforeSubmitting": "提交訓練動作前,請確認你輸入的資訊正確無誤。",
+ "imageDetailsTitle": "圖片資訊",
+ "@imageDetailsTitle": {
+ "description": "Title for image details form"
+ },
+ "imageDetailsLicenseNotice": "送出此圖片即表示您同意將其以 CC-BY-SA-4.0 授權條款釋出。此圖片必須為您自己的作品,或原作者已依相容的授權條款釋出。",
+ "imageFormatNotSupported": "不支援 {imageFormat} 格式",
+ "@imageFormatNotSupported": {
+ "description": "Label shown on the error container when image format is not supported",
+ "type": "text",
+ "placeholders": {
+ "imageFormat": {
+ "type": "String"
+ }
+ }
+ },
+ "imageFormatNotSupportedDetail": "目前尚不支援 {imageFormat} 格式的圖片。",
+ "@imageFormatNotSupportedDetail": {
+ "description": "Label shown on the image preview container when image format is not supported",
+ "type": "text",
+ "placeholders": {
+ "imageFormat": {
+ "type": "String"
+ }
+ }
+ },
+ "fitInWeekHelp": "啟用後,訓練日會以每週為週期循環;若未啟用,訓練日會依序進行,不受每週起始日影響。",
+ "addSuperset": "新增超級組",
+ "superset": "超級組",
+ "setHasNoExercises": "此組尚未加入任何動作!",
+ "useBasicMarkdown": "您可以使用基本的 Markdown 語法來格式化文字",
+ "simpleModeHelp": "編輯動作時,隱藏部分進階設定",
+ "resistance_band": "彈力帶",
+ "@resistance_band": {
+ "description": "Generated entry for translation for server strings"
+ },
+ "endWorkout": "結束訓練",
+ "@endWorkout": {
+ "description": "Use the imperative, label on button to finish the current workout in gym mode"
+ },
+ "productNotFoundOpenFoodFacts": "您可以將此產品新增至 Open Food Facts,為社群貢獻一份心力!",
+ "@productNotFoundOpenFoodFacts": {
+ "description": "Label shown when product is not found to encourage users to go on Open Food Facts and add it themselves"
+ },
+ "addToOpenFoodFacts": "新增至 Open Food Facts",
+ "@addToOpenFoodFacts": {
+ "description": "Label shown as the clickable link to go on Open Food Facts"
+ },
+ "isVegan": "純素",
+ "@isVegan": {
+ "description": "Label for vegan toggle"
+ },
+ "isVegetarian": "素食",
+ "@isVegetarian": {
+ "description": "Label for vegetarian toggle"
+ },
+ "filter": "篩選",
+ "@filter": {
+ "description": "Label for filter button"
+ },
+ "searchLanguageCurrent": "只顯示目前語言({lang})",
+ "@searchLanguageCurrent": {
+ "type": "text",
+ "placeholders": {
+ "lang": {
+ "type": "String"
+ }
+ }
+ },
+ "searchLanguageEnglish": "只顯示目前語言 ({lang}) 與英文",
+ "@searchLanguageEnglish": {
+ "type": "text",
+ "placeholders": {
+ "lang": {
+ "type": "String"
+ }
+ }
+ },
+ "filterNutriscore": "Nutri-Score 篩選",
+ "@filterNutriscore": {
+ "description": "Heading for the Nutri-Score slider in the ingredient search filter dialog"
+ },
+ "filterNutriscoreOff": "關閉",
+ "@filterNutriscoreOff": {
+ "description": "Label for the first slider stop, which disables the Nutri-Score filter"
+ },
+ "filterNutriscoreNoFilter": "不套用篩選",
+ "@filterNutriscoreNoFilter": {
+ "description": "Helper text shown under the Nutri-Score slider when it is at the Off position"
+ },
+ "filterNutriscoreOrBetter": "{grade} 或更佳",
+ "@filterNutriscoreOrBetter": {
+ "description": "Helper text shown under the Nutri-Score slider when a grade is selected (e.g. 'C or better')",
+ "placeholders": {
+ "grade": {
+ "type": "String",
+ "example": "C"
+ }
+ }
+ },
+ "sets": "組",
+ "@sets": {
+ "description": "The number of sets to be done for one exercise"
+ },
+ "isRestDayHelp": "請注意,將某天標記為休息日後,當天所有的組數與動作都會被刪除。",
+ "gymModeShowExercises": "顯示動作總覽頁面",
+ "gymModeShowTimer": "顯示組間計時器",
+ "gymModeTimerType": "計時方式",
+ "gymModeTimerTypeHelText": "若組間設定了休息時間,將一律使用倒數計時。",
+ "countdown": "倒數計時",
+ "stopwatch": "碼表",
+ "gymModeDefaultCountdownTime": "預設倒數時間(秒)",
+ "gymModeNotifyOnCountdownFinish": "倒數結束時通知",
+ "personalRecords": "個人紀錄",
+ "errorViewDetails": "技術細節",
+ "errorInfoDescription": "不好意思,目前出了點問題。你可以前往 GitHub 提交問題以幫助我們修復此問題。",
+ "errorInfoDescription2": "你可以繼續使用此應用程式,但有一些功能無法運作。",
+ "dayTypeTabata": "塔巴塔訓練(Tabata)",
+ "duration": "持續時間",
+ "aboutContributeText": "我們鼓勵各種形式的貢獻。無論您是開發者、翻譯者,還是僅僅熱愛健身,您的每項支持都彌足珍貴!",
+ "selectAvailablePlates": "選擇可用的槓片",
+ "dayTypeCustom": "自訂",
+ "dayTypeHiit": "高強度間歇訓練",
+ "dayTypeEdt": "遞增密度訓練(在相同時間內完成更多訓練量,EDT)",
+ "dayTypeEnom": "每分鐘一組訓練",
+ "dayTypeRft": "回合計時",
+ "dayTypeAfap": "越快完成越好(AFAP)",
+ "slotEntryTypeNormal": "一般",
+ "slotEntryTypeDropset": "遞減組",
+ "dashboardWidgets": "儀表板小工具",
+ "slotEntryTypeMyo": "微休息組(Myo)",
+ "slotEntryTypePartial": "局部動作",
+ "slotEntryTypeTut": "張力持續時間(TUT)",
+ "slotEntryTypeIso": "靜態撐住",
+ "routines": "課表",
+ "newRoutine": "新訓練課表",
+ "noRoutines": "你沒有訓練課表",
+ "impressionGood": "好",
+ "impressionNeutral": "感受一般",
+ "impressionBad": "壞",
+ "isRestDay": "是否為休息日",
+ "needsLogsToAdvance": "需有紀錄才會進行進度調整",
+ "needsLogsToAdvanceHelp": "選擇是否只有在當天有訓練紀錄時,才會進入下一個排定的訓練日",
+ "routineDays": "課表天數",
+ "resultingRoutine": "套用後課表",
+ "durationHoursMinutes": "{hours}小時 {minutes}分鐘",
+ "@durationHoursMinutes": {
+ "description": "A duration, in hours and minutes",
+ "type": "text",
+ "placeholders": {
+ "hours": {
+ "type": "int"
+ },
+ "minutes": {
+ "type": "int"
+ }
+ }
+ },
+ "volume": "訓練量",
+ "@volume": {
+ "description": "The volume of a workout or set, i.e. weight x reps"
+ },
+ "workoutCompleted": "訓練完成",
+ "yourCurrentNutritionPlanHasNoMealsDefinedYet": "此營養計畫尚未設定任何餐點",
+ "@yourCurrentNutritionPlanHasNoMealsDefinedYet": {
+ "description": "Message shown when a nutrition plan doesn't have any meals"
+ },
+ "toAddMealsToThePlanGoToNutritionalPlanDetails": "請新增餐點到營養計畫",
+ "@toAddMealsToThePlanGoToNutritionalPlanDetails": {
+ "description": "Message shown to guide users to the nutritional plan details page to add meals"
+ },
+ "applicationLogs": "應用程式紀錄"
}
diff --git a/lib/l10n/language_native_names.dart b/lib/l10n/language_native_names.dart
index 63d01f0b5..2be5c239a 100644
--- a/lib/l10n/language_native_names.dart
+++ b/lib/l10n/language_native_names.dart
@@ -29,6 +29,7 @@ const Map languageNativeNames = {
'fa': 'فارسی',
'fil': 'Filipino',
'fr': 'Français',
+ 'gl': 'Galego',
'he': 'עברית',
'hi': 'हिन्दी',
'hr': 'Hrvatski',
@@ -47,6 +48,7 @@ const Map languageNativeNames = {
'ro': 'Română',
'ru': 'Русский',
'sk': 'Slovenčina',
+ 'sn': 'chiShona',
'ta': 'தமிழ்',
'th': 'ไทย',
'tr': 'Türkçe',
diff --git a/lib/main.dart b/lib/main.dart
index 78c600450..fbbb718cb 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -23,7 +23,6 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:logging/logging.dart';
-import 'package:wger/core/exceptions/http_exception.dart';
import 'package:wger/helpers/errors.dart';
import 'package:wger/helpers/locale.dart';
import 'package:wger/helpers/shared_preferences.dart';
@@ -87,6 +86,7 @@ void _setupLogging() {
}
final GlobalKey navigatorKey = GlobalKey();
+final GlobalKey scaffoldMessengerKey = GlobalKey();
void main() async {
// Needs to be called before runApp
@@ -99,26 +99,14 @@ void main() async {
// SharedPreferences to SharedPreferencesAsync migration function
await PreferenceHelper.instance.migrationSupportFunctionForSharedPreferences();
+
// Catch errors from Flutter itself (widget build, layout, paint, etc.)
- //
- // NOTE: it seems this sometimes makes problems and even freezes the flutter
- // process when widgets overflow, so it is disabled in dev mode.
- if (!kDebugMode) {
- FlutterError.onError = (FlutterErrorDetails details) {
- final stack = details.stack ?? StackTrace.empty;
- logger.severe('Error caught by FlutterError.onError: ${details.exception}');
-
- FlutterError.dumpErrorToConsole(details);
-
- // Don't show the full error dialog for network image loading errors.
- if (details.exception is NetworkImageLoadException) {
- return;
- }
-
- showGeneralErrorDialog(details.exception, stack);
- // throw details.exception;
- };
- }
+ FlutterError.onError = (FlutterErrorDetails details) {
+ final stack = details.stack ?? StackTrace.empty;
+ logger.severe('Error caught by FlutterError.onError: ${details.exception}');
+ FlutterError.dumpErrorToConsole(details);
+ handleError(details.exception, stack);
+ };
// Catch errors that happen outside of the Flutter framework (e.g., in async operations)
PlatformDispatcher.instance.onError = (error, stack) {
@@ -133,11 +121,7 @@ void main() async {
logger.severe('Error caught by PlatformDispatcher.instance.onError: $error');
logger.severe('Stack trace: $stack');
- if (error is WgerHttpException) {
- showHttpExceptionErrorDialog(error);
- } else {
- showGeneralErrorDialog(error, stack);
- }
+ handleError(error, stack);
// Return true to indicate that the error has been handled.
return true;
@@ -197,6 +181,7 @@ class MainApp extends ConsumerWidget {
return MaterialApp(
title: 'wger',
navigatorKey: navigatorKey,
+ scaffoldMessengerKey: scaffoldMessengerKey,
theme: wgerLightTheme,
darkTheme: wgerDarkTheme,
highContrastTheme: wgerLightThemeHc,
diff --git a/lib/widgets/nutrition/forms.dart b/lib/widgets/nutrition/forms.dart
index 8fe52ea40..c73809dd3 100644
--- a/lib/widgets/nutrition/forms.dart
+++ b/lib/widgets/nutrition/forms.dart
@@ -280,7 +280,7 @@ class IngredientFormState extends ConsumerState {
keyboardType: textInputTypeDecimal,
onChanged: (value) {
setState(() {
- final v = double.tryParse(value);
+ final v = numberFormat.tryParse(value);
if (v != null) {
_mealItem.amount = v;
}
@@ -294,7 +294,7 @@ class IngredientFormState extends ConsumerState {
if (text.isEmpty) {
return i18n.enterValue;
}
- final parsed = double.tryParse(text);
+ final parsed = numberFormat.tryParse(text);
if (parsed == null) {
return i18n.enterValidNumber;
}
diff --git a/lib/widgets/routines/forms/slot_entry.dart b/lib/widgets/routines/forms/slot_entry.dart
index 08bc0dd24..deebe7c25 100644
--- a/lib/widgets/routines/forms/slot_entry.dart
+++ b/lib/widgets/routines/forms/slot_entry.dart
@@ -69,12 +69,23 @@ class _SlotEntryFormState extends ConsumerState {
var _edit = false;
+ bool _controllersInitialized = false;
+
@override
void initState() {
super.initState();
if (widget.entry.nrOfSetsConfigs.isNotEmpty) {
setsSliderValue = widget.entry.nrOfSetsConfigs.first.value.toDouble();
}
+ }
+
+ @override
+ void didChangeDependencies() {
+ super.didChangeDependencies();
+ if (_controllersInitialized) {
+ return;
+ }
+ _controllersInitialized = true;
if (widget.entry.weightConfigs.isNotEmpty) {
_weight = widget.entry.weightConfigs.first.value;
@@ -97,7 +108,8 @@ class _SlotEntryFormState extends ConsumerState {
}
if (widget.entry.rirConfigs.isNotEmpty) {
- rirController.text = widget.entry.rirConfigs.first.value.round().toString();
+ // RiR uses 0.5 steps, so the fractional part must be kept
+ rirController.text = widget.entry.rirConfigs.first.value.toString();
}
}
@@ -341,7 +353,8 @@ class _SlotEntryFormState extends ConsumerState {
),
provider.handleConfig(
widget.entry,
- numberFormat.tryParse(rirController.text),
+ // RiR is slider-driven and held as an invariant string
+ num.tryParse(rirController.text),
ConfigType.rir,
),
]);
diff --git a/test/helpers/errors_test.dart b/test/helpers/errors_test.dart
index 6ec2afb9e..98342edbe 100644
--- a/test/helpers/errors_test.dart
+++ b/test/helpers/errors_test.dart
@@ -16,7 +16,14 @@
* along with this program. If not, see .
*/
+import 'dart:async';
+import 'dart:io';
+
+import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
+import 'package:http/http.dart' as http;
+import 'package:wger/core/exceptions/http_exception.dart';
+import 'package:wger/helpers/consts.dart';
import 'package:wger/helpers/errors.dart';
void main() {
@@ -120,4 +127,95 @@ void main() {
expect(error2.errorMessages[0], 'Password does not match');
});
});
+
+ group('buildGithubIssueUrl', () {
+ test('Encodes the title and pre-fills the description', () {
+ final url = buildGithubIssueUrl(
+ issueTitle: 'An error occurred',
+ issueErrorMessage: 'Something broke',
+ stackTrace: '#0 main (file.dart:1)',
+ applicationLogs: ['log line 1', 'log line 2'],
+ );
+
+ expect(url, startsWith(GITHUB_ISSUES_BUG_URL));
+ expect(url, contains('&title=An%20error%20occurred'));
+ expect(url.length, lessThanOrEqualTo(GITHUB_ISSUES_MAX_URL_LENGTH));
+
+ final description = Uri.parse(url).queryParameters['description']!;
+ expect(description, contains('Error message: Something broke'));
+ expect(description, contains('#0 main (file.dart:1)'));
+ expect(description, contains('log line 1'));
+ });
+
+ test('Drops the oldest log entries, keeps the newest', () {
+ // Logs come newest-first, so index 0 is the most recent entry.
+ final logs = List.generate(3000, (i) => 'log entry $i');
+
+ final url = buildGithubIssueUrl(
+ issueTitle: 'Application Error',
+ issueErrorMessage: 'boom',
+ stackTrace: 'short trace',
+ applicationLogs: logs,
+ );
+
+ expect(url.length, lessThanOrEqualTo(GITHUB_ISSUES_MAX_URL_LENGTH));
+ final description = Uri.parse(url).queryParameters['description']!;
+ expect(description, contains('log entry 0\n')); // newest kept
+ expect(description, isNot(contains('log entry 2999'))); // oldest dropped
+ });
+
+ test('Keeps the full stack trace and drops logs instead', () {
+ final longTrace = List.generate(
+ 80,
+ (i) => '#$i SomeClass.someMethod (package:wger/some/file.dart:$i:11)',
+ ).join('\n');
+
+ final url = buildGithubIssueUrl(
+ issueTitle: 'Application Error',
+ issueErrorMessage: 'boom',
+ stackTrace: longTrace,
+ applicationLogs: List.generate(3000, (i) => 'log entry number $i'),
+ );
+
+ expect(url.length, lessThanOrEqualTo(GITHUB_ISSUES_MAX_URL_LENGTH));
+ final description = Uri.parse(url).queryParameters['description']!;
+ // The stack trace is never trimmed: first and last frame survive.
+ expect(description, contains('#0 SomeClass.someMethod'));
+ expect(description, contains('#79 SomeClass.someMethod'));
+ });
+ });
+
+ group('classifyError', () {
+ test('Connectivity errors are transient', () {
+ expect(
+ classifyError(const SocketException('no route to host')),
+ ErrorSeverity.transient,
+ );
+ expect(
+ classifyError(http.ClientException('connection refused')),
+ ErrorSeverity.transient,
+ );
+ expect(classifyError(TimeoutException('request timed out')), ErrorSeverity.transient);
+ });
+
+ test('Network image and layout overflow errors are cosmetic', () {
+ expect(
+ classifyError(
+ NetworkImageLoadException(statusCode: 404, uri: Uri.parse('https://x/y.png')),
+ ),
+ ErrorSeverity.cosmetic,
+ );
+ expect(
+ classifyError(FlutterError('A RenderFlex overflowed by 99 pixels on the right.')),
+ ErrorSeverity.cosmetic,
+ );
+ });
+
+ test('Other errors are fatal', () {
+ expect(classifyError(WgerHttpException.fromMap({'detail': 'invalid'})), ErrorSeverity.fatal);
+ expect(classifyError(Exception('boom')), ErrorSeverity.fatal);
+ expect(classifyError(StateError('bad state')), ErrorSeverity.fatal);
+ expect(classifyError(null), ErrorSeverity.fatal);
+ });
+ });
}
diff --git a/test/nutrition/nutritional_plan_form_test.dart b/test/nutrition/nutritional_plan_form_test.dart
index 3a41f4678..17fb4c872 100644
--- a/test/nutrition/nutritional_plan_form_test.dart
+++ b/test/nutrition/nutritional_plan_form_test.dart
@@ -58,7 +58,7 @@ void main() {
when(mockRepo.watchAllLogsHydrated()).thenAnswer((_) => Stream.value(const []));
});
- Widget createHomeScreen(NutritionalPlan plan, {locale = 'en'}) {
+ Widget createNutritionalPlanScreen(NutritionalPlan plan, {locale = 'en'}) {
final key = GlobalKey();
return ProviderScope(
@@ -80,7 +80,7 @@ void main() {
}
testWidgets('Test the widgets on the nutritional plan form', (WidgetTester tester) async {
- await tester.pumpWidget(createHomeScreen(plan1));
+ await tester.pumpWidget(createNutritionalPlanScreen(plan1));
await tester.pumpAndSettle();
expect(find.byType(TextFormField), findsNWidgets(3));
@@ -89,7 +89,7 @@ void main() {
});
testWidgets('Test editing an existing nutritional plan', (WidgetTester tester) async {
- await tester.pumpWidget(createHomeScreen(plan1));
+ await tester.pumpWidget(createNutritionalPlanScreen(plan1));
await tester.pumpAndSettle();
expect(find.text('test plan 1'), findsOneWidget, reason: 'Description is filled in');
@@ -104,8 +104,43 @@ void main() {
verifyNever(mockRepo.addPlanLocalDrift(any));
});
+ testWidgets('Goal macros survive a no-op save in a comma-decimal locale', (
+ WidgetTester tester,
+ ) async {
+ final planWithGoals = NutritionalPlan(
+ id: 'cc000000-0000-4000-8000-000000000002',
+ creationDate: DateTime(2021, 1, 1),
+ startDate: DateTime(2021, 1, 1),
+ description: 'plan with goals',
+ goalEnergy: 2000.0,
+ goalProtein: 150.0,
+ goalCarbohydrates: 250.0,
+ goalFat: 70.0,
+ );
+
+ tester.view.physicalSize = const Size(800, 2000);
+ tester.view.devicePixelRatio = 1.0;
+ addTearDown(tester.view.reset);
+
+ await tester.pumpWidget(createNutritionalPlanScreen(planWithGoals, locale: 'de'));
+ await tester.pumpAndSettle();
+
+ // The field shows the locale-formatted value, not the invariant "2000.0"
+ expect(find.text('2.000'), findsOneWidget);
+
+ // Save without touching anything
+ await tester.tap(find.byKey(const Key(SUBMIT_BUTTON_KEY_NAME)));
+ await tester.pumpAndSettle();
+
+ final saved = verify(mockRepo.editLocalDrift(captureAny)).captured.single as NutritionalPlan;
+ expect(saved.goalEnergy, 2000.0);
+ expect(saved.goalProtein, 150.0);
+ expect(saved.goalCarbohydrates, 250.0);
+ expect(saved.goalFat, 70.0);
+ });
+
testWidgets('Test creating a new nutritional plan', (WidgetTester tester) async {
- await tester.pumpWidget(createHomeScreen(plan2));
+ await tester.pumpWidget(createNutritionalPlanScreen(plan2));
await tester.pumpAndSettle();
expect(
diff --git a/test/routine/slot_entry_form_test.dart b/test/routine/slot_entry_form_test.dart
index 2580d24f7..43abcad9a 100644
--- a/test/routine/slot_entry_form_test.dart
+++ b/test/routine/slot_entry_form_test.dart
@@ -23,6 +23,7 @@ import 'package:mockito/annotations.dart';
import 'package:mockito/mockito.dart';
import 'package:wger/helpers/consts.dart';
import 'package:wger/l10n/generated/app_localizations.dart';
+import 'package:wger/models/workouts/base_config.dart';
import 'package:wger/models/workouts/slot_entry.dart';
import 'package:wger/providers/routines_notifier.dart';
import 'package:wger/providers/routines_repository.dart';
@@ -49,7 +50,7 @@ void main() {
).thenAnswer((_) => Future.value(getTestRoutine()));
});
- Widget renderWidget({simpleMode = true, locale = 'en'}) {
+ Widget renderWidget({simpleMode = true, locale = 'en', SlotEntry? entry}) {
final key = GlobalKey();
return ProviderScope(
@@ -68,7 +69,7 @@ void main() {
localizationsDelegates: AppLocalizations.localizationsDelegates,
supportedLocales: AppLocalizations.supportedLocales,
navigatorKey: key,
- home: Scaffold(body: SlotEntryForm(slotEntry, 1, simpleMode: simpleMode)),
+ home: Scaffold(body: SlotEntryForm(entry ?? slotEntry, 1, simpleMode: simpleMode)),
),
);
}
@@ -166,4 +167,47 @@ void main() {
expect(capturedArgs[(6 * 3) + 1], 100);
expect(capturedArgs[(6 * 3) + 2], ConfigType.maxRest);
});
+
+ testWidgets('Fractional weight survives a no-op save in a comma-decimal locale', (
+ WidgetTester tester,
+ ) async {
+ final entry = getTestRoutine().days[0].slots[0].entries[0];
+ entry.weightConfigs.first.value = 2.5;
+
+ await tester.pumpWidget(renderWidget(simpleMode: false, locale: 'de', entry: entry));
+ await tester.pumpAndSettle();
+
+ // The field shows the locale-formatted value, not the invariant "2.5"
+ expect(find.text('2,5'), findsOneWidget);
+
+ // Save without touching anything
+ await tester.tap(find.byKey(const ValueKey(SUBMIT_BUTTON_KEY_NAME)));
+ await tester.pumpAndSettle();
+
+ final capturedArgs = verify(
+ mockRoutinesRepository.handleConfigServer(captureAny, captureAny, captureAny),
+ ).captured;
+
+ expect(capturedArgs[(1 * 3) + 2], ConfigType.weight);
+ expect(capturedArgs[(1 * 3) + 1], 2.5);
+ });
+
+ testWidgets('Fractional RiR survives a no-op save', (WidgetTester tester) async {
+ final entry = getTestRoutine().days[0].slots[0].entries[0];
+ entry.rirConfigs = [BaseConfig.firstIteration(2.5, 1)];
+
+ await tester.pumpWidget(renderWidget(simpleMode: false, entry: entry));
+ await tester.pumpAndSettle();
+
+ // Save without touching anything
+ await tester.tap(find.byKey(const ValueKey(SUBMIT_BUTTON_KEY_NAME)));
+ await tester.pumpAndSettle();
+
+ final capturedArgs = verify(
+ mockRoutinesRepository.handleConfigServer(captureAny, captureAny, captureAny),
+ ).captured;
+
+ expect(capturedArgs[(7 * 3) + 2], ConfigType.rir);
+ expect(capturedArgs[(7 * 3) + 1], 2.5);
+ });
}