GNOME Bugzilla – Bug 656938
Display word statistics for pot files
Last modified: 2018-05-22 12:10:28 UTC
Since we already fixed bug #125593 now it's time to show them on the interface. As a first small step I added (see patch and images) the total word count on the POT file statistics line that is showed in the module view [1] and the translation detail [2]. Lets see where we can also show the word counting. [1] http://l10n.gnome.org/module/accerciser [2] http://l10n.gnome.org/vertimus/accerciser/master/po/ca
Created attachment 194271 [details] Module detail showing word counting
Created attachment 194272 [details] Translation detail showing word counting
Created attachment 194273 [details] [review] Show word counting for POT files Patch that is seen on the images attached (show the word counting on POT files)
Review of attachment 194273 [details] [review]: "%(words)s words" needs separate plural handling, unfortunately. It might be easier to join the two parts with a comma, or something like that ("x messages, y words"), but the important thing is to realise that both messages and words need plural handling, regardless of the number of words.
I don't seem to find any way to specify two plurals in a single sentence. Any pointer to examples of two variables being plural in the same sentence will be appreciated.
Isn't this implemented now?
I didn't close it because of the plurals and no, this patch is still not pushed. We could break the sentence, even if it's a bad i18n thing to do...
It seems implemented by commit 9e41bf95 though. What's up with that?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/damned-lies/issues/23.