On Mon, Mar 20, 2006 at 01:17:52PM +0000, Colin Watson wrote:
> Package: intltool-debian
> Version: 0.34.1+20050828
> Severity: wishlist
> Tags: patch
> 
> In some unusual circumstances, it's useful to have a debconf template
> with an empty short description, but still have an extended description
> with translatable text. I'm doing this in the Ubuntu live installer,
> which (among other tricks) stores translations of GTK labels in the
> debconf database; in many cases it doesn't really make sense to have a
> short description here.
> 
> Unfortunately, intltool-merge sees the empty short description, observes
> correctly that the empty string is untranslated, and then ignores the
> translations of the extended description.

You can achieve the same result with intltool-debian 0.34.1+20060220
with
  #flag:translate:!1
  _Description:
   Extended description, paragraph 1.
   .
   Extended description, paragraph 2.

> The attached patch makes intltool-debian check for translations of the
> extended description before deciding that an empty short description
> means that the whole description is untranslated. I'm afraid the patch
> is against an older version than Debian unstable because that's what we
> have in Ubuntu dapper at present, so that's what I've tested; if you
> want me to port it to the current version, let me know.

That's not a problem, I will port it if needed.  At the moment I am
still undecided.  Your patch looks fine, but I do not know if it is
needed given that there is a general solution for this issue.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to