Quoting Frank Küster ([EMAIL PROTECTED]):
> Package: debconf
> Version: 1.4.72
> Severity: wishlist
> 
> I couldn't find any hint that comments are allowed in templates files,
> neither in the man page nor in the sources at a quick glance.  But this
> would be very useful.
> 
> We've just sent out a translation request to the last noted translators,
> and one of them commented that the english wording of one of the new
> messages could be better.  The issue wasn't important enough to warrant
> a change at once, and bothering the translators again, but we'd like to
> do it as soon as we need to ask for translations again because of some
> other change.
> 
> In order to not forget this, it would be cool if we could not this in
> the templates file, without making translations fuzzy.  Just a simple
> one-line comment started with "^#" would do.


I suggest you have a look at the po-debconf man page. Everything you
need is currently supported and you'll discover even more..:-)

Example from D-I:

Template: mirror/http/countries
Type: select
_Choices: enter information manually
#  Translators, you should put there the ISO 3166 code of a country
#  which you know hosts at least one Debian HTTP mirror. Please check
#  that the country really has a Debian HTTP mirror before putting a random
#  value here
#
#  BE CAREFUL tu use the ISO-3166 TWO LETTER CODE and not anything
#  else
#  
#  You do not need to translate square brackets
_Default: US[ Default value for http]
_Description: Debian archive mirror country:
 The goal is to find a mirror of the Debian archive that is close to you on the 
network -- be
 aware that nearby countries, or even your own, may not be the best choice.

Another example from exim4:

Template: exim4/dc_eximconfig_configtype
Type: select
# Translators beware! the following six strings form a single
# Choices menu. - Every one of these strings has to fit in a standard
# 80 characters console, as the fancy screen setup takes up some space
# try to keep below ~71 characters.
# DO NOT USE commas (,) in Choices translations otherwise
# this will break the choices shown to users
__Choices: internet site; mail is sent and received directly using SMTP, mail 
sent by smarthost; received via SMTP or fetchmail, mail sent by smarthost; no 
local mail, local delivery only; not on a network, manually convert from 
handcrafted Exim v3 configuration, no configuration at this time
_Description: General type of mail configuration:
 Select the configuration type that best meets your needs.
 .
 Systems with dynamic IP addresses, including dialup systems, should generally
 be configured to send outgoing mail to another machine, called a "smart host"
 for delivery. You can choose to receive mail on such a system; or to have no
 local mail delivery, except mail for root and postmaster.




Attachment: signature.asc
Description: Digital signature

Reply via email to