« get me outta code hell

content: fix a few more credit-sources -> crediting-sources - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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
commit2b565553724cc0326074050cbdbdc6d84d26a511 (patch)
treeac4bbbb33cc9a07673d3cf9c8d01455a7fd71e10 /src
parent2236af1d31d3e7fef8d992381150f6168def4b43 (diff)
content: fix a few more credit-sources -> crediting-sources
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateAlbumInfoPage.js4
-rw-r--r--src/content/dependencies/generateFlashInfoPage.js4
-rw-r--r--src/content/dependencies/generatePageLayout.js2
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js10
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,
           ]),
         ],