#199 - Plural-Forms header in pot files

20 views
Skip to first unread message

Felix Schwarz

unread,
Sep 12, 2012, 6:13:50 PM9/12/12
to python...@googlegroups.com
Hi,

I tried to fix #199 completely but that turned out to be more difficult than
anticipated.

Finally I came up with this patch:
http://babel.edgewall.org/attachment/ticket/199/199-no-plurals-for-pot-files.patch

I don't really like the call to 'self.plural_forms' but I didn't find a more
elegant way.

Comments+ideas welcome,
fs

Pedro Romano

unread,
Sep 12, 2012, 8:50:51 PM9/12/12
to python...@googlegroups.com
What about the following alternative approach of implementing 'locale' as a property and letting its setter manage the other two attributes? At least it avoids the 'hack' :)

https://gist.github.com/3711064

--Pedro.
Reply all
Reply to author
Forward
0 new messages