Re: [Gopchop-devel] translation update
Brought to you by:
keescook
From: Kees C. <mp...@ou...> - 2003-04-25 15:12:56
|
On Fri, Apr 25, 2003 at 04:06:13PM +0200, Louis-Michel Gelinas wrote: > I figured out how gettext and friends work!!! So I updated a few files. > > The secret to get GOPchop.pot to update itself is "make > GOPchop.pot-update" in po directory! Excellent. > - Changed typo in Main.cpp where it said MS/s instead of MB/s... Oops! > - updated GOPchop.pot ( wich updated fr.po and en.po) > - added french translation of new strings and changed %lld to %%%s for > OFF_T_FORMAT. Very cool. I've updated the en.po for the missing translations. > the en.po might need to be worked on, "Drop orphaned frames" is > different from other entries... but make install gives me a working > GOPchop (including menu item...) Good. > Congrats on all the commits last night ;) Thanks! :) I was up waaay too late. I've merged your code. One thing I've discovered, when I make merges, it looks like any marked "fuzzy" ends up being wrong. :P After I fix a "fuzzy" entry, I remove the ", fuzzy" tag, since it's not fuzzy any more. But, besides that, I think you need to fix a few places where the printf args are in a different order. For example: #: src/Main.cpp:474 #, fuzzy, c-format msgid "\tWriting @ %llu for %d bytes\n" msgstr "\tEcriture de %d octets @ %llu\n" The order the C formats have flipped. According to the gettext docs, this is how you solve it: msgstr "\tEcriture de %2$d octets @ %1$llu\n" Check out: http://www.gnu.org/manual/gettext/html_mono/gettext.html#SEC18 And *I* need to fix a few things too... I found these sections while looking for the above stuff: Fix plural forms: http://www.gnu.org/manual/gettext/html_mono/gettext.html#SEC150 Fix GUI contexts: http://www.gnu.org/manual/gettext/html_mono/gettext.html#SEC151 I'll add them to the TODO list. -- Kees Cook @outflux.net |