citation-style-language / schema

Citation Style Language schema

Home Page:https://citationstyles.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do we need volume-editor-translator and editor-container-translator

denismaier opened this issue · comments

#336 has added new roles: container-translator, volume-editor, and volume-translator.
If volume-editor, and volume-translator are identical the behavior should be similar to current editortranslator behavior. Also, if editor and container-translator are identical.

To handle this, do we need new roles volume-editor-translator and editor-container-translator? And terms?

I don't think so. editor-translator is a role that is created by the processor, so we can just define when it is created from these.

But if you test for editor-translator that should not test true if volume-editor and volume-translator are identical.

But, of course, you can also just use the new equality test here.

if variable="volume-editor" matches="volume-translator". That should be good enough.

But, of course, you can also just use the new equality test here.

if variable="volume-editor" matches="volume-translator". That should be good enough.

Strictly speaking, we probably don't even need the editor-translator, at least not for the testing purposes. (Although it's a nice shorthand, of course.)

That's probably right, but I think the shorthand is good to have for that case.

That's probably right, but I think the shorthand is good to have for that case.

Yeah, it's common enough, and keeping it poses no problem.