We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be4522 commit 89f57a8Copy full SHA for 89f57a8
src/unfold/templates/unfold/helpers/messages/errornote.html
@@ -2,10 +2,6 @@
2
3
{% if errors %}
4
<p class="errornote bg-red-100 mb-8 text-red-700 px-3 py-3 rounded-default dark:bg-red-500/20 dark:border-red-500/20 dark:text-red-400">
5
- {% if errors.items|length == 1 %}
6
- {% translate "Please correct the error below." %}
7
- {% else %}
8
- {% translate "Please correct the errors below." %}
9
- {% endif %}
+ {% blocktranslate count counter=errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}
10
</p>
11
{% endif %}
0 commit comments