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 656969 - Update PoFile methods to support words
Update PoFile methods to support words
Status: RESOLVED DUPLICATE of bug 661869
Product: damned-lies
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-08-20 18:29 UTC by Gil Forcada
Modified: 2011-10-21 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Update PoFile methods to support words (2.28 KB, patch)
2011-08-20 18:30 UTC, Gil Forcada
none Details | Review

Description Gil Forcada 2011-08-20 18:29:48 UTC
As part of bug #125593 the only methods that were touched where the ones related to getting and setting properties.

The following patch also adds word support on the other methods of PoFile related to displaying statistics.

As Claude suggested on IRC instead of creating new methods I added a keyword argument to all methods (defaulting to actual usage) to allow doing their job with words instead of strings.
Comment 1 Gil Forcada 2011-08-20 18:30:22 UTC
Created attachment 194304 [details] [review]
Update PoFile methods to support words
Comment 2 Claude Paroz 2011-08-20 18:43:07 UTC
Fine, but I suggest to wait a real need for this variants before committing it.
Comment 3 Gil Forcada 2011-10-21 14:43:48 UTC
This was superseded by bug #661869 so there's no need to keep it open.

*** This bug has been marked as a duplicate of bug 661869 ***