Polish Pass 1 (#4084)

Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
Joe Milazzo
2025-10-08 08:47:41 -05:00
committed by GitHub
parent a3c8c9be33
commit 5f744fa2fe
41 changed files with 1082 additions and 331 deletions
+2 -2
View File
@@ -274,14 +274,14 @@ public class ReaderController : BaseApiController
if (info.IsSpecial)
{
info.Subtitle = Path.GetFileNameWithoutExtension(info.FileName);
} else if (!info.IsSpecial && info.VolumeNumber.Equals(Services.Tasks.Scanner.Parser.Parser.LooseLeafVolume))
} else if (!info.IsSpecial && info.VolumeNumber.Equals(Parser.LooseLeafVolume))
{
info.Subtitle = ReaderService.FormatChapterName(info.LibraryType, true, true) + info.ChapterNumber;
}
else
{
info.Subtitle = await _localizationService.Translate(User.GetUserId(), "volume-num", info.VolumeNumber);
if (!info.ChapterNumber.Equals(Services.Tasks.Scanner.Parser.Parser.DefaultChapter))
if (!info.ChapterNumber.Equals(Parser.DefaultChapter))
{
info.Subtitle += " " + ReaderService.FormatChapterName(info.LibraryType, true, true) +
info.ChapterNumber;