1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #384 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by andy_st

  • status changed from new to closed
  • resolution set to fixed

Fixed in head.

Note: See TracTickets for help on using tickets.