[sugar] [PATCH] Improve formatting of relative dates

Tomeu Vizoso tomeu at tomeuvizoso.net
Sat Apr 19 06:54:19 EDT 2008


Hi,

+NOW = _('Seconds ago')

Translators may not be able to translate adequately from 'Seconds
ago'. Perhaps a translation comment may help here? Example from
misc.py:

# TRANS: Relative dates (eg. 1 month and 5 days).

+AGO = _(' ago')
...
+    return result + AGO

This will break in most languages other than english. Sayamindu, do
you have any idea about what can be done here?

Thanks,

Tomeu


More information about the Sugar mailing list