Sergey Fedoseev <[EMAIL PROTECTED]> wrote:
Hi,
>> Could you review the russian translation of xsane ? There's probably
>> an encoding issue in the file.
>
> ru.po is entirely unicode.
OK.
> In xsane.c:
>
> static void xsane_help_no_devices(void)
> {
> char buf[512];
>
> snprintf(buf, sizeof(buf), "%s\n\n%s", ERR_NO_DEVICES,
> HELP_NO_DEVICES);
> xsane_back_gtk_decision(WINDOW_NO_DEVICES, (gchar**)
> no_device_xpm, buf, BUTTON_CLOSE, NULL, TRUE);
> }
>
> Increasing buf size up to 1024 solves problem, but IMO memory should be
> allocated dynamically here...
So the russian translation for the help text exceeds 511 bytes for
this string ? There isn't *that* much text on that help screen...
JB.
--
Julien BLACHE <[EMAIL PROTECTED]> | Debian, because code matters more
Debian & GNU/Linux Developer | <http://www.debian.org>
Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]