diff options
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 4 |
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 |