On 15:03 Sat 05 Aug, Thomas Huriaux wrote: > Florentin Duneau <[EMAIL PROTECTED]> (05/08/2006): > > po4aman-display-po fails if posix manpages are installed. For example : > > > > > > fff @ ~/debian/pkg-manpages-fr-extra/trunk/coreutils/po4a/po > > % po4aman-display-po -m ls -p fr.po > > Can't find the master man page ls > > Looking for manpage ls > > Error: Too many possible manpages: /usr/share/man/man1/ls.1.gz > > /usr/share/man/man1/ls.1posix.gz, you must specify the manpage or the > > section > > > > I join a patch which correct this (with a dirty regexp...). > > Not tested, but what is the result if you are translating a posix > manpage? >
With the patch, you can use: - for a non posix man page po4aman-display-po -m <man page name or man page absolute path> -p fr.po - for a posix man page, only po4aman-display-po -m <posix man page absolute path> -p fr.po I think, a better solution is to provide a posix switch for the posix man pages : po4aman-display-po [--posix] -m <man page name or man page absolute path> -p fr.po I can write it next week... Florentin Duneau -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]