-
Notifications
You must be signed in to change notification settings - Fork 11
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
Include new TN categories when parent category is checked. #7133
Comments
@birchamp do you have a sample project I can look at? |
@da1nerd added a screenshot |
@birchamp the categories are hard coded here https://github.com/unfoldingWord/tsv-groupdata-parser/blob/master/src/tNoteGroupIdCategorization.js#L4 is there a way to determine these dynamically, or do you just want to update this hard coded list? In either case, I'll need help determining how to categorize the new checks. Is there a definition of those somewhere? |
@da1nerd I don't believe there is a definition other than the TA repo itself. In the tNoteGroupIDCategorization.js file it doesn't list "Quote Markings" but it shows up in the TN card above. Where's that coming from? |
@da1nerd |
Here's my project, but any new 1TI project should do it. |
Undefined things are automatically placed in "Other" |
the original code here was hardcoded. The only realistic way to make this dynamic would be to add this information to the source content. And before that we'd need to automatically parse that information out of the TA repo to include in the source content. That will require some considerable development time for something that is not frequently updated. So I'm just going to add two lines to https://github.com/unfoldingWord/tsv-groupdata-parser/blob/master/src/tNoteGroupIdCategorization.js#L4 and call it good for now. I suggest starting a new feature request if it is still desirable to update this information automatomatically. |
should these be placed under grammar as well?
|
yes, they should be added to grammar @da1nerd |
Works fine in translationCore 3.0.2 (f02bb06). The TN categories are shown on the Card are coming from Resources>TranslationHelps>tN>categories. Works as expected. |
When a user chooses all checks under Figures of Speech, all checks including new categories like 'figs-quotemarks' should be included. For instance 'figs-quotemarks' doesn't show up in the 'Figures of Speech' and 'grammar-connect-logic-goal' doesn't show up in the 'Grammar' category. Both show up in the 'Other' category. We believe this means that tC is not processing new types of checks and is simply placing all new checks in the 'Other' category.
DoD: Any TN checks should appear in their appropriate category.
See Zulip thread: https://unfoldingword.zulipchat.com/#narrow/stream/209457-SOFTWARE--.20UR/topic/Helpdesk/near/219501248
The text was updated successfully, but these errors were encountered: