From fa51edfa0d66e5d85a71ba92b0b926f039407d30 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 27 Nov 2022 00:33:54 -0400 Subject: new tracksFeatured string --- src/page/flash.js | 6 +++--- src/strings-default.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/page/flash.js b/src/page/flash.js index 74a6b4aa..be07039b 100644 --- a/src/page/flash.js +++ b/src/page/flash.js @@ -63,9 +63,9 @@ export function write(flash, {wikiData}) { ...html.fragment( !empty(flash.featuredTracks) && [ html.tag('p', - `Tracks featured in ${ - flash.name.replace(/\.$/, '') - }:`), + language.$('releaseInfo.tracksFeatured', { + flash: html.tag('i', flash.name), + })), html.tag('ul', flash.featuredTracks.map(track => diff --git a/src/strings-default.json b/src/strings-default.json index 0196d6df..b751a80a 100644 --- a/src/strings-default.json +++ b/src/strings-default.json @@ -106,6 +106,7 @@ "releaseInfo.flashesThatFeature": "Flashes & games that feature {TRACK}:", "releaseInfo.flashesThatFeature.item": "{FLASH}", "releaseInfo.flashesThatFeature.item.asDifferentRelease": "{FLASH} (as {TRACK})", + "releaseInfo.tracksFeatured": "Tracks that {FLASH} features:", "releaseInfo.lyrics": "Lyrics:", "releaseInfo.artistCommentary": "Artist commentary:", "releaseInfo.artistCommentary.seeOriginalRelease": "See {ORIGINAL}!", -- cgit 1.3.0-6-gf8a5