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

Yuri Chornoivan yurchor at ukr.net
Sat Jun 16 15:05:15 CEST 2012


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

> On Fri, Jun 15, 2012 at 12:00 PM, Yuri Chornoivan <yurchor at ukr.net>  
> wrote:
>> 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
>
> Thanks!
>
> Actually, looking deeper, we do have a check in pre-commit, but I'm
> not sure why some files still went through:
>
> *  
> http://svnweb.mageia.org/adm/puppet/modules/subversion/templates/syntax_check.sh?revision=HEAD
> *  
> http://svnweb.mageia.org/adm/puppet/modules/subversion/manifests/init.pp?view=markup#l95
>
> If anyone has an idea of the why, or a patch...

pre-commit hooks do not work at least for po (tested).

It is better to ask misc about why is it ($syntax_check = ''; in  
repository.pp? gettext is not installed?). It needs a specialist to  
decide...


More information about the Mageia-i18n mailing list