Offline gym log for Android. No account, no ads, no internet.
Dart androidbodybuildingdartexercisesf-droidfitnessfluttergymgym-apphealthprivacyself-hostedworkoutworkout-appworkout-tracker
Exercise goals, copy workout as text and 1RM percentages
InlitX3bbd425b6279
diff --git a/lib/l10n/app_ar.arb b/lib/l10n/app_ar.arbindex c9e7dc5..4d14247 100644--- a/lib/l10n/app_ar.arb+++ b/lib/l10n/app_ar.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "أصبح {name} في {routine}","levelUpStayed": "لن نقترح الترقي في هذا التمرين","levelHintsSetting": "اقتراح الخطوة التالية",- "heatmapLabelsSetting": "الأيام والأشهر على خريطة النشاط"+ "heatmapLabelsSetting": "الأيام والأشهر على خريطة النشاط",+ "rmPercent": "النسبة",+ "rmAtPercent": "{pct} من حدك الأقصى",+ "copyWorkout": "نسخ كنص",+ "goalSet": "حدّد هدفًا",+ "goalTargetReps": "التكرارات المستهدفة",+ "goalToGo": "بقي {value}",+ "goalReached": "تم بلوغ الهدف",+ "goalDaysLeft": "{n, plural, =1{بقي يوم واحد} other{بقي {n} يوم}}",+ "goalOverdue": "فات الموعد",+ "goalDeadline": "الموعد النهائي",+ "goalNoDeadline": "بلا موعد",+ "goalRemove": "إزالة الهدف"}diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arbindex 95596dd..c07f85f 100644--- a/lib/l10n/app_de.arb+++ b/lib/l10n/app_de.arb@@ -1104,5 +1104,17 @@"levelUpSwapped": "{name} ist jetzt in {routine}","levelUpStayed": "Keine Stufen-Tipps mehr für diese Übung","levelHintsSetting": "Nächste Stufe vorschlagen",- "heatmapLabelsSetting": "Tage und Monate in der Aktivitätskarte"+ "heatmapLabelsSetting": "Tage und Monate in der Aktivitätskarte",+ "rmPercent": "PROZENT",+ "rmAtPercent": "{pct} deines Maximums",+ "copyWorkout": "Als Text kopieren",+ "goalSet": "Ziel setzen",+ "goalTargetReps": "ZIEL-WIEDERHOLUNGEN",+ "goalToGo": "Noch {value}",+ "goalReached": "Ziel erreicht",+ "goalDaysLeft": "{n, plural, =1{Noch 1 Tag} other{Noch {n} Tage}}",+ "goalOverdue": "Datum überschritten",+ "goalDeadline": "FRIST",+ "goalNoDeadline": "Keine Frist",+ "goalRemove": "Ziel entfernen"}diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arbindex 9b6d708..cdd7b05 100644--- a/lib/l10n/app_en.arb+++ b/lib/l10n/app_en.arb@@ -1130,5 +1130,20 @@"@levelUpSwapped": {"placeholders": {"name": {"type": "String"}, "routine": {"type": "String"}}},"levelUpStayed": "No more step-up tips for this one","levelHintsSetting": "Suggest the next step",- "heatmapLabelsSetting": "Days and months on the activity map"+ "heatmapLabelsSetting": "Days and months on the activity map",+ "rmPercent": "PERCENTAGE",+ "rmAtPercent": "{pct} of your max",+ "@rmAtPercent": {"placeholders": {"pct": {"type": "String"}}},+ "copyWorkout": "Copy as text",+ "goalSet": "Set a goal",+ "goalTargetReps": "TARGET REPS",+ "goalToGo": "{value} to go",+ "@goalToGo": {"placeholders": {"value": {"type": "String"}}},+ "goalReached": "Goal reached",+ "goalDaysLeft": "{n, plural, =1{1 day left} other{{n} days left}}",+ "@goalDaysLeft": {"placeholders": {"n": {"type": "int"}}},+ "goalOverdue": "Past the date",+ "goalDeadline": "DEADLINE",+ "goalNoDeadline": "No deadline",+ "goalRemove": "Remove goal"}diff --git a/lib/l10n/app_es.arb b/lib/l10n/app_es.arbindex 93b3782..fd8e7f8 100644--- a/lib/l10n/app_es.arb+++ b/lib/l10n/app_es.arb@@ -1044,5 +1044,17 @@"levelUpSwapped": "{name} ya está en {routine}","levelUpStayed": "No te sugeriremos subir en este","levelHintsSetting": "Sugerir el siguiente paso",- "heatmapLabelsSetting": "Días y meses en el mapa de actividad"+ "heatmapLabelsSetting": "Días y meses en el mapa de actividad",+ "rmPercent": "PORCENTAJE",+ "rmAtPercent": "{pct} de tu máximo",+ "copyWorkout": "Copiar como texto",+ "goalSet": "Ponte un objetivo",+ "goalTargetReps": "REPETICIONES OBJETIVO",+ "goalToGo": "Te faltan {value}",+ "goalReached": "Objetivo conseguido",+ "goalDaysLeft": "{n, plural, =1{Queda 1 día} other{Quedan {n} días}}",+ "goalOverdue": "Se pasó la fecha",+ "goalDeadline": "FECHA LÍMITE",+ "goalNoDeadline": "Sin fecha",+ "goalRemove": "Quitar objetivo"}diff --git a/lib/l10n/app_fa.arb b/lib/l10n/app_fa.arbindex 2d78fdf..4354488 100644--- a/lib/l10n/app_fa.arb+++ b/lib/l10n/app_fa.arb@@ -1650,5 +1650,17 @@"levelUpSwapped": "{name} حالا در {routine} است","levelUpStayed": "دیگر برای این حرکت پیشنهاد پیشرفت نمیدهیم","levelHintsSetting": "پیشنهاد قدم بعدی",- "heatmapLabelsSetting": "روزها و ماهها روی نقشهٔ فعالیت"+ "heatmapLabelsSetting": "روزها و ماهها روی نقشهٔ فعالیت",+ "rmPercent": "درصد",+ "rmAtPercent": "{pct} از حداکثر تو",+ "copyWorkout": "کپی بهصورت متن",+ "goalSet": "یک هدف بگذار",+ "goalTargetReps": "تکرارهای هدف",+ "goalToGo": "{value} مانده",+ "goalReached": "به هدف رسیدی",+ "goalDaysLeft": "{n, plural, =1{۱ روز مانده} other{{n} روز مانده}}",+ "goalOverdue": "تاریخ گذشته",+ "goalDeadline": "مهلت",+ "goalNoDeadline": "بدون مهلت",+ "goalRemove": "حذف هدف"}diff --git a/lib/l10n/app_fr.arb b/lib/l10n/app_fr.arbindex b494b29..269adb3 100644--- a/lib/l10n/app_fr.arb+++ b/lib/l10n/app_fr.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "{name} est maintenant dans {routine}","levelUpStayed": "Plus de suggestion de progression pour celui-ci","levelHintsSetting": "Suggérer l’étape suivante",- "heatmapLabelsSetting": "Jours et mois sur la carte d'activité"+ "heatmapLabelsSetting": "Jours et mois sur la carte d'activité",+ "rmPercent": "POURCENTAGE",+ "rmAtPercent": "{pct} de ton max",+ "copyWorkout": "Copier en texte",+ "goalSet": "Fixer un objectif",+ "goalTargetReps": "RÉPÉTITIONS VISÉES",+ "goalToGo": "Encore {value}",+ "goalReached": "Objectif atteint",+ "goalDaysLeft": "{n, plural, =1{1 jour restant} other{{n} jours restants}}",+ "goalOverdue": "Date dépassée",+ "goalDeadline": "ÉCHÉANCE",+ "goalNoDeadline": "Sans échéance",+ "goalRemove": "Supprimer l'objectif"}diff --git a/lib/l10n/app_it.arb b/lib/l10n/app_it.arbindex f5fa3f3..7e14aea 100644--- a/lib/l10n/app_it.arb+++ b/lib/l10n/app_it.arb@@ -1084,5 +1084,17 @@"levelUpSwapped": "{name} ora è in {routine}","levelUpStayed": "Niente più suggerimenti di progressione per questo","levelHintsSetting": "Suggerisci il passo successivo",- "heatmapLabelsSetting": "Giorni e mesi sulla mappa attività"+ "heatmapLabelsSetting": "Giorni e mesi sulla mappa attività",+ "rmPercent": "PERCENTUALE",+ "rmAtPercent": "{pct} del tuo massimale",+ "copyWorkout": "Copia come testo",+ "goalSet": "Imposta un obiettivo",+ "goalTargetReps": "RIPETIZIONI OBIETTIVO",+ "goalToGo": "Mancano {value}",+ "goalReached": "Obiettivo raggiunto",+ "goalDaysLeft": "{n, plural, =1{Manca 1 giorno} other{Mancano {n} giorni}}",+ "goalOverdue": "Data superata",+ "goalDeadline": "SCADENZA",+ "goalNoDeadline": "Nessuna scadenza",+ "goalRemove": "Rimuovi obiettivo"}diff --git a/lib/l10n/app_ja.arb b/lib/l10n/app_ja.arbindex e5fa06f..9d0ace7 100644--- a/lib/l10n/app_ja.arb+++ b/lib/l10n/app_ja.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "{name}が{routine}に入りました","levelUpStayed": "この種目ではステップアップを提案しません","levelHintsSetting": "次のステップを提案",- "heatmapLabelsSetting": "アクティビティマップに曜日と月を表示"+ "heatmapLabelsSetting": "アクティビティマップに曜日と月を表示",+ "rmPercent": "パーセント",+ "rmAtPercent": "最大の{pct}",+ "copyWorkout": "テキストでコピー",+ "goalSet": "目標を設定",+ "goalTargetReps": "目標回数",+ "goalToGo": "あと{value}",+ "goalReached": "目標達成",+ "goalDaysLeft": "{n, plural, other{残り{n}日}}",+ "goalOverdue": "期限切れ",+ "goalDeadline": "期限",+ "goalNoDeadline": "期限なし",+ "goalRemove": "目標を削除"}diff --git a/lib/l10n/app_ko.arb b/lib/l10n/app_ko.arbindex 4329a04..981e318 100644--- a/lib/l10n/app_ko.arb+++ b/lib/l10n/app_ko.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "{name}이(가) 이제 {routine}에 있어요","levelUpStayed": "이 운동은 더 이상 단계 상승을 제안하지 않아요","levelHintsSetting": "다음 단계 제안",- "heatmapLabelsSetting": "활동 지도에 요일과 월 표시"+ "heatmapLabelsSetting": "활동 지도에 요일과 월 표시",+ "rmPercent": "퍼센트",+ "rmAtPercent": "최대치의 {pct}",+ "copyWorkout": "텍스트로 복사",+ "goalSet": "목표 설정",+ "goalTargetReps": "목표 횟수",+ "goalToGo": "{value} 남음",+ "goalReached": "목표 달성",+ "goalDaysLeft": "{n, plural, other{{n}일 남음}}",+ "goalOverdue": "기한 지남",+ "goalDeadline": "기한",+ "goalNoDeadline": "기한 없음",+ "goalRemove": "목표 삭제"}diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dartindex 09d3d26..5af22ff 100644--- a/lib/l10n/app_localizations.dart+++ b/lib/l10n/app_localizations.dart@@ -5823,6 +5823,78 @@ abstract class AppLocalizations {/// In en, this message translates to:/// **'Days and months on the activity map'**String get heatmapLabelsSetting;++ /// No description provided for @rmPercent.+ ///+ /// In en, this message translates to:+ /// **'PERCENTAGE'**+ String get rmPercent;++ /// No description provided for @rmAtPercent.+ ///+ /// In en, this message translates to:+ /// **'{pct} of your max'**+ String rmAtPercent(String pct);++ /// No description provided for @copyWorkout.+ ///+ /// In en, this message translates to:+ /// **'Copy as text'**+ String get copyWorkout;++ /// No description provided for @goalSet.+ ///+ /// In en, this message translates to:+ /// **'Set a goal'**+ String get goalSet;++ /// No description provided for @goalTargetReps.+ ///+ /// In en, this message translates to:+ /// **'TARGET REPS'**+ String get goalTargetReps;++ /// No description provided for @goalToGo.+ ///+ /// In en, this message translates to:+ /// **'{value} to go'**+ String goalToGo(String value);++ /// No description provided for @goalReached.+ ///+ /// In en, this message translates to:+ /// **'Goal reached'**+ String get goalReached;++ /// No description provided for @goalDaysLeft.+ ///+ /// In en, this message translates to:+ /// **'{n, plural, =1{1 day left} other{{n} days left}}'**+ String goalDaysLeft(int n);++ /// No description provided for @goalOverdue.+ ///+ /// In en, this message translates to:+ /// **'Past the date'**+ String get goalOverdue;++ /// No description provided for @goalDeadline.+ ///+ /// In en, this message translates to:+ /// **'DEADLINE'**+ String get goalDeadline;++ /// No description provided for @goalNoDeadline.+ ///+ /// In en, this message translates to:+ /// **'No deadline'**+ String get goalNoDeadline;++ /// No description provided for @goalRemove.+ ///+ /// In en, this message translates to:+ /// **'Remove goal'**+ String get goalRemove;}class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {diff --git a/lib/l10n/app_localizations_ar.dart b/lib/l10n/app_localizations_ar.dartindex 461b7b7..b7c59d5 100644--- a/lib/l10n/app_localizations_ar.dart+++ b/lib/l10n/app_localizations_ar.dart@@ -3258,4 +3258,47 @@ class AppLocalizationsAr extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'الأيام والأشهر على خريطة النشاط';++ @override+ String get rmPercent => 'النسبة';++ @override+ String rmAtPercent(String pct) {+ return '$pct من حدك الأقصى';+ }++ @override+ String get copyWorkout => 'نسخ كنص';++ @override+ String get goalSet => 'حدّد هدفًا';++ @override+ String get goalTargetReps => 'التكرارات المستهدفة';++ @override+ String goalToGo(String value) {+ return 'بقي $value';+ }++ @override+ String get goalReached => 'تم بلوغ الهدف';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: 'بقي $n يوم', one: 'بقي يوم واحد');+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'فات الموعد';++ @override+ String get goalDeadline => 'الموعد النهائي';++ @override+ String get goalNoDeadline => 'بلا موعد';++ @override+ String get goalRemove => 'إزالة الهدف';}diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dartindex bf9e48d..1df3f16 100644--- a/lib/l10n/app_localizations_de.dart+++ b/lib/l10n/app_localizations_de.dart@@ -3278,4 +3278,47 @@ class AppLocalizationsDe extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Tage und Monate in der Aktivitätskarte';++ @override+ String get rmPercent => 'PROZENT';++ @override+ String rmAtPercent(String pct) {+ return '$pct deines Maximums';+ }++ @override+ String get copyWorkout => 'Als Text kopieren';++ @override+ String get goalSet => 'Ziel setzen';++ @override+ String get goalTargetReps => 'ZIEL-WIEDERHOLUNGEN';++ @override+ String goalToGo(String value) {+ return 'Noch $value';+ }++ @override+ String get goalReached => 'Ziel erreicht';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: 'Noch $n Tage', one: 'Noch 1 Tag');+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Datum überschritten';++ @override+ String get goalDeadline => 'FRIST';++ @override+ String get goalNoDeadline => 'Keine Frist';++ @override+ String get goalRemove => 'Ziel entfernen';}diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dartindex a53f888..680b294 100644--- a/lib/l10n/app_localizations_en.dart+++ b/lib/l10n/app_localizations_en.dart@@ -3257,4 +3257,47 @@ class AppLocalizationsEn extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Days and months on the activity map';++ @override+ String get rmPercent => 'PERCENTAGE';++ @override+ String rmAtPercent(String pct) {+ return '$pct of your max';+ }++ @override+ String get copyWorkout => 'Copy as text';++ @override+ String get goalSet => 'Set a goal';++ @override+ String get goalTargetReps => 'TARGET REPS';++ @override+ String goalToGo(String value) {+ return '$value to go';+ }++ @override+ String get goalReached => 'Goal reached';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: '$n days left', one: '1 day left');+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Past the date';++ @override+ String get goalDeadline => 'DEADLINE';++ @override+ String get goalNoDeadline => 'No deadline';++ @override+ String get goalRemove => 'Remove goal';}diff --git a/lib/l10n/app_localizations_es.dart b/lib/l10n/app_localizations_es.dartindex 01488d0..56f4c49 100644--- a/lib/l10n/app_localizations_es.dart+++ b/lib/l10n/app_localizations_es.dart@@ -3261,4 +3261,47 @@ class AppLocalizationsEs extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Días y meses en el mapa de actividad';++ @override+ String get rmPercent => 'PORCENTAJE';++ @override+ String rmAtPercent(String pct) {+ return '$pct de tu máximo';+ }++ @override+ String get copyWorkout => 'Copiar como texto';++ @override+ String get goalSet => 'Ponte un objetivo';++ @override+ String get goalTargetReps => 'REPETICIONES OBJETIVO';++ @override+ String goalToGo(String value) {+ return 'Te faltan $value';+ }++ @override+ String get goalReached => 'Objetivo conseguido';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: 'Quedan $n días', one: 'Queda 1 día');+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Se pasó la fecha';++ @override+ String get goalDeadline => 'FECHA LÍMITE';++ @override+ String get goalNoDeadline => 'Sin fecha';++ @override+ String get goalRemove => 'Quitar objetivo';}diff --git a/lib/l10n/app_localizations_fa.dart b/lib/l10n/app_localizations_fa.dartindex d73a552..46e1012 100644--- a/lib/l10n/app_localizations_fa.dart+++ b/lib/l10n/app_localizations_fa.dart@@ -3247,4 +3247,47 @@ class AppLocalizationsFa extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'روزها و ماهها روی نقشهٔ فعالیت';++ @override+ String get rmPercent => 'درصد';++ @override+ String rmAtPercent(String pct) {+ return '$pct از حداکثر تو';+ }++ @override+ String get copyWorkout => 'کپی بهصورت متن';++ @override+ String get goalSet => 'یک هدف بگذار';++ @override+ String get goalTargetReps => 'تکرارهای هدف';++ @override+ String goalToGo(String value) {+ return '$value مانده';+ }++ @override+ String get goalReached => 'به هدف رسیدی';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: '$n روز مانده', one: '۱ روز مانده');+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'تاریخ گذشته';++ @override+ String get goalDeadline => 'مهلت';++ @override+ String get goalNoDeadline => 'بدون مهلت';++ @override+ String get goalRemove => 'حذف هدف';}diff --git a/lib/l10n/app_localizations_fr.dart b/lib/l10n/app_localizations_fr.dartindex 67a816b..5da7f5d 100644--- a/lib/l10n/app_localizations_fr.dart+++ b/lib/l10n/app_localizations_fr.dart@@ -3278,4 +3278,52 @@ class AppLocalizationsFr extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Jours et mois sur la carte d\'activité';++ @override+ String get rmPercent => 'POURCENTAGE';++ @override+ String rmAtPercent(String pct) {+ return '$pct de ton max';+ }++ @override+ String get copyWorkout => 'Copier en texte';++ @override+ String get goalSet => 'Fixer un objectif';++ @override+ String get goalTargetReps => 'RÉPÉTITIONS VISÉES';++ @override+ String goalToGo(String value) {+ return 'Encore $value';+ }++ @override+ String get goalReached => 'Objectif atteint';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(+ n,+ locale: localeName,+ other: '$n jours restants',+ one: '1 jour restant',+ );+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Date dépassée';++ @override+ String get goalDeadline => 'ÉCHÉANCE';++ @override+ String get goalNoDeadline => 'Sans échéance';++ @override+ String get goalRemove => 'Supprimer l\'objectif';}diff --git a/lib/l10n/app_localizations_it.dart b/lib/l10n/app_localizations_it.dartindex b89abe9..01503a8 100644--- a/lib/l10n/app_localizations_it.dart+++ b/lib/l10n/app_localizations_it.dart@@ -3266,4 +3266,52 @@ class AppLocalizationsIt extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Giorni e mesi sulla mappa attività';++ @override+ String get rmPercent => 'PERCENTUALE';++ @override+ String rmAtPercent(String pct) {+ return '$pct del tuo massimale';+ }++ @override+ String get copyWorkout => 'Copia come testo';++ @override+ String get goalSet => 'Imposta un obiettivo';++ @override+ String get goalTargetReps => 'RIPETIZIONI OBIETTIVO';++ @override+ String goalToGo(String value) {+ return 'Mancano $value';+ }++ @override+ String get goalReached => 'Obiettivo raggiunto';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(+ n,+ locale: localeName,+ other: 'Mancano $n giorni',+ one: 'Manca 1 giorno',+ );+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Data superata';++ @override+ String get goalDeadline => 'SCADENZA';++ @override+ String get goalNoDeadline => 'Nessuna scadenza';++ @override+ String get goalRemove => 'Rimuovi obiettivo';}diff --git a/lib/l10n/app_localizations_ja.dart b/lib/l10n/app_localizations_ja.dartindex a047101..1cb9478 100644--- a/lib/l10n/app_localizations_ja.dart+++ b/lib/l10n/app_localizations_ja.dart@@ -3165,4 +3165,47 @@ class AppLocalizationsJa extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'アクティビティマップに曜日と月を表示';++ @override+ String get rmPercent => 'パーセント';++ @override+ String rmAtPercent(String pct) {+ return '最大の$pct';+ }++ @override+ String get copyWorkout => 'テキストでコピー';++ @override+ String get goalSet => '目標を設定';++ @override+ String get goalTargetReps => '目標回数';++ @override+ String goalToGo(String value) {+ return 'あと$value';+ }++ @override+ String get goalReached => '目標達成';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: '残り$n日');+ return '$_temp0';+ }++ @override+ String get goalOverdue => '期限切れ';++ @override+ String get goalDeadline => '期限';++ @override+ String get goalNoDeadline => '期限なし';++ @override+ String get goalRemove => '目標を削除';}diff --git a/lib/l10n/app_localizations_ko.dart b/lib/l10n/app_localizations_ko.dartindex 4fa2a8e..4e3d309 100644--- a/lib/l10n/app_localizations_ko.dart+++ b/lib/l10n/app_localizations_ko.dart@@ -3181,4 +3181,47 @@ class AppLocalizationsKo extends AppLocalizations {@overrideString get heatmapLabelsSetting => '활동 지도에 요일과 월 표시';++ @override+ String get rmPercent => '퍼센트';++ @override+ String rmAtPercent(String pct) {+ return '최대치의 $pct';+ }++ @override+ String get copyWorkout => '텍스트로 복사';++ @override+ String get goalSet => '목표 설정';++ @override+ String get goalTargetReps => '목표 횟수';++ @override+ String goalToGo(String value) {+ return '$value 남음';+ }++ @override+ String get goalReached => '목표 달성';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: '$n일 남음');+ return '$_temp0';+ }++ @override+ String get goalOverdue => '기한 지남';++ @override+ String get goalDeadline => '기한';++ @override+ String get goalNoDeadline => '기한 없음';++ @override+ String get goalRemove => '목표 삭제';}diff --git a/lib/l10n/app_localizations_nl.dart b/lib/l10n/app_localizations_nl.dartindex fd4f953..c70bb9b 100644--- a/lib/l10n/app_localizations_nl.dart+++ b/lib/l10n/app_localizations_nl.dart@@ -3271,4 +3271,47 @@ class AppLocalizationsNl extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Dagen en maanden op de activiteitenkaart';++ @override+ String get rmPercent => 'PERCENTAGE';++ @override+ String rmAtPercent(String pct) {+ return '$pct van je max';+ }++ @override+ String get copyWorkout => 'Kopiëren als tekst';++ @override+ String get goalSet => 'Doel instellen';++ @override+ String get goalTargetReps => 'DOEL-HERHALINGEN';++ @override+ String goalToGo(String value) {+ return 'Nog $value';+ }++ @override+ String get goalReached => 'Doel bereikt';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: 'Nog $n dagen', one: 'Nog 1 dag');+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Datum verstreken';++ @override+ String get goalDeadline => 'DEADLINE';++ @override+ String get goalNoDeadline => 'Geen deadline';++ @override+ String get goalRemove => 'Doel verwijderen';}diff --git a/lib/l10n/app_localizations_pl.dart b/lib/l10n/app_localizations_pl.dartindex fa7950f..fe22173 100644--- a/lib/l10n/app_localizations_pl.dart+++ b/lib/l10n/app_localizations_pl.dart@@ -3269,4 +3269,53 @@ class AppLocalizationsPl extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Dni i miesiące na mapie aktywności';++ @override+ String get rmPercent => 'PROCENT';++ @override+ String rmAtPercent(String pct) {+ return '$pct twojego maksimum';+ }++ @override+ String get copyWorkout => 'Kopiuj jako tekst';++ @override+ String get goalSet => 'Ustaw cel';++ @override+ String get goalTargetReps => 'DOCELOWE POWTÓRZENIA';++ @override+ String goalToGo(String value) {+ return 'Brakuje $value';+ }++ @override+ String get goalReached => 'Cel osiągnięty';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(+ n,+ locale: localeName,+ other: 'Zostało $n dni',+ few: 'Zostały $n dni',+ one: 'Został 1 dzień',+ );+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Termin minął';++ @override+ String get goalDeadline => 'TERMIN';++ @override+ String get goalNoDeadline => 'Bez terminu';++ @override+ String get goalRemove => 'Usuń cel';}diff --git a/lib/l10n/app_localizations_pt.dart b/lib/l10n/app_localizations_pt.dartindex 0eb0f69..0fe6d33 100644--- a/lib/l10n/app_localizations_pt.dart+++ b/lib/l10n/app_localizations_pt.dart@@ -3263,4 +3263,47 @@ class AppLocalizationsPt extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Dias e meses no mapa de atividade';++ @override+ String get rmPercent => 'PERCENTAGEM';++ @override+ String rmAtPercent(String pct) {+ return '$pct do teu máximo';+ }++ @override+ String get copyWorkout => 'Copiar como texto';++ @override+ String get goalSet => 'Definir um objetivo';++ @override+ String get goalTargetReps => 'REPETIÇÕES ALVO';++ @override+ String goalToGo(String value) {+ return 'Faltam $value';+ }++ @override+ String get goalReached => 'Objetivo atingido';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: 'Faltam $n dias', one: 'Falta 1 dia');+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Data ultrapassada';++ @override+ String get goalDeadline => 'PRAZO';++ @override+ String get goalNoDeadline => 'Sem prazo';++ @override+ String get goalRemove => 'Remover objetivo';}diff --git a/lib/l10n/app_localizations_ru.dart b/lib/l10n/app_localizations_ru.dartindex f929a61..ff1d95e 100644--- a/lib/l10n/app_localizations_ru.dart+++ b/lib/l10n/app_localizations_ru.dart@@ -3358,4 +3358,53 @@ class AppLocalizationsRu extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Дни и месяцы на карте активности';++ @override+ String get rmPercent => 'ПРОЦЕНТ';++ @override+ String rmAtPercent(String pct) {+ return '$pct от твоего максимума';+ }++ @override+ String get copyWorkout => 'Скопировать текстом';++ @override+ String get goalSet => 'Поставить цель';++ @override+ String get goalTargetReps => 'ЦЕЛЕВЫЕ ПОВТОРЫ';++ @override+ String goalToGo(String value) {+ return 'Осталось $value';+ }++ @override+ String get goalReached => 'Цель достигнута';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(+ n,+ locale: localeName,+ other: 'Осталось $n дней',+ few: 'Осталось $n дня',+ one: 'Остался $n день',+ );+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Срок прошёл';++ @override+ String get goalDeadline => 'СРОК';++ @override+ String get goalNoDeadline => 'Без срока';++ @override+ String get goalRemove => 'Убрать цель';}diff --git a/lib/l10n/app_localizations_tr.dart b/lib/l10n/app_localizations_tr.dartindex 1629426..2c49721 100644--- a/lib/l10n/app_localizations_tr.dart+++ b/lib/l10n/app_localizations_tr.dart@@ -3267,4 +3267,47 @@ class AppLocalizationsTr extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Aktivite haritasında gün ve aylar';++ @override+ String get rmPercent => 'YÜZDE';++ @override+ String rmAtPercent(String pct) {+ return 'Maksimumunun $pct kadarı';+ }++ @override+ String get copyWorkout => 'Metin olarak kopyala';++ @override+ String get goalSet => 'Hedef belirle';++ @override+ String get goalTargetReps => 'HEDEF TEKRAR';++ @override+ String goalToGo(String value) {+ return '$value kaldı';+ }++ @override+ String get goalReached => 'Hedefe ulaşıldı';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: '$n gün kaldı', one: '1 gün kaldı');+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Tarih geçti';++ @override+ String get goalDeadline => 'SON TARİH';++ @override+ String get goalNoDeadline => 'Tarih yok';++ @override+ String get goalRemove => 'Hedefi kaldır';}diff --git a/lib/l10n/app_localizations_uk.dart b/lib/l10n/app_localizations_uk.dartindex 00f8f28..9921756 100644--- a/lib/l10n/app_localizations_uk.dart+++ b/lib/l10n/app_localizations_uk.dart@@ -3274,4 +3274,53 @@ class AppLocalizationsUk extends AppLocalizations {@overrideString get heatmapLabelsSetting => 'Дні й місяці на карті активності';++ @override+ String get rmPercent => 'ВІДСОТОК';++ @override+ String rmAtPercent(String pct) {+ return '$pct від твого максимуму';+ }++ @override+ String get copyWorkout => 'Скопіювати текстом';++ @override+ String get goalSet => 'Поставити ціль';++ @override+ String get goalTargetReps => 'ЦІЛЬОВІ ПОВТОРИ';++ @override+ String goalToGo(String value) {+ return 'Залишилось $value';+ }++ @override+ String get goalReached => 'Ціль досягнуто';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(+ n,+ locale: localeName,+ other: 'Залишилось $n днів',+ few: 'Залишилось $n дні',+ one: 'Залишився $n день',+ );+ return '$_temp0';+ }++ @override+ String get goalOverdue => 'Термін минув';++ @override+ String get goalDeadline => 'ТЕРМІН';++ @override+ String get goalNoDeadline => 'Без терміну';++ @override+ String get goalRemove => 'Прибрати ціль';}diff --git a/lib/l10n/app_localizations_zh.dart b/lib/l10n/app_localizations_zh.dartindex 3b80e96..39deec7 100644--- a/lib/l10n/app_localizations_zh.dart+++ b/lib/l10n/app_localizations_zh.dart@@ -3125,6 +3125,49 @@ class AppLocalizationsZh extends AppLocalizations {@overrideString get heatmapLabelsSetting => '在活动图上显示星期和月份';++ @override+ String get rmPercent => '百分比';++ @override+ String rmAtPercent(String pct) {+ return '最大重量的 $pct';+ }++ @override+ String get copyWorkout => '复制为文本';++ @override+ String get goalSet => '设定目标';++ @override+ String get goalTargetReps => '目标次数';++ @override+ String goalToGo(String value) {+ return '还差 $value';+ }++ @override+ String get goalReached => '目标达成';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: '还剩 $n 天');+ return '$_temp0';+ }++ @override+ String get goalOverdue => '已过期限';++ @override+ String get goalDeadline => '截止日期';++ @override+ String get goalNoDeadline => '无截止日期';++ @override+ String get goalRemove => '删除目标';}/// The translations for Chinese, using the Han script (`zh_Hant`).@@ -6271,4 +6314,47 @@ class AppLocalizationsZhHant extends AppLocalizationsZh {@overrideString get heatmapLabelsSetting => '在活動圖上顯示星期和月份';++ @override+ String get rmPercent => '百分比';++ @override+ String rmAtPercent(String pct) {+ return '最大重量的 $pct';+ }++ @override+ String get copyWorkout => '複製為文字';++ @override+ String get goalSet => '設定目標';++ @override+ String get goalTargetReps => '目標次數';++ @override+ String goalToGo(String value) {+ return '還差 $value';+ }++ @override+ String get goalReached => '目標達成';++ @override+ String goalDaysLeft(int n) {+ String _temp0 = intl.Intl.pluralLogic(n, locale: localeName, other: '還剩 $n 天');+ return '$_temp0';+ }++ @override+ String get goalOverdue => '已過期限';++ @override+ String get goalDeadline => '截止日期';++ @override+ String get goalNoDeadline => '無截止日期';++ @override+ String get goalRemove => '刪除目標';}diff --git a/lib/l10n/app_nl.arb b/lib/l10n/app_nl.arbindex 4d212ce..b397c71 100644--- a/lib/l10n/app_nl.arb+++ b/lib/l10n/app_nl.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "{name} staat nu in {routine}","levelUpStayed": "Geen stap-tips meer voor deze","levelHintsSetting": "Volgende stap voorstellen",- "heatmapLabelsSetting": "Dagen en maanden op de activiteitenkaart"+ "heatmapLabelsSetting": "Dagen en maanden op de activiteitenkaart",+ "rmPercent": "PERCENTAGE",+ "rmAtPercent": "{pct} van je max",+ "copyWorkout": "Kopiëren als tekst",+ "goalSet": "Doel instellen",+ "goalTargetReps": "DOEL-HERHALINGEN",+ "goalToGo": "Nog {value}",+ "goalReached": "Doel bereikt",+ "goalDaysLeft": "{n, plural, =1{Nog 1 dag} other{Nog {n} dagen}}",+ "goalOverdue": "Datum verstreken",+ "goalDeadline": "DEADLINE",+ "goalNoDeadline": "Geen deadline",+ "goalRemove": "Doel verwijderen"}diff --git a/lib/l10n/app_pl.arb b/lib/l10n/app_pl.arbindex 099b233..78c40de 100644--- a/lib/l10n/app_pl.arb+++ b/lib/l10n/app_pl.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "{name} jest teraz w {routine}","levelUpStayed": "Koniec podpowiedzi o progresji dla tego ćwiczenia","levelHintsSetting": "Podpowiadaj następny krok",- "heatmapLabelsSetting": "Dni i miesiące na mapie aktywności"+ "heatmapLabelsSetting": "Dni i miesiące na mapie aktywności",+ "rmPercent": "PROCENT",+ "rmAtPercent": "{pct} twojego maksimum",+ "copyWorkout": "Kopiuj jako tekst",+ "goalSet": "Ustaw cel",+ "goalTargetReps": "DOCELOWE POWTÓRZENIA",+ "goalToGo": "Brakuje {value}",+ "goalReached": "Cel osiągnięty",+ "goalDaysLeft": "{n, plural, =1{Został 1 dzień} few{Zostały {n} dni} other{Zostało {n} dni}}",+ "goalOverdue": "Termin minął",+ "goalDeadline": "TERMIN",+ "goalNoDeadline": "Bez terminu",+ "goalRemove": "Usuń cel"}diff --git a/lib/l10n/app_pt.arb b/lib/l10n/app_pt.arbindex a4e2215..5d4320d 100644--- a/lib/l10n/app_pt.arb+++ b/lib/l10n/app_pt.arb@@ -997,5 +997,17 @@"levelUpSwapped": "{name} agora está em {routine}","levelUpStayed": "Sem mais sugestões de progressão para este","levelHintsSetting": "Sugerir o próximo passo",- "heatmapLabelsSetting": "Dias e meses no mapa de atividade"+ "heatmapLabelsSetting": "Dias e meses no mapa de atividade",+ "rmPercent": "PERCENTAGEM",+ "rmAtPercent": "{pct} do teu máximo",+ "copyWorkout": "Copiar como texto",+ "goalSet": "Definir um objetivo",+ "goalTargetReps": "REPETIÇÕES ALVO",+ "goalToGo": "Faltam {value}",+ "goalReached": "Objetivo atingido",+ "goalDaysLeft": "{n, plural, =1{Falta 1 dia} other{Faltam {n} dias}}",+ "goalOverdue": "Data ultrapassada",+ "goalDeadline": "PRAZO",+ "goalNoDeadline": "Sem prazo",+ "goalRemove": "Remover objetivo"}diff --git a/lib/l10n/app_ru.arb b/lib/l10n/app_ru.arbindex 65697cf..a819841 100644--- a/lib/l10n/app_ru.arb+++ b/lib/l10n/app_ru.arb@@ -1025,5 +1025,17 @@"levelUpSwapped": "«{name}» теперь в «{routine}»","levelUpStayed": "Больше не предлагать усложнение для этого","levelHintsSetting": "Предлагать следующий шаг",- "heatmapLabelsSetting": "Дни и месяцы на карте активности"+ "heatmapLabelsSetting": "Дни и месяцы на карте активности",+ "rmPercent": "ПРОЦЕНТ",+ "rmAtPercent": "{pct} от твоего максимума",+ "copyWorkout": "Скопировать текстом",+ "goalSet": "Поставить цель",+ "goalTargetReps": "ЦЕЛЕВЫЕ ПОВТОРЫ",+ "goalToGo": "Осталось {value}",+ "goalReached": "Цель достигнута",+ "goalDaysLeft": "{n, plural, =1{Остался {n} день} few{Осталось {n} дня} other{Осталось {n} дней}}",+ "goalOverdue": "Срок прошёл",+ "goalDeadline": "СРОК",+ "goalNoDeadline": "Без срока",+ "goalRemove": "Убрать цель"}diff --git a/lib/l10n/app_tr.arb b/lib/l10n/app_tr.arbindex 8c35acc..a1d381a 100644--- a/lib/l10n/app_tr.arb+++ b/lib/l10n/app_tr.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "{name} artık {routine} içinde","levelUpStayed": "Bu hareket için artık seviye önerisi yok","levelHintsSetting": "Sonraki adımı öner",- "heatmapLabelsSetting": "Aktivite haritasında gün ve aylar"+ "heatmapLabelsSetting": "Aktivite haritasında gün ve aylar",+ "rmPercent": "YÜZDE",+ "rmAtPercent": "Maksimumunun {pct} kadarı",+ "copyWorkout": "Metin olarak kopyala",+ "goalSet": "Hedef belirle",+ "goalTargetReps": "HEDEF TEKRAR",+ "goalToGo": "{value} kaldı",+ "goalReached": "Hedefe ulaşıldı",+ "goalDaysLeft": "{n, plural, =1{1 gün kaldı} other{{n} gün kaldı}}",+ "goalOverdue": "Tarih geçti",+ "goalDeadline": "SON TARİH",+ "goalNoDeadline": "Tarih yok",+ "goalRemove": "Hedefi kaldır"}diff --git a/lib/l10n/app_uk.arb b/lib/l10n/app_uk.arbindex 12518b1..0f1bebc 100644--- a/lib/l10n/app_uk.arb+++ b/lib/l10n/app_uk.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "«{name}» тепер у «{routine}»","levelUpStayed": "Більше не пропонувати ускладнення для цієї","levelHintsSetting": "Пропонувати наступний крок",- "heatmapLabelsSetting": "Дні й місяці на карті активності"+ "heatmapLabelsSetting": "Дні й місяці на карті активності",+ "rmPercent": "ВІДСОТОК",+ "rmAtPercent": "{pct} від твого максимуму",+ "copyWorkout": "Скопіювати текстом",+ "goalSet": "Поставити ціль",+ "goalTargetReps": "ЦІЛЬОВІ ПОВТОРИ",+ "goalToGo": "Залишилось {value}",+ "goalReached": "Ціль досягнуто",+ "goalDaysLeft": "{n, plural, =1{Залишився {n} день} few{Залишилось {n} дні} other{Залишилось {n} днів}}",+ "goalOverdue": "Термін минув",+ "goalDeadline": "ТЕРМІН",+ "goalNoDeadline": "Без терміну",+ "goalRemove": "Прибрати ціль"}diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arbindex 844e92c..24c14a6 100644--- a/lib/l10n/app_zh.arb+++ b/lib/l10n/app_zh.arb@@ -997,5 +997,17 @@"levelUpSwapped": "{name} 已加入{routine}","levelUpStayed": "不再为这个动作提示进阶","levelHintsSetting": "提示下一步进阶",- "heatmapLabelsSetting": "在活动图上显示星期和月份"+ "heatmapLabelsSetting": "在活动图上显示星期和月份",+ "rmPercent": "百分比",+ "rmAtPercent": "最大重量的 {pct}",+ "copyWorkout": "复制为文本",+ "goalSet": "设定目标",+ "goalTargetReps": "目标次数",+ "goalToGo": "还差 {value}",+ "goalReached": "目标达成",+ "goalDaysLeft": "{n, plural, other{还剩 {n} 天}}",+ "goalOverdue": "已过期限",+ "goalDeadline": "截止日期",+ "goalNoDeadline": "无截止日期",+ "goalRemove": "删除目标"}diff --git a/lib/l10n/app_zh_Hant.arb b/lib/l10n/app_zh_Hant.arbindex 15932f3..da1993d 100644--- a/lib/l10n/app_zh_Hant.arb+++ b/lib/l10n/app_zh_Hant.arb@@ -1237,5 +1237,17 @@"levelUpSwapped": "{name} 已加入{routine}","levelUpStayed": "不再為這個動作提示進階","levelHintsSetting": "提示下一步進階",- "heatmapLabelsSetting": "在活動圖上顯示星期和月份"+ "heatmapLabelsSetting": "在活動圖上顯示星期和月份",+ "rmPercent": "百分比",+ "rmAtPercent": "最大重量的 {pct}",+ "copyWorkout": "複製為文字",+ "goalSet": "設定目標",+ "goalTargetReps": "目標次數",+ "goalToGo": "還差 {value}",+ "goalReached": "目標達成",+ "goalDaysLeft": "{n, plural, other{還剩 {n} 天}}",+ "goalOverdue": "已過期限",+ "goalDeadline": "截止日期",+ "goalNoDeadline": "無截止日期",+ "goalRemove": "刪除目標"}diff --git a/lib/screens/exercise_detail_screen.dart b/lib/screens/exercise_detail_screen.dartindex a18cb73..12e9479 100644--- a/lib/screens/exercise_detail_screen.dart+++ b/lib/screens/exercise_detail_screen.dart@@ -1,3 +1,5 @@+import 'dart:math' as math;+import 'package:file_picker/file_picker.dart';import 'package:flutter/material.dart';import 'package:phosphoricons_flutter/phosphoricons_flutter.dart';@@ -52,6 +54,7 @@ class _ExerciseDetailScreenState extends State<ExerciseDetailScreen> {final steps = fit.activeExerciseSteps(ex);final pr = fit.exerciseRecord(ex.id);final oneRm = fit.oneRmSeries(ex.id);+ final bestReps = fit.bestRepsSeries(ex.id);final history = fit.exerciseHistory(ex.id);final hasMedia = fit.hasCustomMedia(ex.id);final repsOnly = fit.isRepsOnly(ex.id);@@ -232,11 +235,19 @@ class _ExerciseDetailScreenState extends State<ExerciseDetailScreen> {const SizedBox(height: 16),TrendChart(values: [for (final v in oneRm) fit.toDisplayWeight(v)], height: 84, scale: fmt),],+ if (pr.kind == PrKind.reps && bestReps.length > 2) ...[+ const SizedBox(height: 16),+ TrendChart(values: bestReps, height: 84, scale: (v) => '${v.round()}'),+ ],],),),const SizedBox(height: 20),],+ if (fit.goalFits(ex.id)) ...[+ _goalCard(context, gc, ex.id),+ const SizedBox(height: 20),+ ],if (fit.nextTargetLabel(ex.id) != null) ...[_nextCard(gc, ex.id),const SizedBox(height: 20),@@ -736,6 +747,202 @@ class _ExerciseDetailScreenState extends State<ExerciseDetailScreen> {),);+ Widget _goalCard(BuildContext context, GymColors gc, String id) {+ final goal = fit.exerciseGoals[id];+ if (goal == null) {+ return GestureDetector(+ behavior: HitTestBehavior.opaque,+ onTap: () => _editGoal(context, id),+ child: Container(+ padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14),+ decoration: BoxDecoration(+ border: Border.all(color: gc.border),+ borderRadius: BorderRadius.circular(16),+ ),+ child: Row(children: [+ Icon(PhosphorIconsRegular.target, size: 18, color: gc.textSecondary),+ const SizedBox(width: 12),+ Expanded(child: Text(t.goalSet, style: AppTheme.f(13.5, weight: FontWeight.w600, color: gc.text))),+ Icon(PhosphorIconsRegular.plus, size: 15, color: gc.textTertiary),+ ]),+ ),+ );+ }+ final best = fit.goalBest(id);+ final done = best >= goal.target;+ final share = goal.target <= 0 ? 1.0 : (best / goal.target).clamp(0.0, 1.0);+ final due = goal.due;+ final today = DateTime.now();+ final days = due == null ? null : DateTime(due.year, due.month, due.day).difference(DateTime(today.year, today.month, today.day)).inDays;+ final when = done || due == null+ ? null+ : days! < 0+ ? t.goalOverdue+ : '${t.goalDaysLeft(days)} · ${t.shortDate(due)}';+ return GestureDetector(+ behavior: HitTestBehavior.opaque,+ onTap: () => _editGoal(context, id),+ child: Container(+ padding: const EdgeInsets.all(18),+ decoration: BoxDecoration(+ color: gc.bgRaised,+ border: Border.all(color: done ? gc.ember : Colors.transparent),+ borderRadius: BorderRadius.circular(20),+ ),+ child: Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ Row(+ crossAxisAlignment: CrossAxisAlignment.end,+ children: [+ Expanded(+ child: Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ _cardLabel(gc, t.goal),+ const SizedBox(height: 8),+ Text(fit.goalLabel(id, goal.target),+ style: AppTheme.f(26, weight: FontWeight.w800, color: gc.text, height: 1)),+ ],+ ),+ ),+ Text(done ? t.goalReached : t.goalToGo(fit.goalLabel(id, goal.target - best)),+ style: AppTheme.f(12.5, weight: FontWeight.w600, color: done ? gc.ember : gc.textSecondary)),+ ],+ ),+ const SizedBox(height: 14),+ ClipRRect(+ borderRadius: BorderRadius.circular(3),+ child: LinearProgressIndicator(+ value: share,+ minHeight: 6,+ backgroundColor: gc.bgRaised2,+ valueColor: AlwaysStoppedAnimation(done ? gc.ember : gc.accent),+ ),+ ),+ if (when != null) ...[+ const SizedBox(height: 10),+ Text(when,+ style: AppTheme.f(11.5,+ weight: FontWeight.w500, color: days! < 0 ? gc.ember : gc.textTertiary)),+ ],+ ],+ ),+ ),+ );+ }++ Future<void> _editGoal(BuildContext context, String id) async {+ final reps = fit.goalKind(id) == PrKind.reps;+ final current = fit.exerciseGoals[id];+ final best = fit.goalBest(id);+ var target = current?.target ??+ (reps ? math.max(best + 5, 10.0) : fit.fromDisplayWeight(fit.toDisplayWeight(best) + fit.weightStep * 4));+ DateTime? due = current?.due;+ String shown() => reps ? '${target.round()}' : '${fit.weightValue(target)} ${fit.units}';+ await showAppSheet<void>(+ context: context,+ backgroundColor: Colors.transparent,+ builder: (sheet) => StatefulBuilder(+ builder: (sheet, setSheet) {+ final gc = sheet.gc;+ void bump(int dir) => setSheet(() {+ target = reps+ ? math.max(1, target + dir).toDouble()+ : math.max(0, target + dir * fit.fromDisplayWeight(fit.weightStep)).toDouble();+ });+ return Container(+ padding: sheetPad(sheet),+ decoration: BoxDecoration(+ color: gc.bgRaised,+ borderRadius: const BorderRadius.vertical(top: Radius.circular(28)),+ ),+ child: Column(+ mainAxisSize: MainAxisSize.min,+ crossAxisAlignment: CrossAxisAlignment.stretch,+ children: [+ const SheetHandle(),+ const SizedBox(height: 16),+ SheetTitle(titleCase(t.goal)),+ const SizedBox(height: 18),+ ToolGroup([+ ToolRow(+ label: reps ? t.goalTargetReps : t.targetWeight,+ control: StepperControl(+ value: shown(),+ onDec: () => bump(-1),+ onInc: () => bump(1),+ onEdit: () async {+ final v = await askNumber(sheet,+ title: reps ? t.goalTargetReps : t.targetWeight,+ initial: reps ? '${target.round()}' : fit.weightValue(target),+ decimal: !reps);+ if (v != null && v > 0) setSheet(() => target = reps ? v.roundToDouble() : fit.fromDisplayWeight(v));+ },+ ),+ ),+ ToolRow(+ label: t.goalDeadline,+ control: GestureDetector(+ behavior: HitTestBehavior.opaque,+ onTap: () async {+ final now = DateTime.now();+ final picked = await showDatePicker(+ context: sheet,+ initialDate: due ?? now.add(const Duration(days: 90)),+ firstDate: now,+ lastDate: now.add(const Duration(days: 365 * 3)),+ );+ if (picked != null) setSheet(() => due = picked);+ },+ child: Row(mainAxisSize: MainAxisSize.min, children: [+ Text(due == null ? t.goalNoDeadline : t.shortDateYear(due!),+ style: AppTheme.f(14, weight: FontWeight.w700, color: due == null ? gc.textTertiary : gc.text)),+ if (due != null) ...[+ const SizedBox(width: 8),+ GestureDetector(+ behavior: HitTestBehavior.opaque,+ onTap: () => setSheet(() => due = null),+ child: Icon(PhosphorIconsRegular.x, size: 14, color: gc.textTertiary),+ ),+ ],+ ]),+ ),+ ),+ ]),+ const SizedBox(height: 18),+ PrimaryButton(+ label: t.save,+ onTap: () {+ fit.setExerciseGoal(id, target, due);+ Navigator.pop(sheet);+ },+ ),+ if (current != null) ...[+ const SizedBox(height: 6),+ Center(+ child: GestureDetector(+ behavior: HitTestBehavior.opaque,+ onTap: () {+ fit.clearExerciseGoal(id);+ Navigator.pop(sheet);+ },+ child: Padding(+ padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),+ child: Text(t.goalRemove,+ style: AppTheme.f(13, weight: FontWeight.w600, color: gc.textSecondary)),+ ),+ ),+ ),+ ],+ ],+ ),+ );+ },+ ),+ );+ }+Widget _nextCard(GymColors gc, String id) {final target = fit.nextTarget(id)!;return Container(diff --git a/lib/screens/progress_screen.dart b/lib/screens/progress_screen.dartindex 0f09384..3c85e1e 100644--- a/lib/screens/progress_screen.dart+++ b/lib/screens/progress_screen.dart@@ -2,6 +2,7 @@ import 'dart:io';import 'dart:math' as math;import 'package:flutter/material.dart';+import 'package:flutter/services.dart';import 'package:phosphoricons_flutter/phosphoricons_flutter.dart';import '../l10n/l10n.dart';@@ -17,6 +18,7 @@ import '../widgets/dialogs.dart';import '../widgets/entrance.dart';import '../widgets/exercise_media.dart';import '../widgets/glass.dart';+import '../widgets/liquid_notch.dart';import '../widgets/muscle_radar.dart';import '../widgets/rolling_text.dart';import '../widgets/ruler_picker.dart';@@ -1353,6 +1355,22 @@ class _DaySheet extends StatelessWidget {style: AppTheme.s(11, weight: FontWeight.w600, color: gc.textTertiary, letterSpacing: 1),),),+ Semantics(+ button: true,+ label: t.copyWorkout,+ child: GestureDetector(+ behavior: HitTestBehavior.opaque,+ onTap: () {+ Clipboard.setData(ClipboardData(text: fit.workoutText(s)));+ showNotchToast(context, t.copiedDone, icon: PhosphorIconsRegular.copy, accent: gc.accent);+ },+ child: SizedBox(+ width: 40,+ height: 36,+ child: Icon(PhosphorIconsRegular.copy, size: 16, color: gc.textTertiary),+ ),+ ),+ ),Semantics(button: true,label: t.deleteWorkout,diff --git a/lib/screens/tool_detail_screen.dart b/lib/screens/tool_detail_screen.dartindex ffca62a..a825a9a 100644--- a/lib/screens/tool_detail_screen.dart+++ b/lib/screens/tool_detail_screen.dart@@ -107,6 +107,10 @@ class ToolDetailScreen extends StatelessWidget {ToolRow(label: t.weightLifted, control: StepperControl(value: '${fit.weightValue(fit.rmWeight)} ${fit.units}', onDec: () => fit.bumpRmWeight(-fit.fromDisplayWeight(fit.weightStep)), onInc: () => fit.bumpRmWeight(fit.fromDisplayWeight(fit.weightStep)), onEdit: () => _editNumber(context, title: t.weightLifted, current: fit.toDisplayWeight(fit.rmWeight), decimal: true, apply: (v) => fit.bumpRmWeight(fit.fromDisplayWeight(v) - fit.rmWeight)))),const SizedBox(height: 10),ToolRow(label: t.repsPerformed, control: StepperControl(value: '${fit.rmReps}', minWidth: 40, onDec: () => fit.bumpRmReps(-1), onInc: () => fit.bumpRmReps(1), onEdit: () => _editNumber(context, title: t.repsPerformed, current: fit.rmReps.toDouble(), decimal: false, apply: (v) => fit.bumpRmReps(v.round() - fit.rmReps)))),+ const SizedBox(height: 10),+ ToolRow(label: t.rmPercent, control: StepperControl(value: '${fit.rmPct}%', minWidth: 52, onDec: () => fit.bumpRmPct(-1), onInc: () => fit.bumpRmPct(1), onEdit: () => _editNumber(context, title: t.rmPercent, current: fit.rmPct.toDouble(), decimal: false, apply: (v) => fit.bumpRmPct(v.round() - fit.rmPct)))),+ const SizedBox(height: 10),+ _rmPctCard(context, gc),];case 'bmi':return [@@ -303,6 +307,41 @@ class ToolDetailScreen extends StatelessWidget {);}+ Widget _rmPctCard(BuildContext context, GymColors gc) {+ final weight = fit.rmAtPct;+ final bar = fit.defaultBar;+ final plates = weight > bar ? fit.platesPerSide(weight, bar) : const <({double weight, int count})>[];+ return GestureDetector(+ behavior: HitTestBehavior.opaque,+ onTap: weight > bar ? () => showPlateSheet(context, weight) : null,+ child: SoftCard(+ radius: 20,+ borderColor: Colors.transparent,+ padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14),+ child: Row(+ children: [+ Expanded(+ child: Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ Text(t.rmAtPercent('${fit.rmPct}%'),+ style: AppTheme.f(13, weight: FontWeight.w500, color: gc.textSecondary)),+ if (plates.isNotEmpty) ...[+ const SizedBox(height: 3),+ Text(plates.map((p) => p.count == 1 ? fmt(p.weight) : '${fmt(p.weight)}×${p.count}').join(' · '),+ style: AppTheme.f(11.5, weight: FontWeight.w500, color: gc.textTertiary)),+ ],+ ],+ ),+ ),+ const SizedBox(width: 12),+ Text('${fmt(weight)} ${fit.units}', style: AppTheme.f(17, weight: FontWeight.w800, color: gc.text)),+ ],+ ),+ ),+ );+ }+Widget _warmupCard(GymColors gc) {final sets = fit.warmupSets;return SoftCard(diff --git a/lib/state/fit_core.dart b/lib/state/fit_core.dartindex 9e33bd7..a6db15d 100644--- a/lib/state/fit_core.dart+++ b/lib/state/fit_core.dart@@ -73,6 +73,8 @@ abstract class FitCore extends ChangeNotifier {final Map<String, List<int>> levelShown = {};+ final Map<String, ({double target, DateTime? due})> exerciseGoals = {};+final Map<String, Map<int, int>> videoMarks = {};final Map<String, double> exerciseBar = {};diff --git a/lib/state/fit_state.dart b/lib/state/fit_state.dartindex 7a28d06..e1d1974 100644--- a/lib/state/fit_state.dart+++ b/lib/state/fit_state.dart@@ -167,6 +167,14 @@ class FitState extends FitCorelevelSeen..clear()..addAll(((data['levelSeen'] as Map?) ?? const {}).map((k, v) => MapEntry(k as String, (v as num).toInt())));+ exerciseGoals+ ..clear()+ ..addAll(((data['goals'] as Map?) ?? const {}).map((k, v) {+ final g = (v as Map).cast<String, dynamic>();+ final due = (g['d'] as num?)?.toInt();+ return MapEntry(k as String,+ (target: (g['t'] as num).toDouble(), due: due == null ? null : DateTime.fromMillisecondsSinceEpoch(due)));+ }));levelShown..clear()..addAll(((data['levelShown'] as Map?) ?? const {})@@ -376,6 +384,7 @@ class FitState extends FitCore'levelStay': levelStay.toList(),'levelSeen': Map.of(levelSeen),'levelShown': Map.of(levelShown),+ 'goals': exerciseGoals.map((k, g) => MapEntry(k, {'t': g.target, if (g.due != null) 'd': g.due!.millisecondsSinceEpoch})),'barKg': exerciseBar,'marks': videoMarks.map((k, v) => MapEntry(k, v.map((i, ms) => MapEntry('$i', ms)))),'exMode': modeOverride,@@ -456,6 +465,7 @@ class FitState extends FitCorelevelStay.clear();levelSeen.clear();levelShown.clear();+ exerciseGoals.clear();videoMarks.clear();exerciseBar.clear();modeOverride.clear();diff --git a/lib/state/stats_state.dart b/lib/state/stats_state.dartindex 665a644..ee365e1 100644--- a/lib/state/stats_state.dart+++ b/lib/state/stats_state.dart@@ -207,6 +207,30 @@ mixin StatsState on FitCore, ToolsState, LibraryState, TimelineState {}}+ String workoutText(LoggedSession s) {+ String line(LoggedSet x) {+ if (x.km != null) return '${distanceLabel(x.km!)} · ${durationLabel(x.sec ?? 0)}';+ if (x.sec != null && x.reps == 0) return durationLabel(x.sec!);+ return x.weight > 0 ? '${weightLabel(x.weight)} × ${x.reps}' : t.repCount(x.reps);+ }++ final out = [s.durationSec > 0 ? '${t.longDate(s.date)} · ${s.durationSec ~/ 60} min' : t.longDate(s.date)];+ var reps = 0;+ for (final e in s.exercises) {+ out+ ..add('')+ ..add(t.catalogName(e.id, e.name));+ for (final x in e.sets) {+ if (x.counts) reps += x.reps;+ out.add(' ${line(x)}');+ }+ }+ out+ ..add('')+ ..add('${t.setCount(s.setCount)} · ${t.repCount(reps)} · ${volumeLabel(s.volume)}');+ return out.join('\n');+ }+void deleteSession(LoggedSession s) {sessions.remove(s);_releaseLevel(s, s.exercises.map((e) => e.id));@@ -716,6 +740,34 @@ mixin StatsState on FitCore, ToolsState, LibraryState, TimelineState {return h.map((r) => _round1(r.ex.bestOneRm)).toList();}+ bool goalFits(String id) => modeOf(id).isEmpty;++ PrKind goalKind(String id) {+ final kind = exerciseRecord(id)?.kind;+ if (kind == PrKind.weight || kind == PrKind.reps) return kind!;+ return isRepsOnly(id) ? PrKind.reps : PrKind.weight;+ }++ double goalBest(String id) {+ final r = exerciseRecord(id);+ return r != null && r.kind == goalKind(id) ? r.best : 0;+ }++ String goalLabel(String id, double value) =>+ goalKind(id) == PrKind.reps ? t.repCount(value.round()) : weightLabel(value);++ void setExerciseGoal(String id, double target, DateTime? due) {+ exerciseGoals[id] = (target: target, due: due == null ? null : _dayKey(due));+ persistNow();+ notifyListeners();+ }++ void clearExerciseGoal(String id) {+ if (exerciseGoals.remove(id) == null) return;+ persistNow();+ notifyListeners();+ }+List<int> heatmapWeeksFor(int weeks) {final tail = 6 - todayIndex;return [...heatmapLevelsFor(weeks * 7 - tail), for (var i = 0; i < tail; i++) -1];@@ -726,6 +778,11 @@ mixin StatsState on FitCore, ToolsState, LibraryState, TimelineState {DateTime heatmapWeekDate(int i, {int weeks = kHeatmapDays ~/ 7}) =>shiftDays(_weekStart, i - (weeks - 1) * 7);+ List<double> bestRepsSeries(String id) => [+ for (final r in exerciseHistory(id).reversed)+ r.ex.sets.where((s) => s.counts).fold(0, (m, s) => math.max(m, s.reps)).toDouble(),+ ];+static const _habitWindowDays = 120;Iterable<LoggedSession> get _recentSessions {diff --git a/lib/state/tools_state.dart b/lib/state/tools_state.dartindex 2f1d2c4..7cf73aa 100644--- a/lib/state/tools_state.dart+++ b/lib/state/tools_state.dart@@ -4,6 +4,7 @@ mixin ToolsState on FitCore {String? activeToolId;double rmWeight = 100;int rmReps = 5;+ int rmPct = 75;double bmiHeight = 175;double bmiWeight = 75;int calAge = 28;@@ -190,6 +191,14 @@ mixin ToolsState on FitCore {void bumpRmWeight(double d) { rmWeight = _clamp(rmWeight + d, 0, null); notifyListeners(); }+ void bumpRmPct(int d) { rmPct = (rmPct + d).clamp(30, 100); notifyListeners(); }++ double get rmAtPct {+ final target = toDisplayWeight(rmResult * rmPct / 100);+ final bar = defaultBar;+ return target <= bar ? _roundTo(target, isLb ? 5.0 : 2.5) : loadableTotal(target, bar);+ }+void bumpRmReps(int d) { rmReps = _clamp(rmReps + d.toDouble(), 1, 20).round(); notifyListeners(); }void bumpBmiHeight(double d) { bmiHeight = _clamp(bmiHeight + d, 100, 250); notifyListeners(); }diff --git a/test/requests_29sep_test.dart b/test/requests_29sep_test.dartindex 1d15edf..06bd6bd 100644--- a/test/requests_29sep_test.dart+++ b/test/requests_29sep_test.dart@@ -48,4 +48,44 @@ void main() {expect(fit.heatmapLabels, isFalse);});});++ group('#127 ideas de FitNotes', () {+ test('el objetivo mide el mejor peso y se guarda con su fecha', () {+ fit.sessions.add(logged(DateTime.now(), [LoggedSet(5, 100), LoggedSet(3, 110)]));+ final due = DateTime.now().add(const Duration(days: 30));+ fit.setExerciseGoal(bench, 140, due);+ expect(fit.goalBest(bench), 110);+ fit.persistNow();+ fit.loadFromStore();+ final g = fit.exerciseGoals[bench]!;+ expect(g.target, 140);+ expect((g.due!.year, g.due!.month, g.due!.day), (due.year, due.month, due.day));+ fit.clearExerciseGoal(bench);+ expect(fit.exerciseGoals, isEmpty);+ });++ test('el objetivo de un ejercicio sin peso va en repeticiones', () {+ fit.sessions.add(logged(DateTime.now(), [LoggedSet(12, 0)], id: 'I4hDWkc'));+ expect(fit.goalKind('I4hDWkc'), PrKind.reps);+ expect(fit.goalBest('I4hDWkc'), 12);+ });++ test('el entreno se copia como texto con sus series y totales', () {+ final s = logged(DateTime(2026, 9, 29, 18), [LoggedSet(8, 60), LoggedSet(6, 70)]);+ final text = fit.workoutText(s);+ expect(text, contains('60 kg × 8'));+ expect(text, contains('70 kg × 6'));+ expect(text, contains('30 min'));+ expect(text.split('\n').last, contains('14'));+ });++ test('el porcentaje del máximo da un peso que se puede cargar', () {+ fit.bumpRmWeight(100 - fit.rmWeight);+ fit.bumpRmReps(1 - fit.rmReps);+ fit.bumpRmPct(72 - fit.rmPct);+ final w = fit.rmAtPct;+ expect((w - 72.6).abs(), lessThan(2.6));+ expect(w % 1.25, closeTo(0, 1e-9));+ });+ });}