Skip to content
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

Added dita and ditamap formats #3759

Merged
merged 7 commits into from
Jan 16, 2025
Merged

Added dita and ditamap formats #3759

merged 7 commits into from
Jan 16, 2025

Conversation

mauretto78
Copy link
Contributor

@mauretto78 mauretto78 commented Jan 9, 2025

ASANA

Filters extractions template structure

A new property called dita was added to the Filters extractions template structure.

This new property supports an array of strings called do_not_translate_elements.

The template structure now looks like this example:

{
    "name": "filters extraction template",
    "json": {},
    "xml": {},
    "yaml": {},
    "ms_word": {},
    "ms_excel": {},
    "ms_powerpoint": {},
    "dita": {
        "do_not_translate_elements": [ 
           "aaa",
           "bbb",
           "ccc"
         ]
    }
}

Creation of new projects

The JSON string parameter filters_extraction_parameters used during the new projects' creation, should be modified accordingly.

Migrations

Run this query before starting to work on this task:

ALTER TABLE `filters_config_templates` ADD COLUMN `dita` TEXT DEFAULT NULL AFTER `ms_powerpoint`;

@mauretto78 mauretto78 merged commit 7609e1c into develop Jan 16, 2025
2 checks passed
@mauretto78 mauretto78 deleted the ditamap branch January 16, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants