[Mageia-i18n] po files and content-type header

Yuri Chornoivan yurchor at ukr.net
Fri Jun 15 12:00:53 CEST 2012


написане Fri, 15 Jun 2012 12:43:56 +0300, Romain d'Alverny  
<rdalverny at gmail.com>:

> Hi,
>
> just in case, please check that your .po files always have a correctly
> set Content-Type header; for instance:
>
> "Content-Type: text/plain; charset=UTF-8\n"
>
> instead of
>
> "Content-Type: text/plain; charset=CHARSET\n"
>
> This caused an issue with http://identity-trunk.mageia.org/ preventing
> related locales to load and bugging the test website. Or are there
> existing filters on pre-commit that could be used to check this sort
> of detail?
>
> Thanks

Hi,

This can be implemented as Subversion pre-commit hooks (as this kind of  
errors are detected by msgfmt -vc), just like it is done in KDE:

http://websvn.kde.org/trunk/kde-common/svn/hooks/

http://websvn.kde.org/trunk/kde-common/svn/hooks/test-pofiles.pl?revision=1099588&view=markup

Hope this helps.

Best regards,
Yuri


More information about the Mageia-i18n mailing list