mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 21:18:01 +02:00
add t/strings for subscribers (AlbumItem)
This commit is contained in:
parent
10201bb6b1
commit
b5a585174e
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useRand } from '@/scripts/colors.js';
|
import { useRand } from '@/scripts/colors.js';
|
||||||
|
|
||||||
const rand = useRand();
|
import { useI18n } from '@/stores/misc.js';
|
||||||
|
|
||||||
|
const rand = useRand(),
|
||||||
|
{ t } = useI18n();
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
name: String,
|
name: String,
|
||||||
|
@ -24,7 +27,7 @@ defineEmits(['open-album']);
|
||||||
<img class="card-bg bg-img pop-2" :src="art" loading="lazy" alt />
|
<img class="card-bg bg-img pop-2" :src="art" loading="lazy" alt />
|
||||||
|
|
||||||
<div class="card-text">
|
<div class="card-text">
|
||||||
<h4>{{ name }}</h4>
|
<h4>{{ name.replace('subscribers', t('artist.subscribers')) }}</h4>
|
||||||
<i>{{ author }}</i>
|
<i>{{ author }}</i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue