0
559 次浏览

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 (1.8k 分) 发布
已重新显示 | 559 次浏览

4 个回答

0
最佳答案

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.
较早的帖子 - 以原始语言显示
(264 分) 发布

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

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.

较早的帖子 - 以原始语言显示
(264 分) 发布
已重新显示
+1

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.

较早的帖子 - 以原始语言显示
(3.2k 分) 发布

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

Thank you. I will inform the team.

较早的帖子 - 以原始语言显示
(1.8k 分) 发布

相关问题

0
3 个回答 435 次浏览
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 发布 提问于 四月 27, 2018
0
2 个回答 258 次浏览
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 发布 提问于 二月 16, 2019
0
1 个回答 363 次浏览
(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?
匿名用户 发布 提问于 四月 10, 2015
0
1 个回答 188 次浏览
스크린샷 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 发布 提问于 六月 25, 2018
0
5 个回答 520 次浏览
我通常的工作方式是在两个物理屏幕上打开六个或更多文本窗口,并将它们保存为一种文本组合 始终处于 非堆叠 模式 现在,我经常需要打开一个额外的窗口进行快速查找,但不想重新调整整个设置(这花费的时间太长了) 因此,我将它们作为 浮动 窗 ... 恢复 它 这听起来可能是一个微不足道的细节,但如果我能找到一种方法来实现这一点,那将节省大量时间,并让我非常高兴
Tim 934 发布 提问于 四月 30, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,045 个问题
6,005 个回答
5,671 条评论
2,026 位用户