Commit 9b527ac8 authored by Curtis Adam's avatar Curtis Adam

Transcript bonus info: Update the deadline translation to take the amount of hours into account

parent 29efd897
......@@ -710,7 +710,8 @@
},
"lectureDates": "Termine für das Bonus-Mitschreiben",
"clock": "Uhr",
"hours": "Stunden",
"hours": "Stunde",
"hours_plural": "Stunden",
"button": {
"save": "Speichern",
"cancel": "Zurück zur Kartei",
......
......@@ -712,7 +712,8 @@
},
"lectureDates": "Termine der Veranstaltungen",
"clock": "Uhr",
"hours": "Stunden",
"hours": "Stunde",
"hours_plural": "Stunden",
"button": {
"save": "Speichern",
"cancel": "Zurück zur Kartei",
......
<template name="cardsetInfoBoxItemTranscriptEditDeadline">
<tr>
<td>{{_ "transcriptForm.bonus.form.deadline.editing"}}:</td>
<td>{{getEditDeadline this}} {{_ "transcriptForm.bonus.form.hours"}}</td>
<td>{{getEditDeadline this}} {{_ "transcriptForm.bonus.form.hours" count=(getEditDeadline this)}}</td>
</tr>
</template>
<template name="cardsetInfoBoxItemTranscriptSubmissionDeadline">
<tr>
<td>{{_ "transcriptForm.bonus.form.deadline.submission"}}:</td>
<td>{{getSubmissionDeadline this}} {{_ "transcriptForm.bonus.form.hours"}}</td>
<td>{{getSubmissionDeadline this}} {{_ "transcriptForm.bonus.form.hours" count=(getSubmissionDeadline this)}}</td>
</tr>
</template>
......@@ -46,11 +46,11 @@
<div class="col-xs12 col-sm-6">
<label>{{_ "transcriptForm.bonus.form.deadline.submission"}}:</label>
<input type="number" id="deadlineHoursSubmission" min="1" max="24" step="1" value="2" required>
<span class="unit">{{_ "transcriptForm.bonus.form.hours"}}</span>
<span class="unit">{{_ "transcriptForm.bonus.form.hours_plural"}}</span>
<br>
<label>{{_ "transcriptForm.bonus.form.deadline.editing"}}:</label>
<label>{{_ "transcriptForm.bonus.form.deadline.editing"}}:</label>s
<input type="number" id="deadlineHoursEditing" min="24" max="168" step="12" value="36" required>
<span class="unit">{{_ "transcriptForm.bonus.form.hours"}}</span>
<span class="unit">{{_ "transcriptForm.bonus.form.hours_plural"}}</span>
<br>
<label>{{_ "transcriptForm.bonus.form.lectureTimeEnd"}}:</label>
<input type="time" id="lectureTimeEnd" min="00:00" max="24:00" step="60" value="08:00" required>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment