[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] [PATCH] Add small infrastructure to translate the P
From: |
Thomas Petazzoni |
Subject: |
Re: [Maposmatic-dev] [PATCH] Add small infrastructure to translate the Paypal stuff |
Date: |
Sat, 31 Mar 2012 15:46:49 +0200 |
Le Sat, 31 Mar 2012 11:59:11 +0200,
Thomas Petazzoni <address@hidden> a écrit :
> We want the Paypal donation button to be translated, and the user to
> be redirected to a page in his/her language when making a donation.
>
> Unfortunately, Paypal does not seem to have translations for all the
> languages we support, so we default to English when the language is
> not available from Paypal.
>
> This new mechanism requires translators to add a new entry in the
> PAYPAL_LANGUAGES dictionary if Paypal provides a button and a site in
> their language.
>
> Signed-off-by: Thomas Petazzoni <address@hidden>
> ---
> www/maposmatic/context_processors.py | 12 ++++++++++++
> www/settings.py | 15 +++++++++++++++
> www/templates/maposmatic/base.html | 5 +++--
> www/templates/maposmatic/donate.html | 5 +++--
> 4 files changed, 33 insertions(+), 4 deletions(-)
Applied.
Thomas
--
Thomas Petazzoni http://thomas.enix.org
MapOSMatic http://www.maposmatic.org
Logiciels Libres à Toulouse http://www.toulibre.org
Embedded Linux http://www.free-electrons.com