Ticket #71 (closed defect: fixed)
Wrong codes in translation field when copying from original or using google translator
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | interface | Version: | |
| Keywords: | Cc: |
Description
Wrong codes in translation field when using "Copy from original" or "Translation from Google" links. Here is a picture:

As you can see, the new line character (↵) is copied like this:
<span class="invisibles" title="New line">↵</span>
If we add this translation, a warning is generated:
Warning: Too many tags in translation.
Same thing goes for greater than and less than signs:
>
>
<
<
and a few other symbols, like:
&
&
Attachments
Change History
comment:2
nbachiyski — 22 months ago
- Status changed from new to closed
- Resolution set to fixed
- Status changed from closed to reopened
- Resolution fixed deleted
comment:4
nbachiyski — 22 months ago
The change still wasn't deployed on translate.wordpress.(com|org). Could you confirm that it works now?
Not yet.
I'm using http://translate.wordpress.com/projects/wpcom
comment:6
nbachiyski — 22 months ago
Could you hard refresh if any Javascript is still loaded from cache. It works for me on both Firefox and Safari.
- Status changed from reopened to closed
- Resolution set to fixed
I had to clear the cache. Now works fine. Thanks!
- Status changed from closed to reopened
- Resolution fixed deleted
I'm sorry to bother again, but a small problem with newline character persists:
<span class="invisibles" title="New line">↵</span>
Also the tab characters are copied like this:
<span class="invisibles" title="Tab character">→</span>
comment:10
nbachiyski — 21 months ago
I can't reproduce those. What browser and version are you using?
comment:11
irdb — 21 months ago
I'm using Firefox 3.6.3 (tested on both Ubuntu and windows 7)
Also noticed that in Chrome, the code is copied correctly, but not in Firefox.
I don't have access to IE(8) right now, but I think it was the same as Firefox.
comment:12
nbachiyski — 20 months ago
- Priority changed from major to normal
- Component changed from general to interface
- Milestone set to 1.0
comment:13
nbachiyski — 20 months ago
- Status changed from reopened to closed
- Resolution set to fixed
[510] removes all these spans on copy and fixes the bug.


