Salut, Le Thursday 12 August 2004 à 17:17 -0700, Martin Quinson a écrit : > On Wed, Aug 11, 2004 at 04:38:56PM +0200, Christophe Combelles wrote: > > Une question à ceux qui connaissent bien msgmerge : > > Dans la page de manuel, premier paragraphe, on trouve ces phrases : > > > > "comments will be preserved, but extracted comments and file positions > > will be discarded." > > et > > "any translations or comments in the file will be discarded, however dot > > comments and file positions will be preserved." > > > > > > Apparemment, les "dot comments" sont les commentaires de type : > > #. blah blah > > Est-ce que les "extracted comments" sont ceux de type : > > #- blah blah ? > > Jamais vu de '#-'. J'espere que ca n'existe pas car sinon, c'est un bug dans > po4a. Tu peux en avoir lorsque tu créés un compendium (msgcat) et que tu as un conflit. Ex: info gettext me donne par exemple. msgcat -o compendium.po file1.po file2.po By default, `msgcat' will accumulate divergent translations for the same string. Those occurences will be marked as `fuzzy' and highly visible decorated; calling `msgcat' on `file1.po': #: src/hello.c:200 #, c-format msgid "Report bugs to <%s>.\n" msgstr "Comunicar `bugs' a <%s>.\n" and `file2.po': #: src/bye.c:100 #, c-format msgid "Report bugs to <%s>.\n" msgstr "Comunicar \"bugs\" a <%s>.\n" will result in: #: src/hello.c:200 src/bye.c:100 #, fuzzy, c-format msgid "Report bugs to <%s>.\n" msgstr "" "#-#-#-#-# file1.po #-#-#-#-#\n" "Comunicar `bugs' a <%s>.\n" "#-#-#-#-# file2.po #-#-#-#-#\n" "Comunicar \"bugs\" a <%s>.\n" On précise ensuite dans la documentation que c'est au traducteur de virer ce qu'il faut. Par exemple, sur les pages de manuel de module-init-tools, j'ai eu entre autre chose, ceci dans me compendium: # #-#-#-#-# modprobe.sgml.po (PACKAGE VERSION) #-#-#-#-# # type: <option></option> # #-#-#-#-# rmmod.sgml.po (PACKAGE VERSION) #-#-#-#-# # type: <arg rep="norepeat" choice="opt"></arg> #: orig/modprobe.sgml:40 orig/modprobe.sgml:49 orig/rmmod.sgml:37 #, no-wrap msgid "<replaceable>modulename</replaceable>" msgstr "<replaceable>nom-du-module</replaceable>" a+ -- Pierre Machard <pmachard@debian.org> http://debian.org GPG: 1024D/23706F87 : B906 A53F 84E0 49B6 6CF7 82C2 B3A0 2D66 2370 6F87
Attachment:
signature.asc
Description: Digital signature