Cleanup some of the new translation keys

This commit is contained in:
Roland Geider
2026-07-09 12:11:24 +02:00
parent 79d663f17f
commit 388b403b5d
7 changed files with 26 additions and 33 deletions

View File

@@ -457,7 +457,7 @@ class _LogFormWidgetState extends ConsumerState<LogFormWidget> {
// ),
// Row(
// children: [
// Text(i18n.gymModeDistinctLogsShort, style: theme.textTheme.bodySmall),
// Text(i18n.gymModeDistinctLogs, style: theme.textTheme.bodySmall),
// Switch.adaptive(
// value: gymState.showDistinctLogs,
// onChanged: (v) => gymNotifier.setShowDistinctLogs(v),

View File

@@ -1,13 +1,13 @@
/*
* This file is part of wger Workout Manager <https://github.com/wger-project>.
* Copyright (C) 2020, 2025 wger Team
* Copyright (c) 2020 - 2026 wger Team
*
* wger Workout Manager is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* wger Workout Manager is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
@@ -86,6 +86,8 @@ class _GymModeOptionsState extends ConsumerState<GymModeOptions> {
value: gymState.showTimerPages,
onChanged: (value) => gymNotifier.setShowTimerPages(value),
),
const Divider(),
ListTile(
key: const ValueKey('gym-mode-timer-type'),
enabled: gymState.showTimerPages,
@@ -159,6 +161,7 @@ class _GymModeOptionsState extends ConsumerState<GymModeOptions> {
: null,
),
const Divider(),
ListTile(
key: const ValueKey('gym-mode-log-scope'),
title: Text(i18n.gymModeLogScope),
@@ -184,7 +187,6 @@ class _GymModeOptionsState extends ConsumerState<GymModeOptions> {
SwitchListTile(
key: const ValueKey('gym-mode-distinct-logs'),
title: Text(i18n.gymModeDistinctLogs),
subtitle: Text(i18n.gymModeDistinctLogsHelp),
value: gymState.showDistinctLogs,
onChanged: (value) => gymNotifier.setShowDistinctLogs(value),
),

View File

@@ -1151,5 +1151,10 @@
"sessionExpired": "Deine Sitzung ist abgelaufen, bitte melde dich erneut an",
"endBeforeStart": "Der Endwert darf nicht vor dem Startwert liegen",
"minLengthRoutine": "Die Routine muss mindestens {number} Wochen lang sein",
"maxLengthRoutine": "Die Routine darf maximal {number} Wochen lang sein"
"maxLengthRoutine": "Die Routine darf maximal {number} Wochen lang sein",
"gymModeLogScope": "Frühere Protokolle",
"gymModeLogScopeHelp": "Welche Protokolle beim Training als Referenz angezeigt werden",
"gymModeLogScopeCurrentRoutine": "Aktuelle Routine",
"gymModeLogScopeWeeks": "Letzte {weeks} Wochen",
"gymModeDistinctLogs": "Doppelte Werte ausblenden"
}

View File

@@ -413,7 +413,7 @@
"description": "Label for the button that adds a set (to a workout day)"
},
"gymModeLogScope": "Last logs Scope",
"gymModeLogScope": "Previous logs",
"gymModeLogScopeHelp": "Which logs to show as reference while training",
"gymModeLogScopeCurrentRoutine": "Current routine",
"gymModeLogScopeWeeks": "Last {weeks} weeks",
@@ -422,9 +422,7 @@
"weeks": { "type": "int" }
}
},
"gymModeDistinctLogs": "Show distinct logs only",
"gymModeDistinctLogsHelp": "Hide duplicate reps/weight combinations",
"gymModeDistinctLogsShort": "Distinct",
"gymModeDistinctLogs": "Hide duplicate values",
"addMeal": "Add meal",
"@addMeal": {},
"mealLogged": "Meal logged to diary",

View File

@@ -1190,5 +1190,10 @@
"timeStartEndBothOrNeither": "Indica la hora de inicio y de fin, o deja ambas vacías",
"endBeforeStart": "El final no puede ser anterior al inicio",
"minLengthRoutine": "La rutina debe ser de al menos {number} semanas",
"maxLengthRoutine": "La rutina debe tener como mucho {number} semanas"
"maxLengthRoutine": "La rutina debe tener como mucho {number} semanas",
"gymModeLogScope": "Registros anteriores",
"gymModeLogScopeHelp": "Qué registros mostrar como referencia durante el entrenamiento",
"gymModeLogScopeCurrentRoutine": "Rutina actual",
"gymModeLogScopeWeeks": "Últimas {weeks} semanas",
"gymModeDistinctLogs": "Ocultar valores duplicados"
}

View File

@@ -1161,5 +1161,10 @@
"timeStartEndBothOrNeither": "Indiquez l'heure de début et de fin, ou laissez les deux vides",
"endBeforeStart": "La valeur de fin ne peut être avant le début",
"minLengthRoutine": "La routine doit durer au moins {number} semaines",
"maxLengthRoutine": "La routine peut durer au maximum {number} semaines"
"maxLengthRoutine": "La routine peut durer au maximum {number} semaines",
"gymModeLogScope": "Journaux précédents",
"gymModeLogScopeHelp": "Quels journaux afficher comme référence pendant l'entraînement",
"gymModeLogScopeCurrentRoutine": "Routine actuelle",
"gymModeLogScopeWeeks": "{weeks} dernières semaines",
"gymModeDistinctLogs": "Masquer les valeurs en double"
}

View File

@@ -1640,28 +1640,6 @@ class MockAppLocalizations extends _i1.Mock implements _i2.AppLocalizations {
)
as String);
@override
String get gymModeDistinctLogsHelp =>
(super.noSuchMethod(
Invocation.getter(#gymModeDistinctLogsHelp),
returnValue: _i3.dummyValue<String>(
this,
Invocation.getter(#gymModeDistinctLogsHelp),
),
)
as String);
@override
String get gymModeDistinctLogsShort =>
(super.noSuchMethod(
Invocation.getter(#gymModeDistinctLogsShort),
returnValue: _i3.dummyValue<String>(
this,
Invocation.getter(#gymModeDistinctLogsShort),
),
)
as String);
@override
String get addMeal =>
(super.noSuchMethod(