diff options
-rw-r--r-- | src/content/dependencies/generateAlbumTrackList.js | 6 | ||||
-rw-r--r-- | src/strings-default.yaml | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/content/dependencies/generateAlbumTrackList.js b/src/content/dependencies/generateAlbumTrackList.js index ee06b9e6..dd3e85e3 100644 --- a/src/content/dependencies/generateAlbumTrackList.js +++ b/src/content/dependencies/generateAlbumTrackList.js @@ -149,6 +149,7 @@ export default { }) => [ heading.slots({ tag: 'dt', + title: (duration === 0 ? language.$('trackList.section', { @@ -161,6 +162,11 @@ export default { approximate: durationApproximate, }), })), + + stickyTitle: + language.$('trackList.section.sticky', { + section: name, + }), }), html.tag('dd', diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 06bd3e06..34cbccf7 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -364,6 +364,7 @@ trackList: section: _: "{SECTION}:" withDuration: "{SECTION}: ({DURATION})" + sticky: "{SECTION}:" group: _: "From {GROUP}:" |