If I understand you correctly, you mean to input, eg. "[ca] Canada" to cdebconf, with "Canada" being displayed and "ca" being returned. That would be useful; I could use the same code in kbd-chooser to tidy its display. Alternatively we could implement a lookup in the code to translate "Canada" -> "ca", if necessary. My patch is orthogonal to that; I retrieve the countrycode from debconf in kbd-chooser to pick a default keymap; (presumably it is also used elsewhere). It is easier to work with if it is upper case. I think the two fixes should both happen, no? - Alastair On Fri, 2003-02-07 at 12:00, Petter Reinholdtsen wrote: > [Alastair McKinstry] > > in languagechooser, the country codes (ISO-3166) are used in lower > > case. They should be uppercase, as it makes them easier to > > differentiate from language codes, and process. > > Actually, they should be removed. I believe there is some > functionallity in cdebconf to be able to display one string, and > return another from db_get. I want to display the country name, and > return the country code, not change the country code to upper case. > > > Attached is a patch to do this. Any objections if I submit it to > > CVS? > > Please don't. -- Alastair McKinstry <mckinstry@computer.org> GPG Key fingerprint = 9E64 E714 8E08 81F9 F3DC 1020 FA8E 3790 9051 38F4 He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty he establishes a precedent that will reach to himself. - --Thomas Paine
Attachment:
signature.asc
Description: This is a digitally signed message part