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 705246 - Translation issues: Missing plural handling
Translation issues: Missing plural handling
Status: RESOLVED FIXED
Product: pybliographer
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Pybliographer maintainer(s)
Pybliographer maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-08-01 07:54 UTC by Germán Poo-Caamaño
Modified: 2017-10-07 02:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (2.30 KB, patch)
2014-05-18 16:00 UTC, Marek Černocký
committed Details | Review

Description Germán Poo-Caamaño 2013-08-01 07:54:58 UTC
See https://live.gnome.org/TranslationProject/DevGuidelines/Plurals for more info.

#: ../Pyblio/GnomeUI/Document.py:447 ../Pyblio/GnomeUI/Document.py:451
msgid "[no entry]"
#: ../Pyblio/GnomeUI/Document.py:448
msgid "[1 entry]"
#: ../Pyblio/GnomeUI/Document.py:449
msgid "[%d entries]"
#: ../Pyblio/GnomeUI/Document.py:452
msgid "[%d/1 entry]"
#: ../Pyblio/GnomeUI/Document.py:453
msgid "[%d/%d entries]"

#: ../Pyblio/GnomeUI/Document.py:956
msgid "Really edit %d entries ?"
#: ../Pyblio/GnomeUI/Document.py:1002
msgid "Remove all the %d entries ?"
#: ../scripts/pybcheck.py:60
msgid "file `%s' is ok [%d entries]"

Plus strings such as "Remove all the %d entries ?" are incorrect spelling. Only French has a whitespace in front of the fullstop/question mark/exclamation mark.

https://sourceforge.net/p/pybliographer/bugs/91/
Comment 1 Marek Černocký 2014-05-18 16:00:06 UTC
Created attachment 276729 [details] [review]
Proposed patch
Comment 2 Germán Poo-Caamaño 2017-10-07 02:26:23 UTC
Review of attachment 276729 [details] [review]:

I pushed in wip/gtk3 it with some changes (e.g. importing ngettext)