mt-homonymy-support #2
Manually merged
lexonomy
merged 7 commits from mt-homonymy-support
into master
3 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'mt-homonymy-support'
Deleting a branch is permanent. It CANNOT be undone. 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
a07b35c6a8
into master manually 3 years agoa07b35c6a8
.