Details
-
Bug
-
Resolution: Won't Fix
-
None
-
None
-
Empty show more show less
Description
problem:
(tested on Ubuntu in Firefox and Chrome: )
- example: "Apache 2.x auf Unix-Systemen" (eg in simple-en-de.zip)
- add another "auf": "Apache 2.x auf <INS>auf </INS>Unix-Systemen" -> the SpellChecker marks "auf auf" as error and a right click suggests to use "auf" instead.
- left-click on the suggested "auf" -> result is:
"Apache 2.x auf<DEL>auf</DEL> Unix-Systemen" - BUT result should be (the second "auf" should be removed!):
"Apache 2.x auf Unix-Systemen"
(see also: https://jira.translate5.net/browse/TRANSLATE-1605)
answer:
This mechanism is perfectly right according to the Search&Replace-algorithm.
- First, the existing content is removed (= the first "auf" is marked as deleted, the second "auf" is being removed):
"auf1 <INS>auf2</INS>" -> "<DEL>auf1</DEL>" - Then, the replacement ("auf3") is inserted at the beginning of the range:
"<DEL>auf1</DEL>" -> "<INS>auf3</INS><DEL>auf1</DEL>"
The result "only looks wrong" in this case because the content of the replacement is the same.