diff options
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateAdditionalFilesListChunk.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/content/dependencies/generateAdditionalFilesListChunk.js b/src/content/dependencies/generateAdditionalFilesListChunk.js index 5804115a..e6a97898 100644 --- a/src/content/dependencies/generateAdditionalFilesListChunk.js +++ b/src/content/dependencies/generateAdditionalFilesListChunk.js @@ -18,10 +18,13 @@ export default { }, generate(slots, {html, language}) { + const capsule = + language.encapsulate('releaseInfo.additionalFiles.entry'); + const summary = html.tag('summary', html.tag('span', - language.$('releaseInfo.additionalFiles.entry', { + language.$(capsule, { title: html.tag('span', {class: 'group-name'}, slots.title), @@ -35,7 +38,7 @@ export default { const items = (html.isBlank(slots.items) ? html.tag('li', - language.$('releaseInfo.additionalFiles.entry.noFilesAvailable')) + language.$(capsule, 'noFilesAvailable')) : slots.items); const content = |