diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-05-22 12:00:01 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-05-22 12:00:23 -0300 |
commit | f6bd91ea9beef64e0ff0865560219a64a367bb5b (patch) | |
tree | 053700f2bc57d395148d90b77daa6e4e3cb4a849 /src/page/album.js | |
parent | 3b542d286f66e54cb10507fb196a61b7b2f1ee94 (diff) |
divide referenced-by lists by configurable groups
...instead of hard-coding 'em
Diffstat (limited to 'src/page/album.js')
-rw-r--r-- | src/page/album.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/album.js b/src/page/album.js index ec994eb..70cb536 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -205,7 +205,7 @@ export function write(album, {wikiData}) { <dl class="album-group-list"> ${album.trackGroups.map(({ name, color, startIndex, tracks }) => fixWS` <dt>${ - language.$('trackList.group', { + language.$('trackList.section.withDuration', { duration: language.formatDuration(getTotalDuration(tracks), {approximate: tracks.length > 1}), group: name }) |