Last modified: 2014-07-07 23:04:38 UTC
Created attachment 15697 [details] screenshot When creating an account and leaving the password fields empty, an unparsed PLURAL shows up. See screenshot.
Hmm, this is actually the API returning the un-parsed PLURAL. ApiCreateAccount calls dieStatus, which uses Message::plain() instead of Message::text().
(In reply to Kunal Mehta (Legoktm) from comment #1) > Hmm, this is actually the API returning the un-parsed PLURAL. > > ApiCreateAccount calls dieStatus, which uses Message::plain() instead of > Message::text(). So this is a bug with the API then? Closing the app bug.
Well, it's still a bug in the app, since users shouldn't ever see a raw {{PLURAL:}}. It might need to be fixed in the API, not really sure if the app can transform PLURAL messages on its own.
Nope, this is definitely a bug in the app, but a different reason. The API will always return a message in English, meaning the user will not see a localized message. The app should store its own copy of the localized message to show to the user depending on the API response code.
(updated summary)