Frans Pop wrote:
> > (unless the string comes in via passthrough).
> 
> And that is exactly where most "obsolete command" warnings currently come 
> from :-/

And most of _those_ in turn are probably due to debconf communicating the
default titles it sets ("Configuring <package>"), not due to a package
calling TITLE. IIRC at least.

Maybe passthrough could use SETITLE for that, rather than TITLE. It
would have to send along info about a pretend template that had a
description consiing of the title value. Not sure about namespace issues
for that, etc.

> In theory yes. But today I filed a few bugs against packages using db_title 
> in maintainer scripts to set hardcoded dialog titles that really should 
> have been translatable.
> 
> From that PoV deprecating TITLE makes sense as it forces developers to use 
> SETTITLE and therefore do the right thing regarding translations.

From my grepping, a lintian test for "db_title <hardcoded string here>"
would be useful.

> But if you feel there are valid use cases for TITLE I'm not against keeping 
> it, but in that case I think the deprecation warning in cdebconf should be 
> removed. I think D-I developers are sufficiently aware of translation 
> issues that they'll not use it.

I have no problem with removing that warning.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to