0 votes
512 views

A team I am working with needed to make consistent changes in a project in order to correct certain incorrect Unicode characters. The team had done a lot of work on the Parallel Passages tool. Since the change affected nearly every verse, all of the parallel passages marked as done are now turned red. Is there a way to restore the Parallel passage status to that which it was before the letter changes?

Paratext by (1.8k points)
reshown | 512 views

4 Answers

0 votes
Best answer

CrazyRocky, I’m afraid that is not currently possible. We do have a case created already if you want to enquire periodically about its status:
Maintain back translation status etc. for certain bulk actions (PTX-15982)

I don’t think this case has a high priority right now, but in case you want to give input, below is the currently-proposed solution.

For certain kinds of bulk-editing actions, checkboxes in the following “exempt” locations should no longer lose their “Checked” status.

  • Back Translation project(s)
  • Daughter translation project(s)
  • Rows in the Parallel Passages checking view

If any of the following actions is performed on a verse which has already been Checked (in the Back Translation etc.), it should remain Checked:

  • Mark/Unmark performed from the Biblical Terms window.
  • Replace All launched from any spellcheck method (the “X” button or “Apply correction” link in Wordlist, etc.) Note that it does not matter whether the user clicks “Yes” or “Yes to All”.

Out of scope:

  • Ordinary edits
  • Ordinary use of Find/Replace or RegEx Pal

Note that some have suggested we expand the scope and do one of the following:

  • Add smarts to detect when an ordinary Find/Replace action may be a simple spelling fix. OR…
  • Add an non-remembered advanced option to Find/Replace to ‘Preserve “checked” status’ of affected verses.
by (264 points)

In our case we used a simple find/replace in an Arabic script language. I used the same find/replace on the TermRendereings.xml file and an export of the Wordlist to update those tools. For Parallel Passages there is the ParallelPassageStatus.xml. file. I am thinking that if I had a copy of that file from before the change, i could have run the same find/replace on it and then replaced the file in the PT directory. Do you think that would have worked?

You can get a copy of that file before the change via the tool TortoiseHg (which is mentioned sometimes in this forum). Using it you can access the history not only for the files of the biblical books, but also for files like ParallelPassageStatus.xml.
TortoiseHg is a rather complex tool, so here is only a short description of what you would have to do:

  1. In order to be extra save, copy the Paratext project folder to somewhere else
  2. Using TortoiseHG, open the copied folder as “project repository”
  3. Find the right revision in the list of revisions
  4. Do a right click on the file ParallelPassageStatus.xml and choose Save at revision...

After you changed this saved file in the intended way, you can copy the file to the original Paratext project folder (overwriting the existing file) and do a normal Send/Receive.

Since a find/replace should not affect the ParallelPassageStatus.xml file, you could simplify this greatly by just marking a point in project history (for safety) and directly changing the file on disk. No need to go through TortoiseHg to get a certain revision.

0 votes

I was under the impression that any edit (including a Find/Replace) done in Paratext would affect the Parallel Passages status boxes, but I could be wrong.

Even if it does affect them, you might try using RegEx Pal or an external editor to edit some verses, after checking them off in the Parallel Passages tool, to see if that causes the ticks to become question marks. Should be fairly easy to do if you have a test project to play with.

by (264 points)
reshown
+1 vote

I’m not (yet) seeing how putting the ParallelPassageStatus.xml file back to an older version would help - especially as it looks like that file stores the content of the verse text (presumably in order to check if it has been changed since the status box was checked). Maybe I’m missing something here… but as far as I can tell, regardless of how you change the text of a verse (from a minor spelling change to a major re-write; using Find-and-Replace or RegExPal, or whatever else) if the stored text is different to the current text, then the status box will get unchecked.

by (3.2k points)

That is correct. The status is calculated on the fly based on comparing the text of the verse when it was marked as complete and what it is now. That is why there is no need to go to a previous version and why a find/replace does not affect the file. Thus, it should be fairly safe to run the same find/replace on the file as was run on the text (as long as it doesn’t change the XML element/attribute names).

Note that this same system is also used for the derived translation status icons.

0 votes

Thank you. I will inform the team.

by (1.8k points)

Related questions

0 votes
2 answers 233 views
Dear Support team I wanted to insert Parallel Passage References in Paratext8 from a model project or from an ... create a new topic. thanks for understanding. Blessings binoy
binoy 327 asked Feb 16, 2019
0 votes
1 answer 332 views
(John Macaulay writes) Can I copy parallel passage references (starting with \r) from one model text (or resource ... to do with cross references, using Tools, Cross References?
anonymous asked Apr 10, 2015
0 votes
3 answers 385 views
A user in a PT8 project has lost all his notes after April 8. I looked at the Notes_(username).xml file for ... only restore text and did not restore notes. Thanks. anon291708 MXB
anon109032 110 asked Apr 27, 2018
0 votes
1 answer 171 views
스크린샷 2018-06-25 오후 2.27.49.png856 402 24.9 KB To reset my project, I deleted my project from the server, and ... of Publisher Edition' has gone. What do I need to do?
anon143470 116 asked Jun 25, 2018
0 votes
5 answers 444 views
My normal established way of working is to have some six+ text-windows in PT over two physical screens, stored as a text- ... it would safe a lot of time and make me very happy.
Tim 934 asked Apr 30, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Dear friends, since God so loved us, we also ought to love one another.
1 John 4:11
3,037 questions
5,994 answers
5,661 comments
2,022 users