« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js8
-rw-r--r--src/strings-default.yaml10
2 files changed, 16 insertions, 2 deletions
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js
index 298ea32d..f7d86c16 100644
--- a/src/content/dependencies/generateTrackInfoPage.js
+++ b/src/content/dependencies/generateTrackInfoPage.js
@@ -385,10 +385,14 @@ export default {
             sec.references.heading
               .slots({
                 attributes: {id: 'references'},
+
                 title:
                   language.$('releaseInfo.tracksReferenced', {
                     track: html.tag('i', data.name),
                   }),
+
+                stickyTitle:
+                  language.$('releaseInfo.tracksReferenced.sticky'),
               }),
 
             sec.references.list,
@@ -398,10 +402,14 @@ export default {
             sec.samples.heading
               .slots({
                 attributes: {id: 'samples'},
+
                 title:
                   language.$('releaseInfo.tracksSampled', {
                     track: html.tag('i', data.name),
                   }),
+
+                stickyTitle:
+                  language.$('releaseInfo.tracksSampled.sticky'),
               }),
 
             sec.samples.list,
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index 34cbccf7..27a504b0 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -273,9 +273,15 @@ releaseInfo:
       _: "{TRACK} ({ALBUM})"
       withYear: "({YEAR}) {TRACK} ({ALBUM})"
 
-  tracksReferenced: "Tracks that {TRACK} references:"
+  tracksReferenced:
+    _: "Tracks that {TRACK} references:"
+    sticky: "Tracks that this one references:"
+
+  tracksSampled:
+    _: "Tracks that {TRACK} samples:"
+    sticky: "Tracks that this one samples:"
+
   tracksThatReference: "Tracks that reference {TRACK}:"
-  tracksSampled: "Tracks that {TRACK} samples:"
   tracksThatSample: "Tracks that sample {TRACK}:"
 
   flashesThatFeature: