diff options
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 |
commit | bd561e1d74b373818fcf2e2f8b53aa568c6be454 (patch) | |
tree | 670d9d37c50189109a311ce1c7b3058b41d62fac | |
parent | 25840b9adb7d547f2545b9555402f44b9c8b9f13 (diff) |
content: generate{Album,Track}InfoPage: "view additional files"
-rw-r--r-- | src/content/dependencies/generateAlbumInfoPage.js | 6 | ||||
-rw-r--r-- | src/content/dependencies/generateTrackInfoPage.js | 6 | ||||
-rw-r--r-- | src/strings-default.yaml | 2 |
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}" |