Skip to content

Commit

Permalink
fix(translate-mobile): fix error tranlate mobile (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
PriscilliaAmmeux authored Jan 18, 2024
1 parent d147e2a commit f87ac22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions yaki_mobile/assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
"teamSelectionPageTitle2": "for today ?",
"teamSelectionPageHint": "Select 1 or 2 activities",

"whenDoYouWork ": "When are you working",
"whereDoYouWork ": "Where are you working",
"whenDoYouWork": "When are you working",
"whereDoYouWork": "Where are you working",
"whenAreYouAbsent": "When are you absent ?",
"thisMorning": " this ",
"thisAfternoon": " this ",
Expand Down Expand Up @@ -124,7 +124,6 @@
"somethingWentWrong": "Some data are lost along the way",
"retry": "Retry",


"upload": "Upload",
"takePicture": "Take a picture",
"imgGallery": "Gallery",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ String setFirstSentence({
}) {
return declarationMode == DeclarationPaths.timeOfDay.text
? teamNameList.contains("Absence")
? "whenAreYouAbsent"
: "whenDoYouWork"
: "whereDoYouWork";
? tr('whenAreYouAbsent')
: tr('whenDoYouWork')
: tr('whereDoYouWork');
}

String setTeam({required List<String> teamList}) {
Expand Down

0 comments on commit f87ac22

Please sign in to comment.