diff --git a/locales/de-DE.json b/locales/de-DE.json index 36a22c2..61689ef 100644 --- a/locales/de-DE.json +++ b/locales/de-DE.json @@ -20,5 +20,21 @@ "tip_year": "Tipp: Gib das Erscheinungsjahr des Songs ein.", "correct": "Richtig! 🎉", "wrong": "Falsch 😢", - "right_answer": "Die richtige Antwort ist:" + "right_answer": "Die richtige Antwort ist:", + "songs_in_playlist": "Songs in Playlist:", + "score": "Richtige", + "percent": "% richtig", + "play_duration": "Abspielzeit", + "start_position": "Startposition", + "start": "Anfang", + "random": "Zufällig", + "unlimited": "Unendlich", + "pause": "⏸️ Pause", + "play": "▶️ Play", + "end_quiz": "Quiz beenden", + "song": "Song", + "artist": "Künstler", + "album": "Album", + "year": "Jahr", + "open_on_spotify": "Auf Spotify öffnen" } \ No newline at end of file diff --git a/locales/en-EN.json b/locales/en-EN.json index 91d5ad4..18b18af 100644 --- a/locales/en-EN.json +++ b/locales/en-EN.json @@ -20,5 +20,21 @@ "tip_year": "Tip: Enter the release year of the song.", "correct": "Correct! 🎉", "wrong": "Wrong 😢", - "right_answer": "The correct answer is:" + "right_answer": "The correct answer is:", + "songs_in_playlist": "Songs in playlist:", + "score": "Correct", + "percent": "% correct", + "play_duration": "Play duration", + "start_position": "Start position", + "start": "Start", + "random": "Random", + "unlimited": "Unlimited", + "pause": "⏸️ Pause", + "play": "▶️ Play", + "end_quiz": "End quiz", + "song": "Song", + "artist": "Artist", + "album": "Album", + "year": "Year", + "open_on_spotify": "Open on Spotify" } \ No newline at end of file diff --git a/templates/quiz.html b/templates/quiz.html index 05f3b34..074943f 100644 --- a/templates/quiz.html +++ b/templates/quiz.html @@ -178,7 +178,7 @@ function updatePlayButton(state) { let playButton = document.getElementById('playPauseBtn'); if (state && !state.paused) { - playButton.innerHTML = '⏸️ Pause'; + playButton.innerHTML = i18n.pause; } else { playButton.innerHTML = '▶️ Play'; } @@ -291,11 +291,11 @@ resultContainer.innerHTML += `