fix reader chapter transition warning chapters number (#846)

This commit is contained in:
robo
2024-12-20 12:05:36 +00:00
committed by GitHub
parent a3deea5b4b
commit 85bb032d03

View File

@@ -219,7 +219,7 @@ export class ReaderControls {
const continuousChapter = isContinuousChapter
? ''
: t(offsetToTranslationKeys[offset].chapter_number, {
count: missingChapters,
count: missingChapters - 1,
nextChapter: `#${chapterToOpen.chapterNumber} ${chapterToOpen.name}`,
currentChapter: `#${currentChapter.chapterNumber} ${currentChapter.name}`,
});