1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] Fwd: [Mageia-i18n] po files and content-type header
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Fwd%3A%20%5BMageia-i18n%5D%20po%20files%20and%20content-type%20header&In-Reply-To=%3CCANa9xwupL7ScAftQ1%3DAVRx4yfMRj7gdkn%2B0-J3M-iR%3DBKY3Jwg%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004488.html">
<LINK REL="Next" HREF="004490.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] Fwd: [Mageia-i18n] po files and content-type header</H1>
<B>Romain d'Alverny</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Fwd%3A%20%5BMageia-i18n%5D%20po%20files%20and%20content-type%20header&In-Reply-To=%3CCANa9xwupL7ScAftQ1%3DAVRx4yfMRj7gdkn%2B0-J3M-iR%3DBKY3Jwg%40mail.gmail.com%3E"
TITLE="[Mageia-sysadm] Fwd: [Mageia-i18n] po files and content-type header">rdalverny at gmail.com
</A><BR>
<I>Sat Jun 16 16:44:53 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="004488.html">[Mageia-sysadm] comment allez-vous$
</A></li>
<LI>Next message: <A HREF="004490.html">[Mageia-sysadm] Fwd: [Mageia-i18n] po files and content-type header
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4489">[ date ]</a>
<a href="thread.html#4489">[ thread ]</a>
<a href="subject.html#4489">[ subject ]</a>
<a href="author.html#4489">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi everyone,
it seems that pre-commit checks do not occur on .po files; see
<A HREF="http://svnweb.mageia.org/soft?view=revision&revision=4965">http://svnweb.mageia.org/soft?view=revision&revision=4965</A> and
<A HREF="http://svnweb.mageia.org/soft?view=revision&revision=4964.">http://svnweb.mageia.org/soft?view=revision&revision=4964.</A> Any idea?
By the way, is there a doc somewhere on the wiki explaining the
pre-commit hooks that are put in place?
---------- Forwarded message ----------
From: Yuri Chornoivan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">yurchor at ukr.net</A>>
Date: Sat, Jun 16, 2012 at 3:05 PM
Subject: Re: [Mageia-i18n] po files and content-type header
To: List dedicated to internationalisation issues <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">mageia-i18n at mageia.org</A>>
написане Fri, 15 Jun 2012 18:36:57 +0300, Romain d'Alverny
<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">rdalverny at gmail.com</A>>:
><i> On Fri, Jun 15, 2012 at 12:00 PM, Yuri Chornoivan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">yurchor at ukr.net</A>> wrote:
</I>>><i>
</I>>><i> This can be implemented as Subversion pre-commit hooks (as this kind of
</I>>><i> errors are detected by msgfmt -vc), just like it is done in KDE:
</I>>><i>
</I>>><i> <A HREF="http://websvn.kde.org/trunk/kde-common/svn/hooks/">http://websvn.kde.org/trunk/kde-common/svn/hooks/</A>
</I>>><i>
</I>>><i> <A HREF="http://websvn.kde.org/trunk/kde-common/svn/hooks/test-pofiles.pl?revision=1099588&view=markup">http://websvn.kde.org/trunk/kde-common/svn/hooks/test-pofiles.pl?revision=1099588&view=markup</A>
</I>><i>
</I>><i>
</I>><i> Thanks!
</I>><i>
</I>><i> Actually, looking deeper, we do have a check in pre-commit, but I'm
</I>><i> not sure why some files still went through:
</I>><i>
</I>><i> * <A HREF="http://svnweb.mageia.org/adm/puppet/modules/subversion/templates/syntax_check.sh?revision=HEAD">http://svnweb.mageia.org/adm/puppet/modules/subversion/templates/syntax_check.sh?revision=HEAD</A>
</I>><i> * <A HREF="http://svnweb.mageia.org/adm/puppet/modules/subversion/manifests/init.pp?view=markup#l95">http://svnweb.mageia.org/adm/puppet/modules/subversion/manifests/init.pp?view=markup#l95</A>
</I>><i>
</I>><i> If anyone has an idea of the why, or a patch...
</I>
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...
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004488.html">[Mageia-sysadm] comment allez-vous$
</A></li>
<LI>Next message: <A HREF="004490.html">[Mageia-sysadm] Fwd: [Mageia-i18n] po files and content-type header
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4489">[ date ]</a>
<a href="thread.html#4489">[ thread ]</a>
<a href="subject.html#4489">[ subject ]</a>
<a href="author.html#4489">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>
|