From c12a4b795ea358d7ec288b6aaddbf56ae4072966 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 15 Mar 2019 09:52:13 +0100 Subject: [PATCH] =?UTF-8?q?Make=20=E2=80=9Cnow=20playing=E2=80=9D=20transl?= =?UTF-8?q?atable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mods/ITEMS/mcl_jukebox/init.lua | 2 +- mods/ITEMS/mcl_jukebox/locale/mcl_jukebox.de.tr | 1 + mods/ITEMS/mcl_jukebox/locale/template.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_jukebox/init.lua b/mods/ITEMS/mcl_jukebox/init.lua index e714c79dec..fb495e78a8 100644 --- a/mods/ITEMS/mcl_jukebox/init.lua +++ b/mods/ITEMS/mcl_jukebox/init.lua @@ -50,7 +50,7 @@ end local function now_playing(player, track_id) local playername = player:get_player_name() local hud = active_huds[playername] - local text = "Now playing: " .. recorddata[track_id][2] .. "—" .. recorddata[track_id][1] + local text = S("Now playing: @1—@2", recorddata[track_id][2], recorddata[track_id][1]) if not hud_sequence_numbers[playername] then hud_sequence_numbers[playername] = 1 diff --git a/mods/ITEMS/mcl_jukebox/locale/mcl_jukebox.de.tr b/mods/ITEMS/mcl_jukebox/locale/mcl_jukebox.de.tr index 9655e5005f..60dea78d0a 100644 --- a/mods/ITEMS/mcl_jukebox/locale/mcl_jukebox.de.tr +++ b/mods/ITEMS/mcl_jukebox/locale/mcl_jukebox.de.tr @@ -7,3 +7,4 @@ Music Disc=Musikplatte Jukebox=Musikbox Jukeboxes play music when they're supplied with a music disc.=Musikboxen spielen Musik, wenn man ihnen eine Musikplatte gibt. Place a music disc into an empty jukebox to insert the music disc and play music. If the jukebox already has a music disc, you will retrieve this music disc first. The music can only be heard by you, not by other players.=Platzieren Sie eine Musikplatte in eine leere Musikbox, um die Musikplatte einzulegen und Musik zu spielen. Wenn die Musikbox schon eine Musikplatte hat, werden Sie zuerst diese Musikplatte erhalten. Die Musik kann nur von Ihnen gehört werden, aber nicht von anderen Spielern. +Now playing: @1—@2=Sie hören: @1 – @2 diff --git a/mods/ITEMS/mcl_jukebox/locale/template.txt b/mods/ITEMS/mcl_jukebox/locale/template.txt index b2923e905b..5b46ce08a3 100644 --- a/mods/ITEMS/mcl_jukebox/locale/template.txt +++ b/mods/ITEMS/mcl_jukebox/locale/template.txt @@ -7,3 +7,4 @@ Music Disc= Jukebox= Jukeboxes play music when they're supplied with a music disc.= Place a music disc into an empty jukebox to insert the music disc and play music. If the jukebox already has a music disc, you will retrieve this music disc first. The music can only be heard by you, not by other players.= +Now playing: @1—@2=