maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH maposmatic] Sort available countries in alp


From: Joan Montané
Subject: Re: [Maposmatic-dev] [PATCH maposmatic] Sort available countries in alphabetical order
Date: Wed, 10 Feb 2010 10:36:18 +0100

Hi, maybe putting first countries with current user language aviable,
then the other countries sorted alphabetically would be better
aproach?

Example:

Catalan language choosed at web

first, catalan speaking countries, sorted alphabetically:
Andorra (CA)
Espanya (CA)
França (CA)

then, others alphabetically
Australia (EN)
....
España (ES)
....
France (FR)
...
Zimbabwe (EN)


Regards,

Joan Montané


2010/2/10 Maxime Petazzoni <address@hidden>:
> * Maxime Petazzoni <address@hidden> [2010-02-10 10:23:35]:
>
>> * David MENTRE <address@hidden> [2010-02-09 21:13:06]:
>>
>> >
>> > When a map is made in bounding box mode, the list of available countries
>> > is quite long and without any specific order. We now sort countries in
>> > alphabetical order.
>> > ---
>> >  www/settings.py |    8 +++++---
>> >  1 files changed, 5 insertions(+), 3 deletions(-)
>>
>> Applied and pushed (not deployed).
>
> Note: this is good, but not good enough. Österreich (DE) is still sorted
> last, most likely because of the capital Ö. We need a unicode compare
> here. Can you have a look, and send a patch that fixes it?
>
> - Maxime
> --
> Maxime Petazzoni <http://www.bulix.org>
>  ``One by one, the penguins took away my sanity.''
> Linux kernel and software developer at MontaVista Software
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAktye28ACgkQ7KsOe4Pmrg2gZgCgxJaLUDlFpgItoKprWSbv5Nwr
> 4coAoNoUEFQ8GXtAUn9DXFZ7jwo6WDQS
> =vHcz
> -----END PGP SIGNATURE-----
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]