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ź to "Abusing File Formats Considered Harmful"

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

Dodaj komentarz

Ważne akcje

Rusz tyłek - pomóż Paulinie

Pomóż Paulinie!
Więcej: paulapruska.blogspot.com
Pomóż przez siepomaga.pl

twitter

Kategorie

Archiwa

Statystyka

  • 397,298 wejść