flagging messages with msgfmt errors

Carlos Perelló Marín carlos.perello at canonical.com
Thu Dec 30 07:31:31 CST 2004


On Tue, 2004-12-28 at 17:34 +0100, Valient Gough wrote:
> 
> It would be nice if Rosetta flagged messages which fail msgfmt's
> checks.
> 
> I have imported a translation .po file from Rosetta and msgfmt gives
> lots of errors such as 
> fi.po:507: `msgid' and `msgstr' entries do not both end with '\n'
> 
> Right now I have to look up the message and search Rosetta by hand in
> order to be able to fix it online.  So, either it would be nice if
> Rosetta tagged these messages, or else merge in changes from an
> external translation file (so I could fix them up in the .po and
> upload it).

The .po upload should work:

1.- Download the po file from Rosetta.
2.- Do whatever you want with the pofile.
3.- Upload it into Rosetta.

Take care that if you upload a po file that does not have translations
that Rosetta has, they will be disabled in Rosetta because it will think
that you want to change them to empty strings. Thus, is important that
you download first the po file from Rosetta to get all available
translations.

> 
> Another problem:
> Rosetta does not display "\t" characters in the original string.
> 
> For example:  msgid "Option:\t-r\tRosetta"
> 
> It would appear in Rosetta's interface as "Option: -r Rosetta", and so
> the translator will not even be aware that there are display
> formatting characters in the string..

That bug has been fixed some days ago.

Cheers.


> 
> regards,
> Valient
> 
> 
> 
> -- 
> rosetta-users mailing list
> rosetta-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/rosetta-users
-- 
Carlos Perelló Marín
Ubuntu Warty (PowerPC)  => http://www.ubuntulinux.org
mailto:carlos.perello at canonical.com
http://carlos.pemas.net
Valencia - Spain




More information about the rosetta-users mailing list