From 484ba2085d6dd514958d17828c6635d93ce79b61 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Sun, 4 Aug 2024 13:34:54 -0300 Subject: [PATCH] accept editor-translator --- src/taxonomy.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/taxonomy.rs b/src/taxonomy.rs index f25431f..d651e95 100644 --- a/src/taxonomy.rs +++ b/src/taxonomy.rs @@ -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, @@ -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"),