Skip to content

Commit 3caec50

Browse files
authored
Merge pull request #1574 from Amsterdam-Music-Lab/feat/tt-pt-translation
Feat/tt pt translation
2 parents a197316 + d8dec0f commit 3caec50

File tree

11 files changed

+462
-107
lines changed

11 files changed

+462
-107
lines changed

backend/experiment/rules/matching_pairs_2025.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,8 @@ def next_round(self, session: Session):
7676
if questions:
7777
intro_questions = Explainer(
7878
instruction=_(
79-
"Before starting the game, we would like to ask you %i demographic questions."
80-
% (len(questions))
81-
),
79+
"Before starting the game, we would like to ask you {} demographic questions."
80+
).format(len(questions)),
8281
steps=[],
8382
)
8483
actions.append(intro_questions)
@@ -100,7 +99,7 @@ def next_round(self, session: Session):
10099
return self._get_final_actions(session)
101100

102101
def get_short_explainer(self):
103-
return Explainer("Click to start!", steps=[])
102+
return Explainer(_("Click to start!"), steps=[])
104103

105104
def _get_final_actions(self, session: Session):
106105
score = Final(

backend/experiment/rules/questionnaire.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ def next_round(self, session: Session):
1818
if questions:
1919
intro_questions = Explainer(
2020
instruction=_(
21-
"Before starting the game, we would like to ask you %i demographic questions."
22-
% (len(questions))
23-
),
21+
"Before starting the game, we would like to ask you {} demographic questions."
22+
).format(len(questions)),
2423
steps=[],
2524
)
2625
actions.append(intro_questions)
2.9 KB
Binary file not shown.

backend/locale/nl/LC_MESSAGES/django.po

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,11 @@ msgstr "Heb je een stabiele internetverbinding?"
348348

349349
#: experiment/rules/base.py:34 experiment/rules/matching_pairs_2025.py:62
350350
msgid "Submit"
351-
msgstr ""
351+
msgstr "Verzenden"
352352

353353
#: experiment/rules/base.py:38 experiment/rules/matching_pairs_2025.py:66
354354
msgid "We appreciate your feedback!"
355-
msgstr ""
355+
msgstr "We waarderen je feedback!"
356356

357357
#: experiment/rules/base.py:138 experiment/rules/musical_preferences.py:71
358358
msgid "Questionnaire"
@@ -902,7 +902,7 @@ msgstr ""
902902
msgid ""
903903
"TuneTwins is a musical version of \"Memory\". It consists of 16 musical "
904904
"fragments. Your task is to listen and find the 8 matching pairs."
905-
msgstr ""
905+
msgstr "TuneTwins is een muzikale versie van \"Memory\". Het bestaat uit 16 muzikale fragmenten. Je taak is om te luisteren en de 8 matchende paren te vinden."
906906

907907
#: experiment/rules/matching_pairs.py:50
908908
msgid ""
@@ -911,77 +911,80 @@ msgid ""
911911
"similar pairs, one of which is distorted."
912912
msgstr ""
913913

914+
#: experiment/rules/matching_pairs.py:103
915+
msgid "Click to start!"
916+
msgstr "Klik om te starten!"
917+
914918
#: experiment/rules/matching_pairs.py:53
915919
msgid "Click on another card to stop the current card from playing."
916-
msgstr ""
920+
msgstr "Klik op een andere kaart om de huidige kaart te stoppen met spelen."
917921

918922
#: experiment/rules/matching_pairs.py:54
919923
msgid "Finding a match removes the pair from the board."
920-
msgstr ""
924+
msgstr "Als je een match vindt, verdwijnt het paar kaarten van het bord."
921925

922926
#: experiment/rules/matching_pairs.py:55
923927
msgid "Listen carefully to avoid mistakes and earn more points."
924-
msgstr ""
928+
msgstr "Luister aandachtig om fouten te voorkomen en meer punten te verdienen."
925929

926-
#: experiment/rules/matching_pairs.py:69 experiment/rules/matching_pairs.py:174
927930
#: experiment/rules/matching_pairs_2025.py:79
928931
#: experiment/rules/questionnaire.py:21
929-
#, python-format
930-
msgid ""
931-
"Before starting the game, we would like to ask you %i demographic questions."
932-
msgstr ""
932+
msgid "Before starting the game, we would like to ask you {} demographic questions."
933+
msgstr "Voordat het spel begint, willen we je {} demografische vragen stellen."
933934

934935
#: experiment/rules/matching_pairs_2025.py:43
935936
msgid ""
936937
"This was not a match, so you get 0 points. Please try again to see if you "
937938
"can find a matching pair."
938-
msgstr ""
939+
msgstr "Dit was geen match, dus je krijgt 0 punten. Probeer opnieuw een matchend paar te vinden."
939940

940941
#: experiment/rules/matching_pairs_2025.py:46
941942
msgid ""
942943
"You got a matching pair, but you didn't hear both cards before. This is "
943944
"considered a lucky match. You get 10 points."
944-
msgstr ""
945+
msgstr "Je hebt een matchend paar gevonden, maar je hebt beide kaarten niet eerder gehoord: een toevalstreffer. Je krijgt 10 punten."
945946

946947
#: experiment/rules/matching_pairs_2025.py:48
947948
msgid "You got a matching pair. You get 20 points."
948-
msgstr ""
949+
msgstr "Je hebt een matchend paar gevonden. Je krijgt 20 punten."
949950

950951
#: experiment/rules/matching_pairs_2025.py:50
951952
msgid ""
952953
"You thought you found a matching pair, but you didn't. This is considered a "
953954
"misremembered pair. You lose 10 points."
954-
msgstr ""
955+
msgstr "Je dacht een matchend paar te hebben gevonden, maar dat was niet zo. Je hebt het verkeerd herinnerd en verliest 10 punten."
955956

956957
#: experiment/rules/matching_pairs_2025.py:182
957958
msgid ""
958959
"You get a board with 16 musical cards. **Pick a card,** and listen to it "
959960
"carefully..."
960-
msgstr ""
961+
msgstr "Je ziet zo een bord met 16 muzikale kaarten. **Kies een kaart** en luister goed..."
961962

962963
#: experiment/rules/matching_pairs_2025.py:186
963964
msgid "Then try to **find a second card that matches it.**"
964-
msgstr ""
965+
msgstr "Probeer dan een **matchende tweede kaart te vinden**."
965966

966967
#: experiment/rules/matching_pairs_2025.py:190
967968
msgid "**Find the 8 matching pairs** to clear the board and score points:"
968-
msgstr ""
969+
msgstr "**Vind de 8 matchende paren** om het bord leeg te maken en punten te scoren:"
969970

970971
#: experiment/rules/matching_pairs_2025.py:195
971972
msgid ""
972973
"**+20 points:** Matched first card with one you’ve heard before — memory "
973974
"wins!"
974-
msgstr ""
975+
msgstr "**+20 punten:** Eerste kaart gematcht met een die je eerder hebt gehoord — geheugen "
976+
"wint!"
975977

976978
#: experiment/rules/matching_pairs_2025.py:200
977979
msgid ""
978980
"**-10 points:** Chose a wrong second card that’s heard before? Oops — "
979981
"penalty..."
980-
msgstr ""
982+
msgstr "**-10 punten:** Verkeerde tweede kaart gekozen die eerder is gehoord? Oeps — "
983+
"je verliest punten..."
981984

982985
#: experiment/rules/matching_pairs_2025.py:205
983986
msgid "Some cards sound **distorted** on purpose. Stay sharp!"
984-
msgstr ""
987+
msgstr "Sommige kaarten klinken **vervormd** opzettelijk. Blijf scherp!"
985988

986989
#: experiment/rules/matching_pairs_2025.py:288
987990
#, python-format
7.29 KB
Binary file not shown.

0 commit comments

Comments
 (0)