« 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/generateAlbumInfoPage.js6
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js6
-rw-r--r--src/strings-default.yaml2
3 files changed, 3 insertions, 11 deletions
diff --git a/src/content/dependencies/generateAlbumInfoPage.js b/src/content/dependencies/generateAlbumInfoPage.js
index 1ef0cbbe..d4ea52de 100644
--- a/src/content/dependencies/generateAlbumInfoPage.js
+++ b/src/content/dependencies/generateAlbumInfoPage.js
@@ -223,11 +223,7 @@ export default {
             sec.additionalFiles.heading
               .slots({
                 attributes: {id: 'additional-files'},
-                title:
-                  language.$('releaseInfo.additionalFiles.heading', {
-                    additionalFiles:
-                      language.countAdditionalFiles(data.numAdditionalFiles, {unit: true}),
-                  }),
+                title: language.$('releaseInfo.additionalFiles.heading'),
               }),
 
             sec.additionalFiles.additionalFilesList,
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js
index 77256092..298ea32d 100644
--- a/src/content/dependencies/generateTrackInfoPage.js
+++ b/src/content/dependencies/generateTrackInfoPage.js
@@ -492,11 +492,7 @@ export default {
             sec.additionalFiles.heading
               .slots({
                 attributes: {id: 'additional-files'},
-                title:
-                  language.$('releaseInfo.additionalFiles.heading', {
-                    additionalFiles:
-                      language.countAdditionalFiles(data.numAdditionalFiles, {unit: true}),
-                  }),
+                title: language.$('releaseInfo.additionalFiles.heading'),
               }),
 
             sec.additionalFiles.list,
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index 7e43c684..06bd3e06 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -321,7 +321,7 @@ releaseInfo:
     link: "artist commentary"
 
   additionalFiles:
-    heading: "View or download {ADDITIONAL_FILES}:"
+    heading: "View or download additional files:"
 
     entry:
       _: "{TITLE}"