Red Hat Bugzilla – Bug 1000886
Search and Replace on source says "Replaced x with y" when nothing was done
Last modified: 2014-07-23 23:45:28 EDT
Description of problem:
Performing a project-wide search and replace where source documents are the only matches shows "[13:19:20] Replaced "word" with "replaceword" in <number> text flows. Curiously, inspection of these source-target pairs shows the user has created an "untranslated version".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to any project translation editor
2. Click on the magnifying glass
3. Enter a word into the Search input that exists in the project
4. Click the select all checkbox
5. Enter some word into the Replace input
6. Press Replace
After a few seconds, the logs indicate the words were replaced.
It should indicate no words were replaced.
This may also cause the use to create a new revision on matches that were translated but did not contain the matching word in the translation, or when the replacement term is the same as the search term. These scenarios should be considered when addressing this bug.
Changed at some point, the message "No replacements to make" is displayed.