From 99c0bb64b33858a3a4077343b6db987471cdc1f0 Mon Sep 17 00:00:00 2001
From: "(quasar) nebula"
${language.$('commentaryIndex.albumList.title')}
@@ -162,7 +166,9 @@ export function writeTargetless({wikiData}) { entries: language.countCommentaryEntries( entries.length, - {unit: true} + { + unit: true, + } ), } )} diff --git a/src/page/album.js b/src/page/album.js index 6c8bb844..5b7bc975 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -210,7 +210,9 @@ export function write(album, {wikiData}) { language.$('releaseInfo.duration', { duration: language.formatDuration( albumDuration, - {approximate: album.tracks.length > 1} + { + approximate: album.tracks.length > 1, + } ), }), ] @@ -224,7 +226,9 @@ export function write(album, {wikiData}) { hasAdditionalFiles && generateAdditionalFilesShortcut( album.additionalFiles, - {language} + { + language, + } ), hasCommentaryEntries && language.$('releaseInfo.viewCommentary', { @@ -267,7 +271,9 @@ export function write(album, {wikiData}) { { duration: language.formatDuration( getTotalDuration(tracks), - {approximate: tracks.length > 1} + { + approximate: tracks.length > 1, + } ), section: name, } diff --git a/src/page/artist.js b/src/page/artist.js index 6b26b0f9..eb57f5cf 100644 --- a/src/page/artist.js +++ b/src/page/artist.js @@ -444,7 +444,10 @@ export function write(artist, {wikiData}) { artist: artist.name, duration: language.formatDuration( totalDuration, - {approximate: true, unit: true} + { + approximate: true, + unit: true, + } ), } )} @@ -685,7 +688,9 @@ export function write(artist, {wikiData}) { { coverArts: language.countCoverArts( artThingsGallery.length, - {unit: true} + { + unit: true, + } ), } )} diff --git a/src/page/homepage.js b/src/page/homepage.js index 7701a73c..1356aaf5 100644 --- a/src/page/homepage.js +++ b/src/page/homepage.js @@ -54,13 +54,17 @@ export function writeTargetless({wikiData}) { 'new-releases' ? getNewReleases( row.countAlbumsFromGroup, - {wikiData} + { + wikiData, + } ) : row.sourceGroupByRef === 'new-additions' ? getNewAdditions( row.countAlbumsFromGroup, - {wikiData} + { + wikiData, + } ) : (row.sourceGroup?.albums ?? []) .slice() -- cgit 1.3.0-6-gf8a5