Re: Orca strange text,was Re: Announcement of highlighted text
- From: Willie Walker <William Walker Sun COM>
- To: Tomas Cerha <cerha brailcom org>
- Cc: orca-list gnome org
- Subject: Re: Orca strange text,was Re: Announcement of highlighted text
- Date: Wed, 06 Dec 2006 12:35:06 -0500
Aha! Thanks Tomas! When I was scouring the PO files, I ad an inkling
that a _("") would have caused this, but I wasn't sure. It looks like
this is the culprit:
./src/orca/gnomespeechfactory.py:632: oldText =
oldText.replace("\n", _(""), 1)
It seems to have snuck in as part of the newline change for bug 338838.
I just checked a fix for this into GNOME CVS HEAD.
Thanks everyone!
Will
On Wed, 2006-12-06 at 17:49 +0100, Tomas Cerha wrote:
Ricky Enger napsal(a):
Hi Hermann and all,
I too have experienced this oddity with Orca spouting strange text
and until now, I assumed I was the only one having the problem.
I can't paste an exact transcript of what's being said, since the
text seems not to actually appear on the screen. It just gets sent
to the synth. The text is something like:
Project version, Orca. Ms GID, report bugs to: P.O.T,
Creation date: blah.
PO revision date: blah
Last translator: David Lodge, dave cert net, Language Team.
Mime Version: 1.0.
Hello, this exactly happens with gettext when you try to get a
translation of an empty string. Thus somewhere in Orca, there must be
an empty string passed to the _() function. What you describe is the
translation file header... I didn't follow this thread, but it seems
this information might clarify this problem. Best regards, Tomas.
_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]