diff options
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js index 4d9939a1..3c0b2b73 100644 --- a/src/misc-templates.js +++ b/src/misc-templates.js @@ -96,7 +96,7 @@ export function generateChronologyLinks(currentThing, { } const stringOpts = { - index: strings.count.index(index + 1, {strings}), + index: language.formatIndex(index + 1, {strings}), artist: link.artist(artist) }; @@ -307,7 +307,7 @@ export function getAlbumGridHTML({ linkFn: link.album, detailsFn: details && (album => language.$('misc.albumGrid.details', { tracks: language.countTracks(album.tracks.length, {unit: true}), - time: strings.count.duration(getTotalDuration(album.tracks)) + time: language.formatDuration(getTotalDuration(album.tracks)) })), noSrcTextFn: album => language.$('misc.albumGrid.noCoverArt', { album: album.name |