Removed the context from the translatable text messages, because that is not necessary anymore.

This commit is contained in:
2020-08-07 00:05:05 +08:00
parent f6c6ee7fe4
commit 75cc6b2d00
16 changed files with 78 additions and 116 deletions

View File

@ -72,7 +72,7 @@ First written: 2020/7/16
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#period-modal">
<i class="far fa-calendar-alt"></i>
<span class="d-none d-md-inline">{{ period.description }}</span>
<span class="d-md-none">{% trans "Period" context "Period|" as text %}{{ text|force_escape }}</span>
<span class="d-md-none">{{ _("Period")|force_escape }}</span>
</button>
</div>