Re: [Sugar-devel] [PATCH sugar-toolkit] sugar.activity.i18n: add pgettext()

2011-02-15 Thread Simon Schampijer
On 02/15/2011 01:37 PM, Simon Schampijer wrote: On 02/15/2011 01:22 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of Tue Feb 15 19:00:34 +0100 2011: I think it makes sense to add a docstring that indicates what the method is doing and what the magic number is about, in the p

Re: [Sugar-devel] [PATCH sugar-toolkit] sugar.activity.i18n: add pgettext()

2011-02-15 Thread Simon Schampijer
On 02/15/2011 01:22 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of Tue Feb 15 19:00:34 +0100 2011: I think it makes sense to add a docstring that indicates what the method is doing and what the magic number is about, in the python3 patch I found: OK, will add it. If I u

Re: [Sugar-devel] [PATCH sugar-toolkit] sugar.activity.i18n: add pgettext()

2011-02-15 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of Tue Feb 15 19:00:34 +0100 2011: > I think it makes sense to add a docstring that indicates what the method > is doing and what the magic number is about, in the python3 patch I found: OK, will add it. > If I understand correctly in the support landed

Re: [Sugar-devel] [PATCH sugar-toolkit] sugar.activity.i18n: add pgettext()

2011-02-15 Thread Simon Schampijer
On 02/11/2011 02:22 PM, Sascha Silbe wrote: Python 2 will never have pgettext() [1], so we need to ship our own version. sugar.activity.i18n is the best place for that. [1] http://bugs.python.org/issue2504#msg122482 Hi Sascha, I think it makes sense to add a docstring that indicates what the

[Sugar-devel] [PATCH sugar-toolkit] sugar.activity.i18n: add pgettext()

2011-02-11 Thread Sascha Silbe
Python 2 will never have pgettext() [1], so we need to ship our own version. sugar.activity.i18n is the best place for that. [1] http://bugs.python.org/issue2504#msg122482 Signed-off-by: Sascha Silbe --- src/sugar/activity/i18n.py |8 1 files changed, 8 insertions(+), 0 deletions(-