Re: Another raw idea for lintian check: variable substitution in debconf templates

2008-02-10 Thread Christian Perrier
Quoting Russ Allbery ([EMAIL PROTECTED]): > Sure, that sounds like a good idea to me. Should we trigger on anything > in a lintian template that looks like ${DISK}? Would $DISK also be valid, > or are the curly braces required? Frans answered and his answer is obviously correct. > > > I'm sor

Re: Another raw idea for lintian check: variable substitution in debconf templates

2008-02-09 Thread Frans Pop
Russ Allbery wrote: > Sure, that sounds like a good idea to me. Should we trigger on anything > in a lintian template that looks like ${DISK}? Would $DISK also be > valid, or are the curly braces required? The braces are required. > I assume that something like the following pseudocode would wo

Re: Another raw idea for lintian check: variable substitution in debconf templates

2008-02-09 Thread Tobias Toedter
On Sat, 09 Feb 2008 09:27:51 -0800 Russ Allbery <[EMAIL PROTECTED]> wrote: > I assume that something like the following pseudocode would work: > > foreach pofile in debian/po/*.po > foreach msgid, msgstr in pofile > vars_needed = find_variables(msgid) > vars_fo

Re: Another raw idea for lintian check: variable substitution in debconf templates

2008-02-09 Thread Russ Allbery
Christian Perrier <[EMAIL PROTECTED]> writes: > Yet another idea popping up in my mind. I'm in a lintian mood today..:) Yay! :) > Some debconf templates use variable substitution (along with debconf's > SUBST command) to incorporate context-variable text in debconf > templates. > > Description:

Another raw idea for lintian check: variable substitution in debconf templates

2008-01-22 Thread Christian Perrier
Yet another idea popping up in my mind. I'm in a lintian mood today..:) Some debconf templates use variable substitution (along with debconf's SUBST command) to incorporate context-variable text in debconf templates. Description: Do you want to erase disk ${DISK}? Blah blah blah Translators MU