mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
Make “now playing” translatable
This commit is contained in:
parent
1c27cbe4f6
commit
c12a4b795e
3 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=
|
||||
|
|
Loading…
Reference in a new issue