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

Re: di-utils-mount-partitions/mountpoint and translated Choices fields?



sön 2003-02-09 klockan 16.00 skrev Mario Lang:
> > Why will it break? I thought the semantics of translating Choices was
> > that the translated versions were presented to the user, but the
> > corresponding untranslated choice is returned by db_get?
> 
> Oh?  That would be great.  It seems I've overlooked that, do you know
> where this was documented?  I remember reading something which explicitly
> said Choices fields should not be translated, exactly for that reason.

debconf-devel(7):

"Besides the ’Description’ field, you should translate the ’Choices’
field of a  select  or multiselect  template.  Be  sure  to list the
translated choices in the same order as they appear in the main
’Choices’ field. You do not need to translate the ’Default’ field of a
select  of  multiselect  question,  and  the  value  of the question
will be automatically returned in English."

If this doesn't work in cdebconf (I don't remember how much of the work
the frontends have to do and how much work cdebconf does), that's a bug.
:-)


/M

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


Reply to: