[Po4a-devel]Non breaking spaces in man pages
by Nicolas François
Hello,
I would like to resume this discussion.
First, a small (and maybe biased) summary:
Jordi raised two issues regarding non-breaking spaces generated by po4a in
th PO:
* Using them in ASCII PO is not valid
* non breaking spaces are not distinguishable from spaces
(this is more an editor issue, IMHO)
To fix this, an option with-non_breaking_spaces (disabled by default) was
added.
Then Denis indicated that the POT should be unique (which is not if a
language choose to enable and another one to disable this option).
I propose to remove the with-non_breaking_spaces option (and
with-hyphen_to_minus).This should solve the above points.
The only drawback I can see is that translators will have to be aware that
"\\ " in a msgid is a non-breaking space (they will be able to use real
non-breaking spaces in their translations if they want).
Do you agree with the removal of these options?
--
Nekral
19 years, 7 months
[Po4a-devel]Releasing 0.21?
by Martin Quinson
Hello,
I just noticed that the changelog got somehow long already. Thanks for your
great work. What do you guys think about releasing within the next week?
I'll be in vacations for two weeks afterward, so ...
I see that some translations are still to be completed, it could be the
occasion to do so?
Thanks for your time, Mt.
19 years, 7 months
[Po4a-devel]Re: [Po4a-commits] po4a/lib/Locale/Po4a TransTractor.pm,1.62,1.63
by Denis Barbier
On Sat, Apr 02, 2005 at 09:57:15PM +0000, Nicolas FRAN??OIS wrote:
> Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
> In directory haydn:/tmp/cvs-serv27444/lib/Locale/Po4a
>
> Modified Files:
> TransTractor.pm
> Log Message:
> If a comment is "0", it is evaluated to false and thus ignored.
> Use defined rather than the string evaluation.
Martin has another solution for this problem, which is IMO better:
he checks if length($foo) > 0.
Denis
19 years, 7 months
[Po4a-devel]Buglet in man module
by Martin Quinson
Hello,
I just tryed to gettextize the find.1 man page. The issue is that the first
line reads:
.TH FIND 1L \" -*- nroff -*-
So, the \" is used as a "comment until the end of the line" marker. This is
not handled by po4a, which puts cruft into the pot file. Not a big deal, but
annoying.
I think that we should s/\\".*$/$/ somewhere in shiftline. But since I
never know how to match an even number of \, I'd prefer not to commit the
change myself...
Even better, such comments could be accumulated somewhere and placed as
comment from author in the pot file. That's a bit harder to do, but it would
be soo cool !
Thanks, Mt.
19 years, 7 months