Make no chapter data text translatable.

This commit is contained in:
1hitsong 2023-11-02 09:29:49 -04:00
parent 189172cecf
commit 4c394dc7e7
2 changed files with 6 additions and 1 deletions

View File

@ -293,7 +293,7 @@ sub populateChapterMenu()
if not isValidAndNotEmpty(m.chapters)
chapterItem = CreateObject("roSGNode", "ContentNode")
chapterItem.title = "No Chapter Data Found"
chapterItem.title = tr("No Chapter Data Found")
chapterItem.playstart = m.playbackEnum.null
m.chapterContent.appendChild(chapterItem)
return

View File

@ -1226,5 +1226,10 @@
<translation>Remember the currently logged in user and try to log them in again next time you start the Jellyfin app.</translation>
<extracomment>User Setting - Setting description</extracomment>
</message>
<message>
<source>No Chapter Data Found</source>
<translation>No Chapter Data Found</translation>
<extracomment>Message shown in pause menu when no chapter data is returned by the API</extracomment>
</message>
</context>
</TS>