grouping countrychooser list by region

2004-01-20 Thread Joey Hess
I have committed some code to group the countries in the chountrychooser into regions. It adds a regionmap, which maps between country codes and regions, and a countrylist, which orders the list. There is some very gross trickery to make the countries under a region be indented prettily, while

Re: grouping countrychooser list by region

2004-01-20 Thread Christian Perrier
Quoting Joey Hess ([EMAIL PROTECTED]): I have committed some code to group the countries in the chountrychooser into regions. It adds a regionmap, which maps between country codes and regions, and a countrylist, which orders the list. You forgot to mention the very good cleaning you made to

Re: grouping countrychooser list by region

2004-01-20 Thread Christian Perrier
Quoting Joey Hess ([EMAIL PROTECTED]): 1. Finish adding all the country codes to the regionmap. Uncategorised countries will be under other for now. Let me handle this. I'm a bad programmer but quite good in world geography..:-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: grouping countrychooser list by region

2004-01-20 Thread Joey Hess
Christian Perrier wrote: I can do 1. (eventually), but don't know how to deal with 2. Neither do I:-( Denis is the Perfect Victim for this...:-) Yeah. The best I can come up with is adding a dummy template that has the list of region names in a __Choices field. I'm sure there is a

Re: grouping countrychooser list by region

2004-01-20 Thread Christian Perrier
Quoting Joey Hess ([EMAIL PROTECTED]): I have committed some code to group the countries in the chountrychooser into regions. It adds a regionmap, which maps between country codes and regions, and a countrylist, which orders the list. I will soon commit my updates to the regionmap list. Very

Re: grouping countrychooser list by region

2004-01-20 Thread Joey Hess
Christian Perrier wrote: I have some objections to the way you sorted countries. The most important is the The Middle East region. I highly prefer sorting countries in continents by using some natural borders, or highly historical ones. I did consider that. The problem to my way of thinking

Re: grouping countrychooser list by region

2004-01-20 Thread Christian Perrier
Quoting Joey Hess ([EMAIL PROTECTED]): I think it would help to look at how KDE handles some of these edge cases. After this we had an interesting discussion on IRC No real conclusion : though some regions are nearly obvious, we end up on some difficult cases we sorting out countries.

Re: grouping countrychooser list by region

2004-01-20 Thread barbier
On Tue, Jan 20, 2004 at 02:14:51AM -0500, Joey Hess wrote: [...] 2. Add the strings from the regionmap to the po files. Until this is done, they are not translated, and so po-debconf does not translate the choices lists at all. I can do 1. (eventually), but don't know how to deal with

Re: grouping countrychooser list by region

2004-01-20 Thread Joey Hess
Christian Perrier wrote: Finally, Steve Langasek brought up an intersting suggestion : instead of sorting countries by regions, why not first show the user with the countries his/her language is used, then show the whole list (either after, or as a separate choice). For instance, users