I'm not sure this can be fixed.
Given the book Malachi with a source with the English Versification, and a target with the Septuagint Versification, most references will be converted correctly, e.g. MAL 4:1 -> MAL 3:19, and Serval will use these in the Pretranslations stored in Mongo. i.e.:
{
"textId": "MAL",
"sourceRefs": ["MAL 4:1"],
"targetRefs": ["MAL 3:19"],
"refs": ["MAL 3:19"],
"translation": "“For behold, the day is coming, burning like a furnace, when all the arrogant and every evildoer will be stubble; the day is coming when I will set them ablaze,” says the LORD of Hosts. “Not a root or branch will be left to them.”",
}
However, if there were headings at the start of chapter 4, VerseRef.ChangeVersification will not convert the source reference to a suitable target reference:
{
"textId": "MAL",
"sourceRefs": ["MAL 4:0/1:s1"],
"targetRefs": ["MAL 4:0/1:s1"],
"refs": ["MAL 4:0/1:s1"],
"translation": "The Day of the LORD",
}
Which means that the final USFM outputted by Serval using the UpdateUsfmParserHandler will lose the headings, i.e.:
\v 18 So you will again distinguish between the righteous and the wicked, between those who serve God and those who do not.”
\s1
\r
\m
\v 19 “For behold, the day is coming, burning like a furnace, when all the arrogant and every evildoer will be stubble; the day is coming when I will set them ablaze,” says the LORD of Hosts. “Not a root or branch will be left to them.”
I'm not sure what we can do? Check if the next verse is being relocated, and move any headings to the verse before that one???
I'm not sure this can be fixed.
Given the book Malachi with a source with the English Versification, and a target with the Septuagint Versification, most references will be converted correctly, e.g. MAL 4:1 -> MAL 3:19, and Serval will use these in the Pretranslations stored in Mongo. i.e.:
{ "textId": "MAL", "sourceRefs": ["MAL 4:1"], "targetRefs": ["MAL 3:19"], "refs": ["MAL 3:19"], "translation": "“For behold, the day is coming, burning like a furnace, when all the arrogant and every evildoer will be stubble; the day is coming when I will set them ablaze,” says the LORD of Hosts. “Not a root or branch will be left to them.”", }However, if there were headings at the start of chapter 4,
VerseRef.ChangeVersificationwill not convert the source reference to a suitable target reference:{ "textId": "MAL", "sourceRefs": ["MAL 4:0/1:s1"], "targetRefs": ["MAL 4:0/1:s1"], "refs": ["MAL 4:0/1:s1"], "translation": "The Day of the LORD", }Which means that the final USFM outputted by Serval using the
UpdateUsfmParserHandlerwill lose the headings, i.e.:I'm not sure what we can do? Check if the next verse is being relocated, and move any headings to the verse before that one???