marcoos.techblog

Abusing File Formats Considered Harmful

Posted by: marcoos on: 9.03.2007

This is how Remora’s PO file looks like when opened in POEdit:

Remora (addons.mozilla.org) PO file in POEdit

Red usually means that a string is broken and has an error – but in this case it does not, this is the file with the original strings. But since the “original” string is just a key name, POEdit thinks that all the “%s” etc. are errors, as they don’t appear in the “original”…

And the status bar in that screenshot states: “329 strings,  0 fuzzy, 60 broken,  0 untranslated”. In fact, none are broken and there are 329 untranslated.

There’s nothing wrong in using a key-value paradigm. But when you’re using it in a format that was not designed with this in mind, you just break things.

1 odpowiedź do "Abusing File Formats Considered Harmful"

[...] Parece que o Remora utiliza catálogos de mensagem gettext para armazenar suas configurações! [...]

Napisz odpowiedź

Kategorie


  • mariusz: ja już się wypowiedziałem na ten temat w poście u siebie i komentarzu pod nim:) więc można skasować komentarze pod tym tutaj postem :)
  • marcoos: Najwyraźniej zupełnie nie rozumiesz, co to właśnie jest "cykl rozwoju" i jak wygląda. :) O poprawie szybkości i wydajności świadczą obiekt
  • mariusz: To twoje zdanie. Mnie interesuje cykl rozwoju. Ponieważ na Linux-sie, na którym jestem nic się nie poprawiło, od wersji beta. Poprawa szybkości i

Statystyka

  • 363,332 wejść

Przepraszamy za usterki

WordPress.com dzisiaj coś zupełnie wariuje i nawet moje komentarze się nie pojawiają. Mam nadzieję, że problem ten wkrótce uda się naprawić, a Was proszę o cierpliwość. :)
<META name="verify-v1" content="cg7hWKTimQ+Jo1ZukS7xS35UhlVVucibKWRmIVcBq2c=" />

RSS mozilla.dev.l10n.pl

  • Ankieta dotycząca programu Mozilla Campus Reps
  • Re: Specjalista ds. jakości lokalizacji SUMO
  • Specjalista ds. jakości lokalizacji SUMO
  • Re: MozCamp w Polsce - poszukiwani chętni do organizacji
  • Re: Release notes w języku?
  • Release notes w języku?
  • Re: MozCamp w Polsce - poszukiwani chętni do organizacji
  • Re: "polski" czy "Polski"?
  • Re: "polski" czy "Polski"?
  • Re: "polski" czy "Polski"?

 

marzec 2007
P W Ś C P S N
« lut   kwi »
 1234
567891011
12131415161718
19202122232425
262728293031