Ticket #384 (closed defect: fixed)
l10n server rejects (all?) plural translations
| Reported by: | andy_st | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | 3.0 Beta 1 | Keywords: | l10n |
| Cc: |
Description
Log entry:
Translation submission rejected due to message key mismatch after HTML filtering. Original message: stdClass Object ( [one] => Spam (%count) [other] => Spam (%count) ) , filtered message: stdClass Object ( [one] => Spam (%count) [other] => Spam (%count) ) , key: 0a6dadf0f749252492d8d0847d343456, computed key: 0a6dadf0f749252492d8d0847d343456
Not sure why my plural translations got through when testing.
Here, a deep compare of 2 stdclass instances using the === operator fails.
This needs to be changed to do a deep-compare based on the strings.
Change History
Note: See
TracTickets for help on using
tickets.