Re: Bug#281850: Please escape commas put by translators in __Choices translations
clone 281850 -1
reopen -1
reassign -1 lintian
severity -1 wishlist
retitle -1 Please warn about kommas in __Choices fields, they are unsupported by debconf
thanks
On 2004-11-19 Denis Barbier <barbier@linuxfr.org> wrote:
> On Thu, Nov 18, 2004 at 10:28:21PM +0100, Andreas Metzler wrote:
[...]
> > Hmm. Doublechecking it looks like po-debconf _does_ escape commas:
> You are right, where is my brain?
> I wrote in /usr/share/doc/intltool-debian/changelog.gz:
> * Handle escaped commas in __Choices fields. Those escapes are a
> cdebconf extension, so until it is accepted by debconf, this new
> feature won't be documented. Bugreport and patch sent by
> Matt Kraai, thanks. Closes: #241188
> I am closing this bugreport, even if I do not know what to think
> about the current situation.
Hello,
Ok. Kommas in __Choices do not work currently (although po-debconf
escapes them by putting '\,' instead of ',' into the generated merged
template file). So lintian should warn about this error. Afaict this
should work as a basic test:
if grep -q -E '^Choices.*\\,' debian/package/templates ; the
echo "E: escaped komma in Choices, probably generated by komma in
translation of a __Choices field"
fi
I wonder whether we will ever see support for \, in debconf, with it
being orphaned, whenever we do it will be a PITA as it'll break
backports to sarge.
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
Reply to: