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

debconf-gettextize



Bonjour,

Encore une question à propos de debconf et le passage à gettext. Le paquet en 
question est zope-zpatterns.

Voici le fichier templates initial :
==============
Template: shared/zope/restart
Type: select
Default: end
Choices: configuring, end, manually
Description: When do you like to restart Zope?
 Zope has an extensible, object oriented structure that allows you to easily
 add extra components (products) or features. Each product or feature can
 usually be found in packages whose name starts with `zope-' prefix.
 Unfortunately, Zope needs to restart to use any new add-on. Here you can
 choose a common way to restart Zope:
  * configuring: each product will restart Zope while configuring.
  * end: Zope will restart only once at the end of the whole
         installation/upgrading process.
  * manually: You will have to restart Zope.
==============


Voici le templates "gettextisé" :
============================
Template: shared/zope/restart
Type: select
_Choices: configuring, end, manually
Default: end
_Description: When do you like to restart Zope?
 Zope has an extensible, object oriented structure that allows you to
 easily add extra components (products) or features. Each product or
 feature can usually be found in packages whose name starts with `zope-'
 prefix. Unfortunately, Zope needs to restart to use any new add-on. Here
 you can choose a common way to restart Zope:
  * configuring: each product will restart Zope while configuring.
  * end: Zope will restart only once at the end of the whole
         installation/upgrading process.
  * manually: You will have to restart Zope.
==============================

Si j'ai bien compris, debconf va demander à l'utilisateur de choisir les cas 
où il devra redémarrer Zope.
Pour l'instant, les choix sont marqués comme "traduisibles" (_Choices).  Mais 
le choix par défaut (end) ne l'est pas... C'est bien ça ?

Dans ce cas, comment faire ? Car si on traduit "end" par "à la fin", du coup, 
le choix par défaut ne sera pas valide !

Pourriez-vous m'aider à une meilleure compréhension de po-debconf, dans ce cas 
précis ?

Merci !
-- 
Michel Grentzinger
	OpenPGP key ID : B2BAFAFA
		Available on http://www.keyserver.net



Reply to: