« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/misc-templates.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r--src/misc-templates.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index c337f6e2..61afa710 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -51,7 +51,9 @@ export function generateAdditionalFilesList(additionalFiles, {language, getFileS
     const fileCount = additionalFiles.flatMap(g => g.files).length;
 
     return fixWS`
-        <p id="additional-files">${language.$('releaseInfo.additionalFiles.heading', {fileCount})}</p>
+        <p id="additional-files">${language.$('releaseInfo.additionalFiles.heading', {
+            additionalFiles: language.countAdditionalFiles(fileCount, {unit: true})
+        })}</p>
         <dl>
             ${additionalFiles.map(({ title, description, files }) => fixWS`
                 <dt>${(description