Re: Patch: PENDING_LIFETIME_I18N i18n for PENDING_LIFETIME format

[email protected] (Jason R. Mastaler) Fri, 23 Feb 2007 13:23:56 -0700
Newsgroups gmane.mail.spam.tmda.devel
Message-ID <[email protected]>
"Vitor EspĂ­ndola" <[email protected]> writes:

> I'm propose here a patch for internationalize the formated string of
> PENDING_LIFETIME configuration.
>
> I've been created a new configuration called PENDING_LIFETIME_I18N
> that must be a dictionary like bellow, were values must contains
> internationalized representations of "years", "days"...

Thanks for the patch. I've checked it in, but decided to name this
variable 'TIMEOUT_UNITS', because it's used in more places than just
pending_lifetime in the templates.

See http://wiki.tmda.net/ConfigurationVariables#TIMEOUT_UNITS