Skip to content

Commit

Permalink
text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonf committed Dec 17, 2024
1 parent e8d55b0 commit 0a4183d
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 14 deletions.
11 changes: 9 additions & 2 deletions lab/experiments/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,17 @@ msgstr "Name"

#: experiments/models/experiment_models.py:65
msgid "experiment:attribute:duration"
msgstr "Task duration"
msgstr "Task duration (minutes)"

msgid "experiment:attribute:session_duration"
msgstr "Session duration"
msgstr "Session duration (minutes)"

msgid "experiment:attribute:duration:help_text"
msgstr "How long does it take to complete the experiment."

msgid "experiment:attribute:session_duration:help_text"
msgstr "How long does the whole visit to the lab take, including welcoming the participant etc."
" This is used to determine the duration of appointments."

#: experiments/models/experiment_models.py:71
msgid "experiment:attribute:recruitment_target"
Expand Down
11 changes: 9 additions & 2 deletions lab/experiments/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,14 @@ msgstr "Naam"

#: experiments/models/experiment_models.py:65
msgid "experiment:attribute:duration"
msgstr "Tijdsduur experiment"
msgstr "Tijdsduur experiment (minuten)"

msgid "experiment:attribute:duration:help_text"
msgstr "Hoelang duurt het experiment zelf."

msgid "experiment:attribute:session_duration:help_text"
msgstr "Hoelang duurt het volledige bezoek, incl. onvangst e.d."
" Dit wordt gebruikt om de duur van de afspraak in de agenda te bepalen."

#: experiments/models/experiment_models.py:73
msgid "experiment:attribute:task_description"
Expand Down Expand Up @@ -847,7 +854,7 @@ msgid "experiments:call:home:participation_to"
msgstr "t/m {}"

msgid "experiment:attribute:session_duration"
msgstr "Tijdsduur sessie (incl. ontvangst e.d.)"
msgstr "Tijdsduur sessie (minuten)"

msgid "experiment:attribute:location"
msgstr "Locatie"
Expand Down
8 changes: 6 additions & 2 deletions lab/experiments/models/experiment_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ def _get_dt_2_hours_ago() -> datetime:
class Experiment(models.Model):
name = models.TextField(_("experiment:attribute:name"))

duration = models.IntegerField(_("experiment:attribute:duration"))
duration = models.IntegerField(
_("experiment:attribute:duration"), help_text=_("experiment:attribute:duration:help_text")
)

session_duration = models.IntegerField(_("experiment:attribute:session_duration"))
session_duration = models.IntegerField(
_("experiment:attribute:session_duration"), help_text=_("experiment:attribute:session_duration:help_text")
)

# how many participants are aimed for
recruitment_target = models.PositiveIntegerField(
Expand Down
4 changes: 2 additions & 2 deletions lab/main/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ msgid "user:attribute:phonenumber"
msgstr ""

#: main/templates/403.html:7
msgid "main:error:permission_deined:header"
msgid "main:error:permission_denied:header"
msgstr "Permission Denied"

#: main/templates/403.html:11
msgid "main:error:permission_deined:text"
msgid "main:error:permission_denied:text"
msgstr ""
"You do not have permissions to access the requested page. Please contact the "
"lab managers for assistance."
Expand Down
12 changes: 10 additions & 2 deletions lab/main/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ msgstr "Opslaan"

#: main/templates/users/create.html:8 main/templates/users/create.html:22
msgid "users:create:header"
msgstr "Maak nieuw testleider account aan"
msgstr "Maak nieuw testleider-account aan"

#: main/templates/users/create.html:25
msgid "users:create:info_text"
Expand Down Expand Up @@ -315,4 +315,12 @@ msgid "users:action:password"
msgstr "Wachtwoord instellen"

msgid "users:action:delete"
msgstr "Verwijderen"
msgstr "Verwijderen"

msgid "main:error:permission_denied:header"
msgstr "Geen Toegang"

#: main/templates/403.html:11
msgid "main:error:permission_denied:text"
msgstr ""
"Je hebt geen toegang tot de gevraagd pagina. Neem contact op met de labmanagers voor assistentie."
4 changes: 2 additions & 2 deletions lab/main/templates/403.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{% block content %}
<div class="uu-hero">
<h1>
{% translate 'main:error:permission_deined:header' %}
{% translate 'main:error:permission_denied:header' %}
</h1>
</div>
<div class="uu-inner-container">
{% translate 'main:error:permission_deined:text' %}
{% translate 'main:error:permission_denied:text' %}
</div>
{% endblock %}
4 changes: 2 additions & 2 deletions lab/participants/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,10 @@ msgstr "Participant deactiveren"

msgid "participants:delete:deactivate:text"
msgstr ""
"Deze participant heeft bij een of meer experimenten meegedaan en kan niet verwijderen worden: "
"Deze participant heeft bij een of meer experimenten meegedaan en kan niet verwijderd worden: "

msgid "participants:delete:deactivate:prompt"
msgstr "Je kunt alsnog de participant deactiveren"
msgstr "Je kunt de participant wel deactiveren"

msgid "participant:attribute:parent_first_name"
msgstr "Voornaam ouder"
Expand Down
1 change: 1 addition & 0 deletions parent/parent/templates/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ <h2>{% trans 'signup:header' %}</h2>
reistijd vaak te moe zijn (of geen zin meer hebben) om mee te doen met een onderzoek.
</p>
<p>
Meer informatie over het Babylab voor Taalonderzoek kunt u vinden <a href="https://babylab.wp.hum.uu.nl">op de website</a>.<br/>
Als u nog vragen of opmerkingen hebt, dan kunt u een bericht sturen naar <a href="mailto:[email protected]">[email protected]</a>.
</p>

Expand Down

0 comments on commit 0a4183d

Please sign in to comment.