Skip to content
Snippets Groups Projects
Commit c8a4571c authored by vlorentz's avatar vlorentz
Browse files

Replace 'normalize' parameter of _translate_dict() with a hook method

This parameter was only used to execute extra code before
`normalize_translation` is called. This caused some duplication, and
will not work when switching to a non-JSON-LD internal representation.

Removing it also makes the code of mappings more consistent, by removing
specific field handling from their implementation of the `translate`
method itself.
parent 466108c1
No related branches found
No related tags found
1 merge request!368Replace 'normalize' parameter of _translate_dict() with a hook method
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment