User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
Build Identifier:
Whenever a particular string is selected for translation at the editor, the corresponding translation memory suggestions that are displayed on the TM window always shows the entry that is to be inserted to make it a 100% match for the target string as "strike out" and red in colour and the entry to be removed in blue colour. To elaborate, if a TM suggestion is giving 96% match and requires only a single word to be removed and a new word to be inserted in it's place to make it a 100% match, the word to be inserted is shown as "strike out" and red in colour and the word to be removed is shown in blue colour whereas it should have been the other way around, i.e, "strike out" and red for the entry to be removed and blue for the one to be inserted to make it a 100% match. I will attach a screenshot after this bug is filed so that the issue can be understood better.
Zanata version: 2.0.3
Reproducible: Always
Steps to Reproduce:
1. Login into Zanata
2. Open a project and go to the editor.
3. Select a string a look for TM suggestions which are less than 100% match.
4. Look for the entries that need to be inserted or removed to make a 100% match.
Actual Results:
The entry to be inserted is shown as "strike out" and red in colour and the entry to be removed is shown in blue colour.
Expected Results:
The entry to be inserted should be shown in blue and the entry to be removed as "strike out" and red in colour.
This issue has been there in earlier versions too. I have provided the version as 2.0 owing to the current version that I am using which is 2.0.3. If the version number needs to be changed for this bug, kindly do the same.
just had to get my head around what tm match and search text actually were. sorry for all the questions
I see that you marked the issue as QA, but unfortunately we don't yet have any automation to add the "On QA" label to the pull request in github. You'll still need to do that, at least until we can convince to watch for issues marked QA
Legend does not update depending on highlight/diff
Legend colours are wrong (description is opposite of reality)
Legend descriptions need grammar correction (s/contain/contains/)
Inline legend and popup legend need to be checked for consistency
Info button should probably be with the inline legend, rather than next to source
Highlight mode does not display properly. Technical note: class CodeMirror-searching is missing from stylesheet
Define an example search and several example matches, manually define exactly how we expect them to highlight, then use that to check that the implementation is correct.
Cheers , I had these issues explained to me in detail this morning. Shall fix them soon
Legend does not update depending on highlight/diff
Legend colours are wrong (description is opposite of reality)
Legend descriptions need grammar correction (s/contain/contains/)
Inline legend and popup legend need to be checked for consistency
Info button should probably be with the inline legend, rather than next to source
Highlight mode does not display properly. Technical note: class CodeMirror-searching is missing from stylesheet