Feeds applet should use ngettext
Bug #592315 reported by
Gabor Karsay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Awn Extras |
Fix Released
|
Undecided
|
Matt |
Bug Description
If preparing plural strings for translation, it's best to use ngettext because other solutions are mostly not translatable.
In Feeds applet, feeds.py, line 492 (trunk, revision 1318) is not translatable in almost any language.
The 2 messages beginning at line 1157 are not translatable into languages with more than 2 plural forms. I think here is also a mistake with the counting. I think it should start with 1 and not with 0. If there's nothing to be imported, there should be a message to the user about that.
Unfortunately I'm not that good at Python, I would probably mess things up. But there is an example of how to use ngettext in the Mail applet, in line 37 of mail.py.
Related branches
Changed in awn-extras: | |
status: | New → Confirmed |
assignee: | nobody → Matt (mjz) |
tags: | added: applet feeds |
Changed in awn-extras: | |
milestone: | none → 0.4.2 |
Changed in awn-extras: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This has been fixed in r1330. Thank you for your bug report.