mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: add i18n of modal (#31)
Co-authored-by: wanghaobb <wanghaobb@seeyon.com>
This commit is contained in:
parent
c92f09328a
commit
3d4d1e9f66
4 changed files with 12 additions and 2 deletions
|
|
@ -79,5 +79,8 @@ export default {
|
||||||
pause: "Pause",
|
pause: "Pause",
|
||||||
mute: "Mute",
|
mute: "Mute",
|
||||||
nextUp: "Next Up"
|
nextUp: "Next Up"
|
||||||
|
},
|
||||||
|
modal: {
|
||||||
|
close: "Close"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -84,5 +84,8 @@ export default {
|
||||||
pause: "暂停",
|
pause: "暂停",
|
||||||
mute: "静音",
|
mute: "静音",
|
||||||
nextUp: "播放列表"
|
nextUp: "播放列表"
|
||||||
|
},
|
||||||
|
modal: {
|
||||||
|
close: "关闭"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,9 @@
|
||||||
>
|
>
|
||||||
<div class="description-full" @click.stop>
|
<div class="description-full" @click.stop>
|
||||||
<span>{{ album.description }}</span>
|
<span>{{ album.description }}</span>
|
||||||
<span class="close" @click="showFullDescription = false">Close</span>
|
<span class="close" @click="showFullDescription = false">
|
||||||
|
{{ $t('modal.close') }}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,9 @@
|
||||||
>
|
>
|
||||||
<div class="description-full" @click.stop>
|
<div class="description-full" @click.stop>
|
||||||
<span>{{ playlist.description }}</span>
|
<span>{{ playlist.description }}</span>
|
||||||
<span class="close" @click="showFullDescription = false">Close</span>
|
<span class="close" @click="showFullDescription = false">
|
||||||
|
{{ $t('modal.close') }}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue