« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
-rw-r--r--src/strings-default.yaml6
5 files changed, 10 insertions, 10 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()),
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index 4e8681c5..a1e4d842 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -879,12 +879,12 @@ artistPage:
 
     entry:
 
-      # withContribution:
+      # withAnnotation:
       #   The specific contribution that an artist made to a given
       #   thing may be described with a word or two, and that's shown
       #   in the list.
 
-      withContribution: "{ENTRY} ({CONTRIBUTION})"
+      withAnnotation: "{ENTRY} ({ANNOTATION})"
 
       # withArtists:
       #   This lists co-artists or co-contributors, depending on how
@@ -892,7 +892,7 @@ artistPage:
 
       withArtists: "{ENTRY} (with {ARTISTS})"
 
-      withArtists.withContribution: "{ENTRY} ({CONTRIBUTION}; with {ARTISTS})"
+      withArtists.withAnnotation: "{ENTRY} ({ANNOTATION}; with {ARTISTS})"
 
       # rerelease:
       #   Tracks which aren't the original release don't display co-