mt-homonymy-support #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mt-homonymy-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Probably best if both of you check it out.
Ožbolt for prevention and Luka so we both can speed up understanding of whole stack.
Basically we're adding support for the example in vsms1.xml file. It's already in schema so we just had to provide support in editor.
https://lexonomy.cjvt.si/5pdds79p/ - link to plugin used on dictionary
First of all, I did not test the code, I just went over the changes.
About the code, there are two mistakes:
homonomy_list_getter
incommon_accessors
is only used once. This is fine, but the way I imagined it is that if this kind of functionality is only used once, than implement it inside the class (this time itsEditHomonymy
). Then later if needed to avoid code duplication refactor stuff out of the class and in common_accessors. But that is fairly subjective point and you can decide to do it another way :)Otherwise, yes, everything looks nice and clean, gg :)
ok