Headings at the start of chapters do not get relocated
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start with VerseRef.ChangeVersification and trace how headings such as MAL 4:0/1:s1 are represented and converted. Then inspect UpdateUsfmParserHandler and the Serval pretranslation flow, using the Malachi example as the reproduction case. Done means headings at the start of a chapter remain in the generated USFM after versification changes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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???
- Lenguaje dominante
- C#
- Estrellas
- 29
- Forks
- 17
- Merge medio
- 5 d 13 h
- PR fusionados (30 d)
- 10
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sillsdev/machine
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Environment matchers pay for captures they never read; key the traversal on what the caller consumesAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
sillsdev/machine#515 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
HermitCrab: Word.ExpandAlternatives discards Unify's success flag and can null the realizational FSAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
Todos los issues de sillsdev/machine
Issues similares
-
WPF: each page's `Title` overwrites the window title, and returning to a page does not restore itAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
agentic-workflows area/Docs partner/agentic-workflows
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jamesmontemagno/tiny-clips#378 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
go 🏃 testing 🧪
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
valkey-io/valkey-glide#7239 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SubtitleEdit/subtitleedit#15462 ·
Los mantenedores suelen responder en 1 día