-
Notifications
You must be signed in to change notification settings - Fork 2
Versification #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Versification #280
Conversation
PO provided new input docs
This might be put back in place later, but with new layouts it makes less sense to have a page break before a new chapter.
The parsing isn't quite right, it will come back corrected in a future update.
We already remove Links: section, but some languages localize the word.
This is a big commit. The primary deliverable for this commit is adding versification at the book and chapter chunk level for PDF, ePub, and Docx, their supporting front and backend tests, and new layouts that match the document prototype provided by the PO as a guide. This commit also makes TW words linking work properly. This commit also adds new optional settings that the user may select which are contextually relevant for the given assembly strategy (interleaving strategy chosen). These can be seen dynamically changing on the final settings page of the UI depending on what is chosen. Many bug fixes and visual enhancements to layout along the way. More to be done, but this should be a radically useful upgrade for TS.
| "tn-condensed": "Condensed Translation Notes", | ||
| "tq": "Translation Questions", | ||
| "tw": "Translation Words", | ||
| # "udb": "Unlocked Dynamic Bible", # Content team doesn't want udb used TODO (just for English or ?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe English is the only language that has a UDB resource.
| .union(bc_book.lang_code for bc_book in bc_books) | ||
| .union(rg_book.lang_code for rg_book in rg_books) | ||
| # Collect and duplicate max number of lang_codes | ||
| lang_codes = list( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a clever way of emulating a set that keeps the order of its items.
| ("pt-br", "1 Corintios"): "1 Coríntios", | ||
| ( | ||
| "rmp", | ||
| "Galasians sapta 1. v/1 da-h pol. dal goad phi da-h dululan, ne dal mai-h phi da-h apostel ipais ag mayaib. phi. je-su krais mai-h mam gad pha, nug krais matmat ag mau sen pha, nug da-h ipais ag malan. v/2 da-h ayaid amayaid da-h pha dade, hit jain hen ohvu iu- an sios galesia e-h hagaug. v/3 gad mam hita, hayaug je-su krais pha, nug-te hagaug he-eh phadu ne mab hogad nauha-h da-h-du. v/4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correction still needed? I was under the impression that MaryEllen fixed this issue in the source.
New strategies, layouts, linking, and context aware options
This is a big commit. The primary deliverable for this commit is
adding versification at the book and chapter chunk level for PDF,
ePub, and Docx, their supporting front and backend tests, and new
layouts that match the document prototype provided by the PO as a
guide.
This commit also makes TW words linking work properly.
This commit also adds new optional settings that the user may select
which are contextually relevant for the given assembly
strategy (interleaving strategy chosen). These can be seen dynamically
changing on the final settings page of the UI depending on what is
chosen.
Many bug fixes and visual enhancements to layout along the way.
More to be done, but this should be a very useful upgrade for TS.
This PR temporarily retires OT Survey Reviewer's Guide feature for Passages app. It will be re-released later after some fixes.