Support translator meta data type
Change-Id: I2f8c02122b7a15cddcaf63d411a04f0afb5f0fb7
diff --git a/t/corpus/BBU/BLOG/83709_a_82384/header.xml b/t/corpus/BBU/BLOG/83709_a_82384/header.xml
index b492d5d..f0cf746 100644
--- a/t/corpus/BBU/BLOG/83709_a_82384/header.xml
+++ b/t/corpus/BBU/BLOG/83709_a_82384/header.xml
@@ -17,7 +17,7 @@
<biblStruct>
<monogr>
<h.author>DragoČ™ Bucurenci</h.author>
- <editor role="translator">-</editor>
+ <!-- <editor role="translator">-</editor> -->
<imprint>
<pubDate type="year">2013</pubDate>
<pubDate type="month">10</pubDate>
@@ -28,4 +28,4 @@
</biblStruct>
</sourceDesc>
</fileDesc>
- </idsHeader>
\ No newline at end of file
+ </idsHeader>
diff --git a/t/real/drukola.t b/t/real/drukola.t
index 244101a..4656f18 100644
--- a/t/real/drukola.t
+++ b/t/real/drukola.t
@@ -38,6 +38,7 @@
ok(!$meta->{publisher}, 'Publisher');
ok(!$meta->{editor}, 'Editor');
+is($meta->{translator}, '[TRANSLATOR]', 'Translator');
#is($meta->{text_type}, 'Autobiographie', 'Correct Text Type');
ok(!$meta->{text_type_art}, 'Correct Text Type Art');
# is($meta->{text_type_ref}, '', 'Correct Text Type Ref');