[Etoys] work around layout checking of msgfmt

Bert Freudenberg bert at freudenbergs.de
Wed Sep 26 05:34:24 EDT 2007


Thanks!

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:

https://dev.laptop.org/ticket/3816

- Bert -

On Sep 26, 2007, at 11:29 , korakurider wrote:

> Hi.
>
> 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
> `\n`.
>
> 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
> this.
>
> PO and line numbers with problem are attached below.
> (Takashi, could you please fix them in SVN?):
>
> --- From here
> EToys/fr.po:480
> Morphic/Demo/de.po:62
> Morphic/Flaps/ja.po:268
> Morphic/Kernel/de.po:401, 356, 1823, 1834, 1966
> Morphic/PDA/pt.po:15
> Morphic/Scripting/de.po:1036
> Morphic/Scripting/fr.po:836, 1085
> Morphic/Scripting/ja.po:175
> Morphic/Support/ja.po:65
> Morphic/Windows/ja.po:27
> Multilingual/de.po:126
> ST80/ja.po:15
> System/ja.po:39
> Tools/de.po:287
> --- To here
>
> /Korakurider






More information about the Etoys mailing list