Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions rhythm_coach/lib/l10n/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sessionStatePaused": "PAUSE",
"sessionStateFinished": "FERTIG",
"sessionStateFailing": "FAIL",
"sessionBreakBanner": "PAUSE",
"sessionFailPhasePhrase": "Fail-Satz",
"sessionFailPhaseBreath": "Atmen",
"sessionFailPhasePunishment": "Strafe",
Expand Down Expand Up @@ -668,6 +669,12 @@
"positionThroat": "Kehle",
"positionFull": "Ganz",
"positionBalls": "Hoden",
"postureFree": "Frei",
"postureSitting": "Sitzend",
"postureStanding": "Stehend",
"postureKneeling": "Kniend",
"postureAllFours": "Auf allen vieren",
"postureOnBack": "Auf dem Rücken",

"modeShortRhythm": "LUTSCH",
"modeShortHold": "TIEF",
Expand Down
7 changes: 7 additions & 0 deletions rhythm_coach/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sessionStatePaused": "PAUSED",
"sessionStateFinished": "DONE",
"sessionStateFailing": "FAIL",
"sessionBreakBanner": "BREAK",
"sessionFailPhasePhrase": "Fail phrase",
"sessionFailPhaseBreath": "Breath",
"sessionFailPhasePunishment": "Punishment",
Expand Down Expand Up @@ -668,6 +669,12 @@
"positionThroat": "Throat",
"positionFull": "Full",
"positionBalls": "Balls",
"postureFree": "Free",
"postureSitting": "Seated",
"postureStanding": "Standing",
"postureKneeling": "Kneeling",
"postureAllFours": "On all fours",
"postureOnBack": "On your back",

"modeShortRhythm": "SUCK",
"modeShortHold": "DEEP",
Expand Down
7 changes: 7 additions & 0 deletions rhythm_coach/lib/l10n/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sessionStatePaused": "PAUSADA",
"sessionStateFinished": "HECHO",
"sessionStateFailing": "FALLO",
"sessionBreakBanner": "PAUSA",
"sessionFailPhasePhrase": "Frase de fallo",
"sessionFailPhaseBreath": "Respiración",
"sessionFailPhasePunishment": "Castigo",
Expand Down Expand Up @@ -668,6 +669,12 @@
"positionThroat": "Garganta",
"positionFull": "Fondo",
"positionBalls": "Huevos",
"postureFree": "Libre",
"postureSitting": "Sentada",
"postureStanding": "De pie",
"postureKneeling": "De rodillas",
"postureAllFours": "A cuatro patas",
"postureOnBack": "Boca arriba",

"modeShortRhythm": "MAMAR",
"modeShortHold": "PROF.",
Expand Down
7 changes: 7 additions & 0 deletions rhythm_coach/lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sessionStatePaused": "PAUSE",
"sessionStateFinished": "TERMINÉ",
"sessionStateFailing": "FAIL",
"sessionBreakBanner": "PAUSE",
"sessionFailPhasePhrase": "Phrase de fail",
"sessionFailPhaseBreath": "Respiration",
"sessionFailPhasePunishment": "Punition",
Expand Down Expand Up @@ -668,6 +669,12 @@
"positionThroat": "Gorge",
"positionFull": "Tout",
"positionBalls": "Couilles",
"postureFree": "Libre",
"postureSitting": "Assise",
"postureStanding": "Debout",
"postureKneeling": "À genoux",
"postureAllFours": "À quatre pattes",
"postureOnBack": "Sur le dos",

"modeShortRhythm": "SUCE",
"modeShortHold": "AU FOND",
Expand Down
42 changes: 42 additions & 0 deletions rhythm_coach/lib/l10n/app_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@ abstract class AppLocalizations {
/// **'FAIL'**
String get sessionStateFailing;

/// No description provided for @sessionBreakBanner.
///
/// In fr, this message translates to:
/// **'PAUSE'**
String get sessionBreakBanner;

/// No description provided for @sessionFailPhasePhrase.
///
/// In fr, this message translates to:
Expand Down Expand Up @@ -2550,6 +2556,42 @@ abstract class AppLocalizations {
/// **'Couilles'**
String get positionBalls;

/// No description provided for @postureFree.
///
/// In fr, this message translates to:
/// **'Libre'**
String get postureFree;

/// No description provided for @postureSitting.
///
/// In fr, this message translates to:
/// **'Assise'**
String get postureSitting;

/// No description provided for @postureStanding.
///
/// In fr, this message translates to:
/// **'Debout'**
String get postureStanding;

/// No description provided for @postureKneeling.
///
/// In fr, this message translates to:
/// **'À genoux'**
String get postureKneeling;

/// No description provided for @postureAllFours.
///
/// In fr, this message translates to:
/// **'À quatre pattes'**
String get postureAllFours;

/// No description provided for @postureOnBack.
///
/// In fr, this message translates to:
/// **'Sur le dos'**
String get postureOnBack;

/// No description provided for @modeShortRhythm.
///
/// In fr, this message translates to:
Expand Down
21 changes: 21 additions & 0 deletions rhythm_coach/lib/l10n/app_localizations_de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get sessionStateFailing => 'FAIL';

@override
String get sessionBreakBanner => 'PAUSE';

@override
String get sessionFailPhasePhrase => 'Fail-Satz';

Expand Down Expand Up @@ -1422,6 +1425,24 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get positionBalls => 'Hoden';

@override
String get postureFree => 'Frei';

@override
String get postureSitting => 'Sitzend';

@override
String get postureStanding => 'Stehend';

@override
String get postureKneeling => 'Kniend';

@override
String get postureAllFours => 'Auf allen vieren';

@override
String get postureOnBack => 'Auf dem Rücken';

@override
String get modeShortRhythm => 'LUTSCH';

Expand Down
21 changes: 21 additions & 0 deletions rhythm_coach/lib/l10n/app_localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get sessionStateFailing => 'FAIL';

@override
String get sessionBreakBanner => 'BREAK';

@override
String get sessionFailPhasePhrase => 'Fail phrase';

Expand Down Expand Up @@ -1417,6 +1420,24 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get positionBalls => 'Balls';

@override
String get postureFree => 'Free';

@override
String get postureSitting => 'Seated';

@override
String get postureStanding => 'Standing';

@override
String get postureKneeling => 'Kneeling';

@override
String get postureAllFours => 'On all fours';

@override
String get postureOnBack => 'On your back';

@override
String get modeShortRhythm => 'SUCK';

Expand Down
21 changes: 21 additions & 0 deletions rhythm_coach/lib/l10n/app_localizations_es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get sessionStateFailing => 'FALLO';

@override
String get sessionBreakBanner => 'PAUSA';

@override
String get sessionFailPhasePhrase => 'Frase de fallo';

Expand Down Expand Up @@ -1422,6 +1425,24 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get positionBalls => 'Huevos';

@override
String get postureFree => 'Libre';

@override
String get postureSitting => 'Sentada';

@override
String get postureStanding => 'De pie';

@override
String get postureKneeling => 'De rodillas';

@override
String get postureAllFours => 'A cuatro patas';

@override
String get postureOnBack => 'Boca arriba';

@override
String get modeShortRhythm => 'MAMAR';

Expand Down
21 changes: 21 additions & 0 deletions rhythm_coach/lib/l10n/app_localizations_fr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get sessionStateFailing => 'FAIL';

@override
String get sessionBreakBanner => 'PAUSE';

@override
String get sessionFailPhasePhrase => 'Phrase de fail';

Expand Down Expand Up @@ -1425,6 +1428,24 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get positionBalls => 'Couilles';

@override
String get postureFree => 'Libre';

@override
String get postureSitting => 'Assise';

@override
String get postureStanding => 'Debout';

@override
String get postureKneeling => 'À genoux';

@override
String get postureAllFours => 'À quatre pattes';

@override
String get postureOnBack => 'Sur le dos';

@override
String get modeShortRhythm => 'SUCE';

Expand Down
17 changes: 17 additions & 0 deletions rhythm_coach/lib/l10n/enum_labels.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import '../career/models/custom_session_config.dart';
import '../career/models/session_length_choice.dart';
import '../career/models/specialization.dart';
import '../models/badge.dart';
import '../models/posture.dart';
import '../models/session.dart';
import '../models/session_step.dart';
import '../services/capability_axis.dart';
Expand Down Expand Up @@ -42,6 +43,22 @@ extension PositionL10n on Position {
}
}

extension PostureL10n on Posture {
/// Libellé court de la posture imposée (issue #77), pour l'indicateur de
/// posture en séance. [Posture.free] = « libre » (aucune contrainte).
String localizedLabel(BuildContext context) {
final t = AppLocalizations.of(context);
return switch (this) {
Posture.free => t.postureFree,
Posture.sitting => t.postureSitting,
Posture.standing => t.postureStanding,
Posture.kneeling => t.postureKneeling,
Posture.allFours => t.postureAllFours,
Posture.onBack => t.postureOnBack,
};
}
}

extension BadgeTierL10n on BadgeTier {
String localizedLabel(BuildContext context) {
final t = AppLocalizations.of(context);
Expand Down
Loading
Loading