|
|
@@ -61,8 +61,8 @@
|
|
|
If SplitedLine.Count >= 2 Then
|
|
|
Entry.ChineseName = SplitedLine(1)
|
|
|
If Entry.ChineseName.Contains("*") Then '处理 *
|
|
|
- Entry.ChineseName = Entry.ChineseName.Replace("*", " (" &
|
|
|
- String.Join(" ", If(Entry.CurseForgeSlug, Entry.ModrinthSlug).Split("-").Select(Function(w) w.Substring(0, 1).ToUpper & w.Substring(1, w.Length - 1))) & ")")
|
|
|
+ Entry.ChineseName = Entry.ChineseName.Replace("*",
|
|
|
+ $"({If(Entry.CurseForgeSlug, Entry.ModrinthSlug).Replace("-"," ").Capitalize})"
|
|
|
End If
|
|
|
End If
|
|
|
_CompDatabase.Add(Entry)
|