tags 265161 patch
thanks

The attached patch to countrychooser 1.04 does the job. It has been
loosely tested so MORE TEST IS NEEDED.

It works as is:

Translators should "translate" ${SHORTLIST} to ${SHORTLIST_TRANSLATED}
in PO files. A comment is added for explaining this. Existing
translations are changed accordingly (but master files should be
changed if the patch is applied, for languages using them).

The replace_translations scripts directly edits the generated
templates file (after dh_installdebconf) and replaces the
SHORTLIST_TRANSLATED variable bu the translated list (taken from the
file built by mkshort)

The mkshort script now only generated, for each language, the list of
country codes and names (in English) which are supported. No more
translations, no more sorting accoring to the locale.

This patch breaks one minor feature : the country list in the short
list is no more sorted. I currently see no way for having all of the
following:

-translated country names
-sorted names
-correct default

As the list is most often quite short, I think that having it unsorted
does not harm that much.



Attachment: patch-defaultcountry.gz
Description: Binary data

Reply via email to