« get me outta code hell

content: creditList.entry.withContribution -> withAnnotation - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-06 10:11:11 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-06 10:11:11 -0400
commitc687af21ffbc1fcb4e12d26e4c68af8faf9ce0e8 (patch)
treeba12e0512828c5e667df555e861c203739e16a7e /src/content
parenta51a129626653d6376d3afb1404e3bbc84ee2cfd (diff)
content: creditList.entry.withContribution -> withAnnotation
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js2
-rw-r--r--src/content/dependencies/generateArtistInfoPageChunkItem.js8
-rw-r--r--src/content/dependencies/generateArtistInfoPageFlashesChunkedList.js2
-rw-r--r--src/content/dependencies/generateArtistInfoPageTracksChunkedList.js2
4 files changed, 7 insertions, 7 deletions
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()),