diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-02-19 17:17:26 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-03-02 08:24:13 -0400 |
commit | 78154d815befc094a8660f7a0b41b05ba20ac228 (patch) | |
tree | 257eed920f350b40cb919e83b1273e765662d6fb | |
parent | 0b44cbc30a1b9f311f9908db5a82d68f4d93febb (diff) |
content: generateTrackArtistCommentarySection: secondary releases
-rw-r--r-- | src/content/dependencies/generateTrackArtistCommentarySection.js | 10 | ||||
-rw-r--r-- | 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: |