Skip to content

Commit

Permalink
accept editor-translator
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Aug 4, 2024
1 parent 858782e commit 484ba20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/taxonomy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ pub enum NameVariable {
/// Combined editor and translator of a work; The citation processory must
/// be automatically generate if editor and translator variables are
/// identical; May also be provided directly in item data.
#[serde(rename = "editortranslator")]
#[serde(alias = "editortranslator")]
EditorTranslator,
/// Executive producer (e.g. of a television series).
ExecutiveProducer,
Expand Down Expand Up @@ -496,7 +496,7 @@ impl fmt::Display for NameVariable {
Self::Director => write!(f, "director"),
Self::Editor => write!(f, "editor"),
Self::EditorialDirector => write!(f, "editorial-director"),
Self::EditorTranslator => write!(f, "editortranslator"),
Self::EditorTranslator => write!(f, "editor-translator"),
Self::ExecutiveProducer => write!(f, "executive-producer"),
Self::Guest => write!(f, "guest"),
Self::Host => write!(f, "host"),
Expand Down

0 comments on commit 484ba20

Please sign in to comment.