[wp-meta] [Making WordPress.org] #7945: Translation Form Throws Error Despite Valid Input in Singular Field
Making WordPress.org
noreply at wordpress.org
Fri Apr 4 11:20:42 UTC 2025
#7945: Translation Form Throws Error Despite Valid Input in Singular Field
--------------------------+--------------------
Reporter: jagdishkori | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: General | Keywords:
--------------------------+--------------------
While contributing translations to WordPress.org (GlotPress), I
encountered a validation error even after filling the required Singular
translation field correctly. The system is incorrectly flagging the second
textarea as empty.
Issue Details:
I entered a valid Gujarati translation for the singular form:
%d મીડિયા અટેચમેન્ટ ટ્રેશમાંથી પુનઃસ્થાપિત થય છે.
The Plural form was not applicable in this case and was intentionally left
blank.
On clicking "Suggest", I received the following error:
The textarea Translation 2 is invalid and should not be empty string!
Expected Behavior:
If only the Singular form is present in the original string, providing its
translation should be enough.
The form should not require the Plural field when the original doesn't
have distinct plural content.
Actual Behavior:
The system erroneously expects input in the second translation textarea,
which should be optional (or disabled) when not applicable.
Screenshot for Reference:
https://prnt.sc/CPikebKVpxyk
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7945>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list