[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: PCB Gtk port
On Sun, 27 Feb 2005 16:01:24 +0100
Iznogood <iznogood@xxxxxxxxxxxxxxxxxxxx> wrote:
> I've done it manually as you suggest with some interesting results:
>
> It works for additional opened windows as show on the screenshot but
> don't for up selection bar nor for some layers: solder, GND-solder,
> Vcc-solder, component... which aren't even in the .pot name list
I've added a lot of strings to be translated and was missing a call to make
the menu system do translations, so you should redownload the tarball.
http://members.dslextreme.com/users/billw/test/pcb-gtk.tar.gz
Make sure your latest fr_FR.po is in the po directory, then in the po
directory, merge with the current pcb.pot with:
$ msgmerge fr_FR.po pcb.pot > fr_FR.po.new
$ mv fr_FR.po.new fr_FR.po
And then you can proceed as before. There's a lot of new translations to
do and you might want to pick first the ones you see in the GUI. Many
of them are for library log error or warning messages.
> and I have this error:
>
>
> (pcb-bin:30381): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion
> `g_utf8_validate (text, len, NULL)' failed
We'll need to add some utf8 validate calls, but I'm not sure offhand everywhere
that this needs to be done. To give me an idea of where to start looking
can you run it under gdb and get a stack trace to send me? Just run
$ gdb ./pcb-bin
Then at the gdb prompt:
(gdb) run --g-fatal-warnings pcb-filename.pcb
Where it gets the Gtk-CRITICAL, gdb will abort the run and you can get a stack trace with:
(gdb) bt full
...
(gdb) quit
Getting all the i18n stuff right may take a few tries, but it's good you are
working on it so early. It will be nice to have this done.
Bill