From 78154d815befc094a8660f7a0b41b05ba20ac228 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 19 Feb 2025 17:17:26 -0400 Subject: content: generateTrackArtistCommentarySection: secondary releases --- .../dependencies/generateTrackArtistCommentarySection.js | 10 +++++----- src/strings-default.yaml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/content/dependencies/generateTrackArtistCommentarySection.js b/src/content/dependencies/generateTrackArtistCommentarySection.js index 63c4e93d..e3041d3a 100644 --- a/src/content/dependencies/generateTrackArtistCommentarySection.js +++ b/src/content/dependencies/generateTrackArtistCommentarySection.js @@ -11,7 +11,7 @@ export default { extraDependencies: ['html', 'language'], query: (track) => ({ - otherRereleasesWithCommentary: + otherSecondaryReleasesWithCommentary: track.otherReleases .filter(track => !track.isMainRelease) .filter(track => !empty(track.commentary)), @@ -40,7 +40,7 @@ export default { .map(entry => relation('generateCommentaryEntry', entry)), otherReleaseTrackLinks: - query.otherRereleasesWithCommentary + query.otherSecondaryReleasesWithCommentary .map(track => relation('linkTrack', track)), }), @@ -67,11 +67,11 @@ export default { : null), otherReleaseAlbumNames: - query.otherRereleasesWithCommentary + query.otherSecondaryReleasesWithCommentary .map(track => track.album.name), otherReleaseAlbumColors: - query.otherRereleasesWithCommentary + query.otherSecondaryReleasesWithCommentary .map(track => track.album.color), }), @@ -130,7 +130,7 @@ export default { html.tag('p', {class: ['drop', 'commentary-drop']}, {[html.onlyIfContent]: true}, - language.encapsulate(capsule, 'info.seeRereleases', workingCapsule => { + language.encapsulate(capsule, 'info.seeSpecificReleases', workingCapsule => { const workingOptions = {}; workingOptions[language.onlyIfOptions] = ['albums']; diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 131faa82..abbc9373 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -520,10 +520,10 @@ misc: releaseSpecific: >- This commentary is specific to this release, {ALBUM}. - seeRereleases: >- + seeSpecificReleases: >- For release-specific commentary, check out: {ALBUMS}. - seeRereleases.withMainCommentary: >- + seeSpecificReleases.withMainCommentary: >- For release-specific commentary, see also: {ALBUMS}. artistCredit: -- cgit 1.3.0-6-gf8a5