From c687af21ffbc1fcb4e12d26e4c68af8faf9ce0e8 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 6 Feb 2024 10:11:11 -0400 Subject: content: creditList.entry.withContribution -> withAnnotation --- .../dependencies/generateArtistInfoPageArtworksChunkedList.js | 2 +- src/content/dependencies/generateArtistInfoPageChunkItem.js | 8 ++++---- .../dependencies/generateArtistInfoPageFlashesChunkedList.js | 2 +- .../dependencies/generateArtistInfoPageTracksChunkedList.js | 2 +- src/strings-default.yaml | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js b/src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js index 9efd2b14..a7293eb5 100644 --- a/src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js +++ b/src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js @@ -179,7 +179,7 @@ export default { }) => item.slots({ otherArtistLinks, - contribution, + annotation: contribution, content: (type === 'trackCover' diff --git a/src/content/dependencies/generateArtistInfoPageChunkItem.js b/src/content/dependencies/generateArtistInfoPageChunkItem.js index 4347df12..b6f40727 100644 --- a/src/content/dependencies/generateArtistInfoPageChunkItem.js +++ b/src/content/dependencies/generateArtistInfoPageChunkItem.js @@ -7,7 +7,7 @@ export default { mutable: false, }, - contribution: { + annotation: { type: 'html', mutable: false, }, @@ -40,9 +40,9 @@ export default { options.artists = language.formatConjunctionList(slots.otherArtistLinks); } - if (!html.isBlank(slots.contribution)) { - parts.push('withContribution'); - options.contribution = slots.contribution; + if (!html.isBlank(slots.annotation)) { + parts.push('withAnnotation'); + options.annotation = slots.annotation; } if (parts.length === 1) { diff --git a/src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js b/src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js index 8f02ef9b..ca0d0b50 100644 --- a/src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js +++ b/src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js @@ -130,7 +130,7 @@ export default { contribution, }) => item.slots({ - contribution, + annotation: contribution, content: language.$('artistPage.creditList.entry.flash', { diff --git a/src/content/dependencies/generateArtistInfoPageTracksChunkedList.js b/src/content/dependencies/generateArtistInfoPageTracksChunkedList.js index 4ad047b9..cd96b376 100644 --- a/src/content/dependencies/generateArtistInfoPageTracksChunkedList.js +++ b/src/content/dependencies/generateArtistInfoPageTracksChunkedList.js @@ -206,7 +206,7 @@ export default { otherArtistLinks, rerelease, - contribution: + annotation: (contribution ? language.formatUnitList(contribution) : html.blank()), diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 4e8681c5..a1e4d842 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -879,12 +879,12 @@ artistPage: entry: - # withContribution: + # withAnnotation: # The specific contribution that an artist made to a given # thing may be described with a word or two, and that's shown # in the list. - withContribution: "{ENTRY} ({CONTRIBUTION})" + withAnnotation: "{ENTRY} ({ANNOTATION})" # withArtists: # This lists co-artists or co-contributors, depending on how @@ -892,7 +892,7 @@ artistPage: withArtists: "{ENTRY} (with {ARTISTS})" - withArtists.withContribution: "{ENTRY} ({CONTRIBUTION}; with {ARTISTS})" + withArtists.withAnnotation: "{ENTRY} ({ANNOTATION}; with {ARTISTS})" # rerelease: # Tracks which aren't the original release don't display co- -- cgit 1.3.0-6-gf8a5