blob: b934480c8eddb10219be37ee0481c9c796ef3724 (
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
90
91
92
93
94
95
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-i18n] po files and content-type header
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20po%20files%20and%20content-type%20header&In-Reply-To=%3Cop.wfxvfrzvl2zvei%40localhost%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003036.html">
<LINK REL="Next" HREF="003038.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-i18n] po files and content-type header</H1>
<B>Yuri Chornoivan</B>
<A HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20po%20files%20and%20content-type%20header&In-Reply-To=%3Cop.wfxvfrzvl2zvei%40localhost%3E"
TITLE="[Mageia-i18n] po files and content-type header">yurchor at ukr.net
</A><BR>
<I>Fri Jun 15 12:00:53 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="003036.html">[Mageia-i18n] po files and content-type header
</A></li>
<LI>Next message: <A HREF="003038.html">[Mageia-i18n] po files and content-type header
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3037">[ date ]</a>
<a href="thread.html#3037">[ thread ]</a>
<a href="subject.html#3037">[ subject ]</a>
<a href="author.html#3037">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>написане Fri, 15 Jun 2012 12:43:56 +0300, Romain d'Alverny
<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-i18n">rdalverny at gmail.com</A>>:
><i> Hi,
</I>><i>
</I>><i> just in case, please check that your .po files always have a correctly
</I>><i> set Content-Type header; for instance:
</I>><i>
</I>><i> "Content-Type: text/plain; charset=UTF-8\n"
</I>><i>
</I>><i> instead of
</I>><i>
</I>><i> "Content-Type: text/plain; charset=CHARSET\n"
</I>><i>
</I>><i> This caused an issue with <A HREF="http://identity-trunk.mageia.org/">http://identity-trunk.mageia.org/</A> preventing
</I>><i> related locales to load and bugging the test website. Or are there
</I>><i> existing filters on pre-commit that could be used to check this sort
</I>><i> of detail?
</I>><i>
</I>><i> Thanks
</I>
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:
<A HREF="http://websvn.kde.org/trunk/kde-common/svn/hooks/">http://websvn.kde.org/trunk/kde-common/svn/hooks/</A>
<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>
Hope this helps.
Best regards,
Yuri
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003036.html">[Mageia-i18n] po files and content-type header
</A></li>
<LI>Next message: <A HREF="003038.html">[Mageia-i18n] po files and content-type header
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3037">[ date ]</a>
<a href="thread.html#3037">[ thread ]</a>
<a href="subject.html#3037">[ subject ]</a>
<a href="author.html#3037">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-i18n">More information about the Mageia-i18n
mailing list</a><br>
</body></html>
|