Skip to content

Commit

Permalink
FIX: plurals for output
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel committed Feb 10, 2020
1 parent 37daf5d commit 776a34a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/main/resources/templates/PaceForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ <h5 class="card-title">Pace</h5>
for travelling <span th:text="${form.major}">30</span> <span
th:text="${form.distanceMajorUnit}">kilometer</span> and
<span th:text="${form.minor}">0</span> <span th:text="${form.distanceMinorUnit}">meter</span> in
<span th:text="${form.hour}">1</span> hour, <span th:text="${form.minute}">0</span> minute and
<span th:text="${form.second}">0</span> seconds.
<span th:text="${form.hour}">1</span> hour(s), <span th:text="${form.minute}">0</span> minute(s)
and
<span th:text="${form.second}">0</span> second(s).
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/SpeedForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ <h5 class="card-title">Speed</h5>
for travelling <span th:text="${form.major}">30</span> <span
th:text="${form.distanceMajorUnit}">kilometer</span> and <span
th:text="${form.minor}">0</span> <span th:text="${form.distanceMinorUnit}">meter</span> in
<span th:text="${form.hour}">1</span> hour, <span th:text="${form.minute}">0</span> minute
<span th:text="${form.second}">0</span> seconds.
<span th:text="${form.hour}">1</span> hour(s), <span th:text="${form.minute}">0</span> minute(s)
<span th:text="${form.second}">0</span> second(s).
</p>
</div>
</div>
Expand Down

0 comments on commit 776a34a

Please sign in to comment.