« get me outta code hell

content: generate{Album,Track}InfoPage: "view additional files" - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-09 16:50:20 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-09 17:53:29 -0300
commitbd561e1d74b373818fcf2e2f8b53aa568c6be454 (patch)
tree670d9d37c50189109a311ce1c7b3058b41d62fac /src/content
parent25840b9adb7d547f2545b9555402f44b9c8b9f13 (diff)
content: generate{Album,Track}InfoPage: "view additional files"
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateAlbumInfoPage.js6
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js6
2 files changed, 2 insertions, 10 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,