« get me outta code hell

rename count functions - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/group.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-05-10 20:14:56 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-05-10 20:14:56 -0300
commit4749a682d55469b3df994ab76b29e62cf570b78c (patch)
tree2ed656631d3ea7c6684a201f418ad74d5303fef9 /src/page/group.js
parent6bcb224a35eb8b6e6c04b007c3faf168996779a4 (diff)
rename count functions
Diffstat (limited to 'src/page/group.js')
-rw-r--r--src/page/group.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/page/group.js b/src/page/group.js
index 0a6cee1..7ffade6 100644
--- a/src/page/group.js
+++ b/src/page/group.js
@@ -127,8 +127,8 @@ export function write(group, {wikiData}) {
                     <h1>${strings('groupGalleryPage.title', {group: group.name})}</h1>
                     <p class="quick-info">${
                         strings('groupGalleryPage.infoLine', {
-                            tracks: `<b>${strings.count.tracks(tracks.length, {unit: true})}</b>`,
-                            albums: `<b>${strings.count.albums(albums.length, {unit: true})}</b>`,
+                            tracks: `<b>${language.countTracks(tracks.length, {unit: true})}</b>`,
+                            albums: `<b>${language.countAlbums(albums.length, {unit: true})}</b>`,
                             time: `<b>${strings.count.duration(totalDuration, {unit: true})}</b>`
                         })
                     }</p>