Re: About gnome-games (HEAD) on the status pages



ons 2002-01-09 klockan 02.09 skrev Duarte Loreto:
> The thing is that I always check the file before commiting with
>    msgfmt -c -v -o /dev/null
> 
> or -vv instead of -v when updating (so I can see line numbers).
> 
> And gnome-games was 100% after my last checkin for some time. That is why I 
> thought something happened.
> 
> Is there _any_ possibility that this duplicate was due to something else 
> from me doing translations when I should already be sleeping?

AFAIK, there is one thing that could have triggered this special
situation, since you said that you've checked the translation with
msgfmt.

The msgfmt of older gettexts doesn't check validness of obsoleted
messages (it completely ignores them AFAIK), so this would be "valid"
inside the same file, even though it is two occurences of the same
message:

  msgid "Foo message"
  msgstr "Apameddelande"

  #~ msgid "Foo message"
  #~ msgstr "Apameddelande"

Newer versions of gettext however also checks the obsoleted messages
(this makes sense since obsoleted messages can become un-obsoleted again
in the next update, and if you have conflicts then things will break).
So the above example would *not* be considered valid with a newer
gettext.

I believe that the most likely scenario is that you have an older
gettext on your system, and the status machine uses a newer one. In that
case, I would recommend upgrading the version of gettext on your system,
so you catch these errors.


Christian





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]