« get me outta code hell

new tracksFeatured string - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-11-27 00:33:54 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-11-27 00:33:54 -0400
commitfa51edfa0d66e5d85a71ba92b0b926f039407d30 (patch)
tree8d0a90b47709fc7ac9faa33b119cfa4850d3b1b0 /src/page
parent0ff89848bd7252c3dfc840bc40a0bd6a9d1376bd (diff)
new tracksFeatured string
Diffstat (limited to 'src/page')
-rw-r--r--src/page/flash.js6
1 files changed, 3 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 <i>${
-                  flash.name.replace(/\.$/, '')
-                }</i>:`),
+                language.$('releaseInfo.tracksFeatured', {
+                  flash: html.tag('i', flash.name),
+                })),
 
               html.tag('ul',
                 flash.featuredTracks.map(track =>