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

Re: debconf PO translations for the package emdebian-tools



Neil Williams <linux@codehelp.co.uk> (30/01/2007):
> Question: In my debian/emdebian-tools.config file, I use the title()
> function because I prefer to use the Gnome frontend.
> 
> Is it possible to translate the text within the title() function within
> the podebconf handling?
> 
> This is my current emdebian-tools.config file:
> 
> #!/usr/bin/perl -w
> 
> use Debconf::Client::ConfModule qw(:all);
> 
> version("2.0");
> my $capb=capb("backup");
> beginblock();
> title("Emdebian SVN coordination");
> input("medium", "emsource/workdir");
> input("medium", "emsource/svnusername");
> endblock();
> go();

Using
  settitle("emsource/title");
instead of title() and adding a new template
  Template: emsource/title
  Type: title
  _Description: Emdebian SVN coordination

should do what you want.

Cheers,


-- 
Thomas Huriaux

Attachment: signature.asc
Description: Digital signature


Reply to: