Hello, >The fr/Makefile and po4a/po4a.cfg assume french is ISO-8859-15. >Now that we have switched to UTF-8, if we want to use non-ascii >characters in the po-file, the Makefile must be adapted. > >Here is a patch doing so, inspired from other languages, lightly >tested. (I could commit, as I have write access in ddp svn, but I >prefer ask in this bugreport before doing anything.)
For completeness, the 2 files in po4a/add_fr should be converted to UTF-8 too. Here is an updated patch doing so. Baptiste
Index: fr/Makefile
===================================================================
--- fr/Makefile (révision 11322)
+++ fr/Makefile (copie de travail)
@@ -37,7 +37,7 @@
html: $(manual).$(currentlang).html/index.$(currentlangcn).html
$(manual).$(currentlang).html/index.$(currentlangcn).html: $(sources)
rm -rf $(manual).html $(manual).$(currentlang).html
- debiandoc2html -c -l $(currentlang) $<
+ debiandoc2html -C -l $(currentlang).UTF-8 $<
mv $(manual).html $(manual).$(currentlang).html
text: $(manual).$(currentlang).txt
@@ -51,7 +51,7 @@
$(manual).$(currentlang).ps $(manual).$(currentlang).dvi $(manual).$(currentlang).pdf: \
$(manual).$(currentlang).%: $(sources)
- debiandoc2latex$* -l $(currentlang) $<
+ debiandoc2latex$* -l $(currentlang).UTF-8 $<
mv $(manual).$* $(manual).$(currentlang).$*
ps dvi pdf info: %: $(manual).$(currentlang).%
Index: po4a/add_fr/adaptation.add
===================================================================
--- po4a/add_fr/adaptation.add (révision 11322)
+++ po4a/add_fr/adaptation.add (copie de travail)
@@ -1,5 +1,5 @@
-PO4A-HEADER: mode=after; position=Toute garantie est déclinée; endboundary=</p>
+PO4A-HEADER: mode=after; position=Toute garantie est déclinée; endboundary=</p>
<p>
- L'adaptation française de ce document a été réalisée par Éric Madesclair
- et Frédéric Bothamy.
+ L'adaptation française de ce document a été réalisée par Ãric Madesclair
+ et Frédéric Bothamy.
</p>
Index: po4a/add_fr/commentaires.add
===================================================================
--- po4a/add_fr/commentaires.add (révision 11322)
+++ po4a/add_fr/commentaires.add (copie de travail)
@@ -1,6 +1,6 @@
PO4A-HEADER:mode=after;position=Les commentaires et les ajouts;endboundary=</p>
<p>
- Les commentaires sur la traduction de ce document en français devraient
- être envoyés à la liste <url name="debian-l10n-french"
+ Les commentaires sur la traduction de ce document en français devraient
+ être envoyés à la liste <url name="debian-l10n-french"
id="http://lists.debian.org/debian-l10n-french">.
</p>
Index: po4a/po4a.cfg
===================================================================
--- po4a/po4a.cfg (révision 11322)
+++ po4a/po4a.cfg (copie de travail)
@@ -2,5 +2,4 @@
[type: sgml] debian-faq.sgml $lang:$lang/debian-faq.sgml \
add_$lang:?@po4a/add_$lang/$lang.add \
- opt_fr:"-L ISO-8859-15" \
opt:"-o ignore-inclusion=faqdynamic.ent"
pgp51Q8ZSH_ty.pgp
Description: OpenPGP digital signature

