[Etoys] work around layout checking of msgfmt
bert at freudenbergs.de
Wed Sep 26 05:34:24 EDT 2007
Are you aware of our discussions regarding reducing the number of
translation files? While modularity is valuable, it makes live harder
for translators and maintainers. Not sure who is going to work on
this - you or Takashi? I filed a ticket anyway:
- Bert -
On Sep 26, 2007, at 11:29 , korakurider wrote:
> When compiling lastest POs in SVN with msgfmt tool, I
> found some POs generates two kinds of errors :
> - `msgid` and `msgstr` entries do not both end with `\n`.
> - `msgid` and `msgstr` entries do not both start with
> After reviewing source of the tool, I found that msgfmt
> tool does some layout checking and warns error when:
> - msgid starts(ends) with newline, but msgstr starts(ends)
> without newline
> - msgid starts(ends) without newline, but msgstr
> starts(ends) with newline.
> A quick fix for the exporter is attached.
> I think also some qualificaton procedure on build time
> might be needed if LaunchPad doesn't have validation for
> PO and line numbers with problem are attached below.
> (Takashi, could you please fix them in SVN?):
> --- From here
> Morphic/Kernel/de.po:401, 356, 1823, 1834, 1966
> Morphic/Scripting/fr.po:836, 1085
> --- To here
More information about the etoys-dev