After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656938 - Display word statistics for pot files
Display word statistics for pot files
Product: damned-lies
Classification: Infrastructure
Component: general
Other Linux
: Normal enhancement
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Reported: 2011-08-19 23:32 UTC by Gil Forcada
Modified: 2018-05-22 12:10 UTC
See Also:
GNOME target: ---
GNOME version: ---

Module detail showing word counting (204.10 KB, image/png)
2011-08-19 23:34 UTC, Gil Forcada
Translation detail showing word counting (185.60 KB, image/png)
2011-08-19 23:34 UTC, Gil Forcada
Show word counting for POT files (1.26 KB, patch)
2011-08-19 23:38 UTC, Gil Forcada
none Details | Review

Description Gil Forcada 2011-08-19 23:32:31 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.

Comment 1 Gil Forcada 2011-08-19 23:34:21 UTC
Created attachment 194271 [details]
Module detail showing word counting
Comment 2 Gil Forcada 2011-08-19 23:34:47 UTC
Created attachment 194272 [details]
Translation detail showing word counting
Comment 3 Gil Forcada 2011-08-19 23:38:29 UTC
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)
Comment 4 F Wolff 2011-08-20 09:07:40 UTC
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.
Comment 5 Gil Forcada 2011-11-05 21:43:54 UTC
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.
Comment 6 André Klapper 2012-03-22 12:48:49 UTC
Isn't this implemented now?
Comment 7 Gil Forcada 2012-03-22 23:13:04 UTC
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...
Comment 8 Alexandre Franke 2015-06-01 13:59:06 UTC
It seems implemented by commit 9e41bf95 though. What's up with that?
Comment 9 GNOME Infrastructure Team 2018-05-22 12:10:28 UTC
-- 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: