GNOME Bugzilla – Bug 548380
Character count message needs reordering in translation
Last modified: 2009-03-10 00:05:49 UTC
#: ../src/orca/default.py:6289 #, python-format msgid "%d %s character" msgid_plural "%d %s characters" For some languages, including Thai, this needs reordering in translation, like: "อักขระ %s %d ตัว" (literally "character %s %d entries"). So, variable names in format string are required here.
Created attachment 116928 [details] [review] Add var names to format string
Created attachment 117019 [details] [review] Updated patch The original patch didn't work well on my machine, but it gave me the general idea of what you wanted to do (thanks!). Here's a patch that produces the desired behavior, I think. Please try it out --- if it's OK, I'll check it in and send out a string change announcement.
Ah, yes. My previous patch was untested. Sorry. I haven't tested your patch by directly getting the code portion run, but by copying it somewhere else that is easier to invoke (it's under '--version' command line option actually) and trying out the translation. And it works.
Thanks! Committed for Orca v2.23.91. String change message also sent to appropriate lists. Closing as FIXED.