RPM Community Forums

Mailing List Message of <rpm-devel>

Untranslatable code constructs

From: Göran Uddeborg <goeran@uddeborg.se>
Date: Fri 18 Apr 2008 - 22:41:52 CEST
Message-ID: <18441.1936.824519.7309@freddi.uddeborg.se>
While translating the rpm 5.1 I found this piece of code in
compile_single_pattern() in rpmio/rpmgrep.c:

	fprintf(stderr, _("%s: Too many %spatterns (max %d)\n"), __progname,
		(filename == NULL)? "command-line " : "", MAX_PATTERN_COUNT);

There is no way here to translate "command-line ".  Note that it is
not enough to just mark "command-line " too for translation.  In the
general case won't work to translate sentences built from parts like
that.  (It would work for Swedish in this case, but Swedish and
English are relatively close, in a global perspective.)  It needs to
be separated into two complete messages.
Received on Fri Apr 18 23:02:17 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.