diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-05-21 14:11:17 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-05-21 14:11:17 -0300 |
commit | 2b565553724cc0326074050cbdbdc6d84d26a511 (patch) | |
tree | ac4bbbb33cc9a07673d3cf9c8d01455a7fd71e10 | |
parent | 2236af1d31d3e7fef8d992381150f6168def4b43 (diff) |
content: fix a few more credit-sources -> crediting-sources
4 files changed, 10 insertions, 10 deletions
diff --git a/src/content/dependencies/generateAlbumInfoPage.js b/src/content/dependencies/generateAlbumInfoPage.js index d196fc59..671116b0 100644 --- a/src/content/dependencies/generateAlbumInfoPage.js +++ b/src/content/dependencies/generateAlbumInfoPage.js @@ -161,7 +161,7 @@ export default { language.$(capsule, { link: html.tag('a', - {href: '#credit-sources'}, + {href: '#crediting-sources'}, language.$(capsule, 'link')), })), ])), @@ -203,7 +203,7 @@ export default { html.tags([ relations.contentHeading.clone() .slots({ - attributes: {id: 'credit-sources'}, + attributes: {id: 'crediting-sources'}, title: language.$('misc.creditingSources'), }), diff --git a/src/content/dependencies/generateFlashInfoPage.js b/src/content/dependencies/generateFlashInfoPage.js index 69dd5bdb..c6395c71 100644 --- a/src/content/dependencies/generateFlashInfoPage.js +++ b/src/content/dependencies/generateFlashInfoPage.js @@ -137,7 +137,7 @@ export default { language.$(capsule, { link: html.tag('a', - {href: '#credit-sources'}, + {href: '#crediting-sources'}, language.$(capsule, 'link')), })), ])), @@ -180,7 +180,7 @@ export default { html.tags([ relations.contentHeading.clone() .slots({ - attributes: {id: 'credit-sources'}, + attributes: {id: 'crediting-sources'}, title: language.$('misc.creditingSources'), }), diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js index fdce6487..07753af0 100644 --- a/src/content/dependencies/generatePageLayout.js +++ b/src/content/dependencies/generatePageLayout.js @@ -581,7 +581,7 @@ export default { {id: 'additional-files', string: 'additionalFiles'}, {id: 'commentary', string: 'commentary'}, {id: 'artist-commentary', string: 'artistCommentary'}, - {id: 'credit-sources', string: 'creditingSources'}, + {id: 'crediting-sources', string: 'creditingSources'}, ])), ]); diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js index d296f98d..afe4979e 100644 --- a/src/content/dependencies/generateTrackInfoPage.js +++ b/src/content/dependencies/generateTrackInfoPage.js @@ -106,7 +106,7 @@ export default { artistCommentarySection: relation('generateTrackArtistCommentarySection', track), - creditSourceEntries: + creditingSourceEntries: track.creditingSources .map(entry => relation('generateCommentaryEntry', entry)), }), @@ -181,12 +181,12 @@ export default { language.$(capsule, 'link')), })), - !html.isBlank(relations.creditSourceEntries) && + !html.isBlank(relations.creditingSourceEntries) && language.encapsulate(capsule, 'readCreditingSources', capsule => language.$(capsule, { link: html.tag('a', - {href: '#credit-sources'}, + {href: '#crediting-sources'}, language.$(capsule, 'link')), })), ])), @@ -340,11 +340,11 @@ export default { html.tags([ relations.contentHeading.clone() .slots({ - attributes: {id: 'credit-sources'}, + attributes: {id: 'crediting-sources'}, title: language.$('misc.creditingSources'), }), - relations.creditSourceEntries, + relations.creditingSourceEntries, ]), ], |