I've added some options to the man module:
The .de, .ie and .if sections are copied as is from the original to
the translated document
A string is made for each .de, .ie and .if sections, and is proposed
for the translation
Then I needed other options to specify the behavior of these new commands:
* untranslated, noarg, translate_joined, translate_each
lists of coma-separated commands
list of coma-separated couples begin:end, where begin and end are
commands that delimit the begin and end of a no_wrap section (no test
is done to ensure that an end command match its begin command; any end
command stop the no_wrap mode; it is just more practical to specify
them in a couple)
This option indicate that the paragraph must not be split. The
string to translate will look like "foo E<.bar baz qux> quux", where
foo is the command that should be inlined.
With these new options, I was able to translate (well...po4a-gettextize)
some man pages from the 3X section (and also to beat my msgids per PO
I don't think this will work perfectly for every situation, but it should
allow to use po4a on most of the pages refused to po4a because of a .de,
.ie or .if section.
Before committing it, I would like to have your opinion.
On Fri, Aug 26, 2005 at 09:48:45PM +0000, Martin Quinson wrote:
> Update of /cvsroot/po4a/po4a
> In directory haydn:/tmp/cvs-serv20770
> Modified Files:
> Added Files:
> Log Message:
> Here comes msguntypot
> =head1 NAME
> msguntypot - update po files when a typo is fixed in pot file
> =head1 SYNOPSIS
> po4a -o E<lt>old_potE<gt> -n E<lt>new_potE<gt> pofiles...
Why do you add those flags, instead of
msguntypot E<lt>old_potE<gt> E<lt>new_potE<gt> pofiles...
To Whom It May Concern,
We have learned from the Internet that you are interested in tents. We have been in the tent manufacturing business for many years and are currently in the process of expanding and our customer base. We are quite excited about contacting you and the potential for establishing friendly business relations with you as well as sharing the mutual benefits.
We specialize in high quality, high performance tents offered to our cutomers at competitive prices. We are able to supply a wide variety of tents manufactured to the specifications and requirements of the customer. We would be interested in receiving more information from you so we could submit a suitable offer to you.
Feel free to view our website: http://www.tent.net.cn
If you do not wish to receive any more information, please let us know and we will take you off our mailing list.
We are awaiting your favorable response.
Xia Men Jiao Xia Trade Co., TLD
No.89, CangHong Rd, HaiCang Xia Men China(361006)