• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SNOW-262
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Low Low
Assignee: Unassigned
Reporter: Thickbrick Sleaford
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
6. Second Life Snowglobe - SNOW
SNOW-93

Automatic translation: Typo in html entity replacment ("'" --> "\\")

Created: 01/Oct/09 06:20 PM   Updated: 05/Oct/09 05:58 PM
Return to search
Component/s: Chat/IM
Affects Version/s: Snowglobe 1.2
Fix Version/s: Snowglobe 1.2

File Attachments: 1. Text File SNOW-262.patch (0.6 kB)



 Description  « Hide
Rob Linden wrote in a comment in SNOW-93:

One thing I've noticed as I've been shuffling things around. In lltranslate.cpp:

string_replace_all( translation, "'","\\");

That doesn't look right. ' is "apostrophe", but it looks like it's replacing it with a backslash. Why is that?

That's line 93 of newview/lltranslate.h. Probably a typo.
I'm marking this as low priority, since Google translations always send apostrophes as a numerical html entity

'



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Thickbrick Sleaford made changes - 01/Oct/09 06:24 PM
Field Original Value New Value
Summary Typo in html entity replacment ("'" --> "\\") Automatic translation: Typo in html entity replacment ("'" --> "\\")
Description Rob Linden wrote in a comment in SNOW-93:
{quote}
One thing I've noticed as I've been shuffling things around. In lltranslate.cpp:
{code} string_replace_all( translation, "'","\\"); {code}
That doesn't look right. ' is "apostrophe", but it looks like it's replacing it with a backslash. Why is that?
{quote}

That's line 93 of newview/lltranslate.cpp. Probably a typo.
I'm marking this as low priority, since Google translations always send apostrophes as a numerical html entity {code}'{code}
Rob Linden wrote in a comment in SNOW-93:
{quote}
One thing I've noticed as I've been shuffling things around. In lltranslate.cpp:
{code} string_replace_all( translation, "'","\\"); {code}
That doesn't look right. ' is "apostrophe", but it looks like it's replacing it with a backslash. Why is that?
{quote}

That's line 93 of newview/lltranslate.h. Probably a typo.
I'm marking this as low priority, since Google translations always send apostrophes as a numerical html entity {code}'{code}
Rob Linden made changes - 02/Oct/09 04:51 PM
Attachment SNOW-262.patch [ 29822 ]
Rob Linden made changes - 02/Oct/09 05:01 PM
Fix Version/s Snowglobe 1.2 [ 10491 ]
Rob Linden made changes - 05/Oct/09 05:58 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]