From 4749a682d55469b3df994ab76b29e62cf570b78c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 10 May 2022 20:14:56 -0300 Subject: rename count functions --- src/page/album-commentary.js | 6 +++--- src/page/artist.js | 6 +++--- src/page/group.js | 4 ++-- src/page/listing.js | 4 ++-- src/page/tag.js | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/page') diff --git a/src/page/album-commentary.js b/src/page/album-commentary.js index c03ae3db..90b36fc2 100644 --- a/src/page/album-commentary.js +++ b/src/page/album-commentary.js @@ -48,7 +48,7 @@ export function write(album, {wikiData}) { })}

${strings('albumCommentaryPage.infoLine', { words: `${strings.count.words(words, {unit: true})}`, - entries: `${strings.count.commentaryEntries(entries.length, {unit: true})}` + entries: `${language.countCommentaryEntries(entries.length, {unit: true})}` })}

${album.commentary && fixWS`

${strings('albumCommentaryPage.entry.title.albumCommentary')}

@@ -117,7 +117,7 @@ export function writeTargetless({wikiData}) {

${strings('commentaryIndex.title')}

${strings('commentaryIndex.infoLine', { words: `${strings.count.words(totalWords, {unit: true})}`, - entries: `${strings.count.commentaryEntries(totalEntries, {unit: true})}` + entries: `${language.countCommentaryEntries(totalEntries, {unit: true})}` })}

${strings('commentaryIndex.albumList.title')}