Anyone know what this means?

2 Messages Forum Options Options
Permalink
Leland (AudacityTeam)
Anyone know what this means?
Reply Threaded More
Print post
Permalink
msgfmt -v -o fr/audacity.mo fr.po
fr.po:41: `msgid' and `msgstr' entries do not both end with '\n'
msgfmt: found 1 fatal error

Leland


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Richard Ash (audacity-help)
Re: Anyone know what this means?
Reply Threaded More
Print post
Permalink
On Fri, 2008-07-04 at 02:01 -0500, Leland wrote:
> msgfmt -v -o fr/audacity.mo fr.po
> fr.po:41: `msgid' and `msgstr' entries do not both end with '\n'
> msgfmt: found 1 fatal error

msgfmt enforces certain rules on translated strings. These include
checks on the presence of certain escape sequences to ensure that the
translated text appears roughly the same on screen as the original does.

The error is basically because the original string ends with a new line
and the translation does not, or vice versa. It's a gettext error
because the effect of this is to remove a line break the original author
put in, or to add one they didn't.

It's a relatively recent addition to gettext, so I'm assuming that
Christian's tools don't yet produce this error.

Richard


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel