Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: Freeciv.pot / Localization mini-faq
Home

[Freeciv-Dev] Re: Freeciv.pot / Localization mini-faq

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Sini Ruohomaa <sini.ruohomaa@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, dwp@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Freeciv.pot / Localization mini-faq
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2002 21:08:52 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Tue, Feb 12, 2002 at 08:44:14PM +0100, Sini Ruohomaa wrote:
> Hi,
> 
> I got around to making a freeciv.pot today (around 18 GMT) for starting to
> work on updating the stable version translation to be compatible to the
> CVS one.
> 
> When making freeciv.pot, I was told that it couldn't find rules to make
> two files,
>   freeciv/client/agents/cma_fec.c
>   freeciv/client/agents/cma_core.c
> The problem went away when I touched them, but I was wondering if they're
> removed yet still haunting some Makefile somewhere, or something else
> which actually takes some attention to fix.

These are new files. You need to use the "-d" option for "cvs update"
to create new dirs.

> I also ran into plurals for the first time (msgid, msgid_plural). A
> positive change as such, but I got a bit confused by it. Maybe the
> Localization Mini-FAQ on http://www.freeciv.org/l10n.phtml should include
> a question and answer for
> 
>  "What am I supposed to do when I have a msgid and a msgid_plural entry,
>   and only one actually modifiable line called msgstr[0]?".

Does <http://www.gnu.org/manual/glibc-2.2.3/html_node/libc_125.html>
help you?

> The answer might be 'update your gettext and <do something> again', or it

This shouldn't be if configure reports no error.

> might be something else which I then have no clue about. Assuming this is
> semi-normal behaviour and it's likely that many only half-clueful
> translators like me are going to run into it, it might be worth the bother
> to get it answered once and for all. ;)

Take a look at po/nl.po.

> The freeciv/po/check_po.pl at least seems to barf at the msgid_plural
> (calling it Unexpected). It seems to me that it might want to be updated
> if msgid_plurals are here to stay and it's just not a local problem of
> mine.

David: can you update it?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "This is Linux Country. On a quiet night, you can hear Windows reboot."


[Prev in Thread] Current Thread [Next in Thread]