« 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/album.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/page/album.js')
-rw-r--r--src/page/album.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/page/album.js b/src/page/album.js
index d24ebafd..45e5439a 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -30,7 +30,7 @@ export function write(album, {wikiData}) {
         getArtistString,
         getLinkThemeString,
         link,
-        strings
+        language
     }) => {
         const itemOpts = {
             duration: language.formatDuration(track.duration),
@@ -108,14 +108,14 @@ export function write(album, {wikiData}) {
             getLinkThemeString,
             getThemeString,
             link,
-            strings,
+            language,
             transformMultiline
         }) => {
             const trackToListItem = bindOpts(unbound_trackToListItem, {
                 getArtistString,
                 getLinkThemeString,
                 link,
-                strings
+                language
             });
 
             const cover = getAlbumCover(album);
@@ -234,7 +234,7 @@ export function write(album, {wikiData}) {
                     fancifyURL,
                     getLinkThemeString,
                     link,
-                    strings,
+                    language,
                     transformMultiline,
                     wikiData
                 }),
@@ -250,7 +250,7 @@ export function write(album, {wikiData}) {
                         album.tracks.length > 1 &&
                         {
                             divider: false,
-                            html: generateAlbumNavLinks(album, null, {strings})
+                            html: generateAlbumNavLinks(album, null, {language})
                         }
                     ],
                     content: html.tag('div', generateAlbumChronologyLinks(album, null, {generateChronologyLinks}))
@@ -268,7 +268,7 @@ export function generateAlbumSidebar(album, currentTrack, {
     fancifyURL,
     getLinkThemeString,
     link,
-    strings,
+    language,
     transformMultiline,
     wikiData
 }) {
@@ -385,7 +385,7 @@ export function generateAlbumSidebar(album, currentTrack, {
 
 export function generateAlbumNavLinks(album, currentTrack, {
     generatePreviousNextLinks,
-    strings
+    language
 }) {
     if (album.tracks.length <= 1) {
         return '';