From 72ce75c6e0eb503f6715384256784d391d1379d3 Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 1 Jun 2023 13:18:26 +0200 Subject: [PATCH] #2 Multiple alt titles --- Tranga/Connectors/Manganato.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tranga/Connectors/Manganato.cs b/Tranga/Connectors/Manganato.cs index 4123ec2..59fc122 100644 --- a/Tranga/Connectors/Manganato.cs +++ b/Tranga/Connectors/Manganato.cs @@ -88,7 +88,9 @@ public class Manganato : Connector switch (keySanitized) { case "alternative": - altTitles.Add("",value); + string[] alts = value.Split(" ; "); + for(int i = 0; i < alts.Length; i++) + altTitles.Add(i.ToString(), alts[i]); break; case "authors": author = value;