This commit is contained in:
glax 2023-06-03 23:44:58 +02:00
parent 655e8db2b6
commit 57a4cc4ab5

View File

@ -34,6 +34,7 @@ public struct Chapter
string volStr = this.volumeNumber is not null ? $"Vol.{this.volumeNumber} " : "";
string chNumberStr = this.chapterNumber is not null ? $"Ch.{chapterNumber} " : "";
string chNameStr = chapterName.Length > 0 ? $"- {chapterName}" : "";
chNameStr = chNameStr.Replace("Volume", "").Replace("volume", "");
this.fileName = $"{volStr}{chNumberStr}{chNameStr}";
}
}