localize minor lastfm string
This commit is contained in:
parent
36d1426cbc
commit
840e0717b6
3 changed files with 6 additions and 2 deletions
|
|
@ -9,3 +9,7 @@ es = "visita también..."
|
||||||
[recent-posts]
|
[recent-posts]
|
||||||
en = "recent posts"
|
en = "recent posts"
|
||||||
es = "posts recientes"
|
es = "posts recientes"
|
||||||
|
|
||||||
|
[listening-to]
|
||||||
|
en = "listening to..."
|
||||||
|
es = "estoy escuchando..."
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ title: home
|
||||||
lastfm: true
|
lastfm: true
|
||||||
---
|
---
|
||||||
<div class="welcome-aside-left">
|
<div class="welcome-aside-left">
|
||||||
<div id="listening"></div>
|
<div id="listening" title="{{ "listening-to" | i18n }}"></div>
|
||||||
<!-- TODO: fake ad
|
<!-- TODO: fake ad
|
||||||
<div class="leftside-fake-ad"></div>
|
<div class="leftside-fake-ad"></div>
|
||||||
-->
|
-->
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ const getTrack = async () => {
|
||||||
// ARTIST: json.track.artist['#text']
|
// ARTIST: json.track.artist['#text']
|
||||||
|
|
||||||
document.getElementById("listening").innerHTML = `
|
document.getElementById("listening").innerHTML = `
|
||||||
<div class="now-playing-wrapper box" title="listening to...">
|
<div class="now-playing-wrapper box">
|
||||||
<!--<h2>listening to:</h2>-->
|
<!--<h2>listening to:</h2>-->
|
||||||
<a href="https://fm.yuki.k4w411.net/" target="_blank">
|
<a href="https://fm.yuki.k4w411.net/" target="_blank">
|
||||||
<div id="trackInfo">
|
<div id="trackInfo">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue