From ec301ffc7db8d03e8442bf30fe1f8847ba27a6f7 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 9 Jun 2024 16:56:56 -0300 Subject: content: generateTrackInfoPage: "this one" in sticky heading --- src/content/dependencies/generateTrackInfoPage.js | 8 ++++++++ src/strings-default.yaml | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'src') 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: -- cgit 1.3.0-6-gf8a5