Skip to content

Commit bea0eee

Browse files
committed
Add ref anchor for Pluralization;
Add link for Pluralization on extra fields;
1 parent 7f1c469 commit bea0eee

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

reference/forms/types/options/extra_fields_message.rst.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ This is the validation error message that's used if the submitted form data
77
contains one or more fields that are not part of the form definition. The
88
placeholder ``{{ extra_fields }}`` can be used to display a comma separated
99
list of the submitted extra field names.
10+
11+
This message can be pluralized, see :ref:`formatting pluralized messages <component-translation-pluralization>` for details.

translation/message_format.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ you to use literal text in the select statements:
168168
readable for translators and, as you can see in the ``other`` case, other
169169
parts of the sentence might be influenced by the variables.
170170

171+
172+
.. _component-translation-pluralization:
173+
171174
Pluralization
172175
-------------
173176

0 commit comments

Comments
 (0)