Skip to content

Commit

Permalink
Merge pull request #337 from BIDMCDigitalPsychiatry/issue-771
Browse files Browse the repository at this point in the history
Translation - bubbles - minutes to seconds
  • Loading branch information
sarithapillai8 authored Aug 25, 2023
2 parents f5959f3 + b0a9a5a commit 4163747
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ class PopTheBubbles extends React.Component<AppProps, AppState> {
</div>

<div className="textLabel">
{((this.state.timeDifference/1000)/60).toFixed(2)} {i18n.t("MINUTES_TO_COMPLETE")}
{((this.state.timeDifference/1000)).toFixed(2)} {i18n.t("MINUTES_TO_COMPLETE")}
</div>
</div>
</div>
Expand Down
18 changes: 9 additions & 9 deletions PopTheBubbles/src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const resources = {
GO: "G\u00e5",
LEVEL_NUMBER: "Niveau {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "Niveau {{ levelNumber }} afsluttet",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} number of correctly answered (popped) Go trials and {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctNoGo }} number of correctly answered (unpopped) No-Go trials and {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} number of false hits (hitting screen anywhere other than a bubble)",
Expand All @@ -31,7 +31,7 @@ const resources = {
GO: "Los",
LEVEL_NUMBER: "Level {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "Level {{ levelNumber }} abgeschlossen",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} number of correctly answered (popped) Go trials and {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctNoGo }} number of correctly answered (unpopped) No-Go trials and {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} number of false hits (hitting screen anywhere other than a bubble)",
Expand All @@ -53,7 +53,7 @@ const resources = {
GO: "GO",
LEVEL_NUMBER: "Level {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "Level {{ levelNumber }} Completed",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} number of correctly answered (popped) Go trials and {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctNoGo }} number of correctly answered (unpopped) No-Go trials and {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} number of false hits (hitting screen anywhere other than a bubble)",
Expand All @@ -75,7 +75,7 @@ const resources = {
GO: "Vamos",
LEVEL_NUMBER: "Nivel {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "Nivel {{ levelNumber }} Completado",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} número de ensayos respondidos correctamente(popped) Go ensayos y {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctGoCount }} número de ensayos respondidos correctamente (unpopped) No-Go ensayos and {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} número de aciertos falsos (hitting screen anywhere other than a bubble)",
Expand All @@ -98,7 +98,7 @@ const resources = {
GO: "GO",
LEVEL_NUMBER: "Niveau {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "Niveau {{ levelNumber }} Compl\u00e9t\u00e9",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} number of correctly answered (popped) Go trials and {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctNoGo }} number of correctly answered (unpopped) No-Go trials and {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} number of false hits (hitting screen anywhere other than a bubble)",
Expand All @@ -120,7 +120,7 @@ const resources = {
GO: "जाओ",
LEVEL_NUMBER: "स्तर {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "स्तर {{ levelNumber }} पूरा हुआ",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} दिए गए सही जवाब (पॉपअप) परीक्षण में जाएं और {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctGoCount }} दिए गए सही जवाब (पॉपअप नही) परीक्षण में नही जाएं और {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} गलत हिट की संख्या (बुलबुले के छोड़कर अलावा कहीं भी स्क्रीन पर हिट करें)",
Expand Down Expand Up @@ -164,7 +164,7 @@ const resources = {
GO: "\uac00\uae30",
LEVEL_NUMBER: "\ub808\ubca8 {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "\ub808\ubca8 {{ levelNumber }} \uc644\ub8cc",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} number of correctly answered (popped) Go trials and {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctNoGo }} number of correctly answered (unpopped) No-Go trials and {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} number of false hits (hitting screen anywhere other than a bubble)",
Expand All @@ -186,7 +186,7 @@ const resources = {
GO: "\u5f00\u59cb",
LEVEL_NUMBER: "\u7ea7\u522b {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "\u7ea7\u522b {{ levelNumber }} \u5df2\u5b8c\u6210",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} number of correctly answered (popped) Go trials and {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctNoGo }} number of correctly answered (unpopped) No-Go trials and {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} number of false hits (hitting screen anywhere other than a bubble)",
Expand All @@ -209,7 +209,7 @@ const resources = {
GO: "\u958b\u59cb",
LEVEL_NUMBER: "\u7d1a\u5225 {{ gameLevel }}",
LEVEL_NUM_COMPLETED: "\u7d1a\u5225 {{ levelNumber }} \u5df2\u5b8c\u6210",
MINUTES_TO_COMPLETE: "minutes taken to complete level",
MINUTES_TO_COMPLETE: "seconds taken to complete level",
NUMBER_OF_CORRECTLY_ANSWERED_GO_TRIALS: "{{ correctGoCount }} number of correctly answered (popped) Go trials and {{ percentage }}",
NUMBER_OF_CORRECTLY_ANSWERED_NO_GO_TRIALS: "{{ correctNoGo }} number of correctly answered (unpopped) No-Go trials and {{ percentage }}",
NUMBER_OF_FALSE_HITS: "{{ falseHitsCount }} number of false hits (hitting screen anywhere other than a bubble)",
Expand Down

0 comments on commit 4163747

Please sign in to comment.