blob: d5187edf06586967fd1f0080a2286096ee3238d2 (
plain)
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [435] Fix typo
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B435%5D%20Fix%20typo&In-Reply-To=%3CAANLkTimH78Zc0BtrCw-Vo6XpK9DuC1%3DLrdFCxh4WMqe%3D%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="002617.html">
<LINK REL="Next" HREF="002620.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [435] Fix typo</H1>
<B>Thierry Vignaud</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B435%5D%20Fix%20typo&In-Reply-To=%3CAANLkTimH78Zc0BtrCw-Vo6XpK9DuC1%3DLrdFCxh4WMqe%3D%40mail.gmail.com%3E"
TITLE="[Mageia-sysadm] [435] Fix typo">thierry.vignaud at gmail.com
</A><BR>
<I>Mon Feb 7 17:30:50 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="002617.html">[Mageia-sysadm] [435] Fix typo
</A></li>
<LI>Next message: <A HREF="002620.html">[Mageia-sysadm] [435] Fix typo
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2619">[ date ]</a>
<a href="thread.html#2619">[ thread ]</a>
<a href="subject.html#2619">[ subject ]</a>
<a href="author.html#2619">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 7 February 2011 17:14, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> wrote:
>><i> > Fix typo
</I>>><i>
</I>>><i> sorry but you've asked for comments so you'll got them :-)
</I>>><i>
</I>>><i> we've a tool named perl_checker (the one that also regenerate po/*.pot
</I>>><i> in drakx module)
</I>><i>
</I>><i> Well, what has "regenerating pot file" has anything to do with
</I>><i> perl_checker ? This doesn't seems very intuitive.
</I>
The point here is "perl_checker as commit validator", not
"perl_checker as pot generator"
But to answer you, we used perl_checker in order to generate the catalogs:
- in the old days, gettext support for perl was poor
(and I'm not sure it's currently able to extract strings from .xs files yet)
- we added support for plural strings that xgettext didn't handle
- as bonus, this enabled us to have another way to catch errors
- perl_checker found errors in translatable strings that xgettext
didn't found out
- ...
Basically, perl_checker:
- enforce some style on the code
- found out many many subtle (or not so subtle) errors
- find dead code, ...
- also is able to extract translatable strings into a .pot catalog
Also systematically run it before committing did increased our quality.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002617.html">[Mageia-sysadm] [435] Fix typo
</A></li>
<LI>Next message: <A HREF="002620.html">[Mageia-sysadm] [435] Fix typo
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2619">[ date ]</a>
<a href="thread.html#2619">[ thread ]</a>
<a href="subject.html#2619">[ subject ]</a>
<a href="author.html#2619">[ 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>
|