Re: Bug#698869: dpkg-shlibdeps useless dependency message is mistranslated in ru

2013-01-24 Пенетрантность Sven Joachim
On 2013-01-24 19:41 +0100, Christian PERRIER wrote:

 (please keep the -l10n-russian list CC'ed)

 Quoting Andrey Rahmatullin (w...@wrar.name):
 Package: dpkg
 Version: 1.16.9
 Severity: normal
 Tags: l10n
 
 msgid 
 package could avoid a useless dependency if %s was not linked against %s 
 (it 
 uses none of the library's symbols)
 msgstr[0] 
 зависимости от %s можно избежать, если %s не
 будет бесполезно скомпонована с 
 ней (не используется ни одного её символа)
 
 The first and the second %s are swapped in the translation so the meaning is
 corrupted.

 Hmmm, that's mostly because the original string assumes that both
 parameters will always appear in the same order in translations, which
 is apparently not the case.

 Do you think there could be a way to arrange the Russian translation
 so that parameters appear in the same order than English? Even if the
 sentence is a bit more clumsy, it will at least be correct.

It should be possible to swap the parameters in the translation if you
tell msgfmt about the changed order, like this (untested since I do not
speak Russian):

зависимости от %2$s можно избежать, если %1$s не
будет бесполезно скомпонована с 
ней (не используется ни одного её символа)

See (Info (gettext) c-format Flag) for details, however I'm not sure
if perl-format works the same way as c-format in that respect.

Cheers,
   Sven


--
To UNSUBSCRIBE, email to debian-l10n-russian-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ip6m1iwc@turtle.gmx.de



Re: Bug#698869: dpkg-shlibdeps useless dependency message is mistranslated in ru

2013-01-24 Пенетрантность Guillem Jover
On Thu, 2013-01-24 at 20:27:15 +0100, Sven Joachim wrote:
 See (Info (gettext) c-format Flag) for details, however I'm not sure
 if perl-format works the same way as c-format in that respect.

Yes, perl's sprintf does support index parameters, which is what
Dpkg's warning() is using underneath.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-l10n-russian-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130124194501.ga...@gaara.hadrons.org



Re: Bug#698869: dpkg-shlibdeps useless dependency message is mistranslated in ru

2013-01-24 Пенетрантность Christian PERRIER
Quoting Guillem Jover (guil...@debian.org):

 That's what the format parameter index are for, here it would be a
 matter of using ... %2$s ... %1$s ..., I can commit that. Or am I
 missunderstanding the issue here?


Oh, sounds like I learned something this time..:-)

I'm not sure that many translators know about format parameter
indexes, indeed.




signature.asc
Description: Digital signature