Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/activity/i18n.py
Commit message (Collapse)AuthorAgeFilesLines
* Move the translation initialisation to an earlier stage, SL #3654Simon Schampijer2012-06-051-7/+0
| | | | | | Remove the support for the langpackdir. Signed-off-by: Simon Schampijer <simon@laptop.org>
* sugar.activity.i18n: add pgettext()Sascha Silbe2011-02-151-0/+18
| | | | | | | | | | 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 <silbe@activitycentral.com> Acked-by: Simon Schampijer <simon@laptop.org>
* style cleanup: prefer ' for stringsSascha Silbe2010-11-231-1/+1
| | | | | | | | | Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* More cleanups for i18n.pySayamindu Dasgupta2010-02-101-22/+22
|
* Make the dictionary sorting a bit more sensibleSayamindu Dasgupta2010-02-091-3/+4
|
* Clean up docstringSayamindu Dasgupta2010-02-091-4/+6
|
* Consistent variable namesSayamindu Dasgupta2010-02-091-19/+19
|
* Should be and, and not orSayamindu Dasgupta2010-02-081-1/+1
|
* Style and PEP8 fixesSayamindu Dasgupta2010-02-081-14/+18
|
* Describe the args of the i18n methodsSayamindu Dasgupta2010-02-011-0/+3
|
* Code for language pack supportSayamindu Dasgupta2010-01-241-0/+134