feat(train): weights in pounds too, the person's unit or their region's (ADR 0030, D64)

Every weight is still kept in kilograms. It is shown and entered in the
person's unit, chosen in Your body (Weight in: kg | lb, the profile's
new weightUnit), else the region's: pounds in the US, Liberia and
Myanmar. The entry takes 44 to 880 lb, the same 20 to 400 kg. A weight
left untouched in Your body is saved exactly as it was, not rounded
through pounds. The other figures stay metric.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-04 00:15:55 +01:00
commit 396e010949
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -4611,6 +4611,42 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'{minutes} min'**
String loopDetectionMinutes(int minutes);
/// No description provided for @bodyWeightPounds.
///
/// In en, this message translates to:
/// **'{lb} lb'**
String bodyWeightPounds(String lb);
/// No description provided for @weightInvalidPounds.
///
/// In en, this message translates to:
/// **'A weight between 44 and 880 lb'**
String get weightInvalidPounds;
/// No description provided for @profileWeightUnitPounds.
///
/// In en, this message translates to:
/// **'lb'**
String get profileWeightUnitPounds;
/// Above the choice between kilograms and pounds in Your body.
///
/// In en, this message translates to:
/// **'Weight in'**
String get profileWeightIn;
/// No description provided for @profileWeightKilograms.
///
/// In en, this message translates to:
/// **'Kilograms'**
String get profileWeightKilograms;
/// No description provided for @profileWeightPounds.
///
/// In en, this message translates to:
/// **'Pounds'**
String get profileWeightPounds;
}
class _AppLocalizationsDelegate