« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/tag.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/page/tag.js')
-rw-r--r--src/page/tag.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/page/tag.js b/src/page/tag.js
index 09d0beb..af2e394 100644
--- a/src/page/tag.js
+++ b/src/page/tag.js
@@ -37,14 +37,14 @@ export function write(tag, {wikiData}) {
             strings,
             to
         }) => ({
-            title: strings('tagPage.title', {tag: tag.name}),
+            title: language.$('tagPage.title', {tag: tag.name}),
             theme: getThemeString(tag.color),
 
             main: {
                 classes: ['top-index'],
                 content: fixWS`
-                    <h1>${strings('tagPage.title', {tag: tag.name})}</h1>
-                    <p class="quick-info">${strings('tagPage.infoLine', {
+                    <h1>${language.$('tagPage.title', {tag: tag.name})}</h1>
+                    <p class="quick-info">${language.$('tagPage.infoLine', {
                         coverArts: language.countCoverArts(things.length, {unit: true})
                     })}</p>
                     <div class="grid-listing">
@@ -92,10 +92,10 @@ function generateTagNav(tag, {
             wikiData.wikiInfo.enableListings &&
             {
                 path: ['localized.listingIndex'],
-                title: strings('listingIndex.title')
+                title: language.$('listingIndex.title')
             },
             {
-                html: strings('tagPage.nav.tag', {
+                html: language.$('tagPage.nav.tag', {
                     tag: link.tag(tag, {class: 'current'})
                 })
             },