Bug#355018: gtranslator: destroys plural msgstr structure in po file

Emil Nowak emil5 at go2.pl
Thu Mar 2 19:24:08 UTC 2006


Package: gtranslator
Version: 1.1.6-3
Severity: normal

I had one big file with some plural translations, and they were alredy
translated before I opened it with gtranslator.
I made some spelling correctins (BTW: gtkspell is very useful here, it's the
only working part of this program). After saving this file all plural forms
have been merged into one string

For example I had:
msgid ""
"Some orignal "
"multi-lined text"
msgid_plural ""
"Second part of this text"
msgstr[0] ""
"First translation "
"of this text"
msgstr[1] ""
"Second translation "
"of this text"
msgstr[2] ""
"third translation "
"of this text"

and after opening and saveing this file with gtransaltor. I have one big mess.
It looks like this:
msgid ""
"Some orignal "
"multi-lined text"
"Second part of this text"
msgstr ""
"First translation "
"of this text"
"Second translation "
"of this text"
"third translation "
"of this text"

I knew that gtranslator can destroy files so I made a backup copy. Hughh... I
try to calm down, but now I will have to waste approx ~half hour to fix this
manualy using simple text editor :-/

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages gtranslator depends on:
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libaspell15              0.60.4-3        GNU Aspell spell-checker runtime l
ii  libatk1.0-0              1.10.3-1        The ATK accessibility toolkit
ii  libbonobo2-0             2.10.1-1        Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.10.1-2        The Bonobo UI library
ii  libc6                    2.3.5-11        GNU C Library: Shared libraries an
ii  libgconf2-4              2.12.1-9        GNOME configuration database syste
ii  libglib2.0-0             2.8.6-1         The GLib library of C routines
ii  libgnome2-0              2.12.0.1-5      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.12.0-2        A powerful object-oriented display
ii  libgnomeui-0             2.12.1-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.12.2-5        GNOME virtual file-system (runtime
ii  libgtk2.0-0              2.8.12-1        The GTK+ graphical user interface 
ii  libgtkspell0             2.0.10-3        a spell-checking addon for GTK's T
ii  libice6                  6.9.0.dfsg.1-1  Inter-Client Exchange library
ii  liborbit2                1:2.12.4-1      libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.10.4-1        Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   6.9.0.dfsg.1-1  X Window System Session Management
ii  libxml2                  2.6.23.dfsg.2-2 GNOME XML library
ii  xlibs                    6.9.0.dfsg.1-4  X Window System client libraries m
ii  zlib1g                   1:1.2.3-9       compression library - runtime

gtranslator recommends no packages.

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list