Skip to content

Commit

Permalink
Fix MLA editor translator (#4985)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwiernik authored Aug 24, 2020
1 parent 40d207c commit 603ee73
Showing 1 changed file with 28 additions and 14 deletions.
42 changes: 28 additions & 14 deletions modern-language-association.csl
Original file line number Diff line number Diff line change
Expand Up @@ -89,26 +89,40 @@
<text variable="container-title" font-style="italic" text-case="title"/>
</macro>
<macro name="other-contributors">
<group delimiter=", ">
<choose>
<if variable="container-title" match="any">
<names variable="container-author editor illustrator interviewer translator" delimiter=", ">
<choose>
<if variable="container-title" match="any">
<group delimiter=", ">
<names variable="container-author" delimiter=", ">
<label form="verb" suffix=" "/>
<name and="text"/>
</names>
</if>
<else>
<names variable="container-author editor illustrator interviewer translator" delimiter=", ">
<names variable="editor translator" delimiter=", ">
<label form="verb" suffix=" "/>
<name and="text"/>
</names>
<names variable="director illustrator interviewer" delimiter=", ">
<label form="verb" suffix=" "/>
<name and="text"/>
</names>
</group>
</if>
<else>
<group delimiter=", ">
<names variable="container-author" delimiter=", ">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text"/>
</names>
</else>
</choose>
<names variable="director">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text"/>
</names>
</group>
<names variable="editor translator" delimiter=", ">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text"/>
</names>
<names variable="director illustrator interviewer" delimiter=", ">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text"/>
</names>
</group>
</else>
</choose>
</macro>
<macro name="version">
<group delimiter=", ">
Expand Down

0 comments on commit 603ee73

Please sign in to comment.