diff options
Diffstat (limited to 'src/content/dependencies/generateFlashCoverArtwork.js')
-rw-r--r-- | src/content/dependencies/generateFlashCoverArtwork.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateFlashCoverArtwork.js b/src/content/dependencies/generateFlashCoverArtwork.js index 7b996827..bcf2a55c 100644 --- a/src/content/dependencies/generateFlashCoverArtwork.js +++ b/src/content/dependencies/generateFlashCoverArtwork.js @@ -1,5 +1,6 @@ export default { contentDependencies: ['generateCoverArtwork'], + extraDependencies: ['language'], relations: (relation) => ({ coverArtwork: @@ -17,10 +18,11 @@ export default { flash.coverArtDimensions, }), - generate: (data, relations) => + generate: (data, relations, {language}) => relations.coverArtwork.slots({ path: data.path, color: data.color, dimensions: data.dimensions, + alt: language.$('misc.alt.flashArt'), }), }; |