audio_lib: rename "system" type into "notifications"
This commit is contained in:
parent
7478853c58
commit
a614263dac
@ -3,7 +3,7 @@
|
||||
# reviewer(s):
|
||||
|
||||
##[ src/_load.lua ]##
|
||||
System=
|
||||
Notifications=
|
||||
Countdown ticks=Countdownticks
|
||||
Someone joins=Jemand tritt bei
|
||||
Someone leaves=Jemand geht
|
||||
|
@ -3,7 +3,7 @@
|
||||
# reviewer(s):
|
||||
|
||||
##[ src/_load.lua ]##
|
||||
System=
|
||||
Notifications=
|
||||
Countdown ticks=
|
||||
Someone joins=
|
||||
Someone leaves=
|
||||
|
@ -3,7 +3,7 @@
|
||||
# reviewer(s):
|
||||
|
||||
##[ src/_load.lua ]##
|
||||
System=
|
||||
Notifications=
|
||||
Countdown ticks=
|
||||
Someone joins=
|
||||
Someone leaves=
|
||||
|
@ -3,7 +3,7 @@
|
||||
# reviewer(s):
|
||||
|
||||
##[ src/_load.lua ]##
|
||||
System=Sistema
|
||||
Notifications=Notifiche
|
||||
Countdown ticks=Colpo di conto alla rovescia
|
||||
Someone joins=Qualcunə entra
|
||||
Someone leaves=Qualcunə abbandona
|
||||
|
@ -3,7 +3,7 @@
|
||||
# reviewer(s):
|
||||
|
||||
##[ src/_load.lua ]##
|
||||
System=
|
||||
Notifications=
|
||||
Countdown ticks=Odliczanie tyknięć
|
||||
Someone joins=Ktoś dołącza
|
||||
Someone leaves=Ktoś wychodzi
|
||||
|
@ -3,7 +3,7 @@
|
||||
# reviewer(s):
|
||||
|
||||
##[ src/_load.lua ]##
|
||||
System=
|
||||
Notifications=
|
||||
Countdown ticks=
|
||||
Someone joins=
|
||||
Someone leaves=
|
||||
|
@ -3,7 +3,7 @@
|
||||
# reviewer(s):
|
||||
|
||||
##[ src/_load.lua ]##
|
||||
System=
|
||||
Notifications=
|
||||
Countdown ticks=
|
||||
Someone joins=
|
||||
Someone leaves=
|
||||
|
@ -149,11 +149,11 @@ add_new_parameter("SHOW_REJOIN_DIALOG", {
|
||||
------------------AUDIO_LIB-------------------
|
||||
----------------------------------------------
|
||||
|
||||
audio_lib.register_type("arena_lib", "system", S("System"))
|
||||
audio_lib.register_type("arena_lib", "notifications", S("Notifications"))
|
||||
|
||||
audio_lib.register_sound("sfx", "arenalib_countdown", S("Countdown ticks"))
|
||||
audio_lib.register_sound("system", "arenalib_match_join", S("Someone joins"))
|
||||
audio_lib.register_sound("system", "arenalib_match_leave", S("Someone leaves"))
|
||||
audio_lib.register_sound("notifications", "arenalib_match_join", S("Someone joins"))
|
||||
audio_lib.register_sound("notifications", "arenalib_match_leave", S("Someone leaves"))
|
||||
|
||||
local function register_bgm(dir)
|
||||
for _, f_name in pairs(minetest.get_dir_list(dir, false)) do
|
||||
|
@ -247,7 +247,7 @@ function arena_lib.register_minigame(mod, def)
|
||||
|
||||
if type(leave_sound) == "table" then
|
||||
leave_name = leave_sound.name
|
||||
audio_lib.register_sound("system", leave_name, leave_sound.description, leave_sound.params)
|
||||
audio_lib.register_sound("notifications", leave_name, leave_sound.description, leave_sound.params)
|
||||
else -- o `false`
|
||||
leave_name = leave_sound
|
||||
end
|
||||
@ -264,7 +264,7 @@ function arena_lib.register_minigame(mod, def)
|
||||
|
||||
if type(audio) == "table" then
|
||||
local audio_name = audio.name
|
||||
audio_lib.register_sound("system", audio.name, audio.description, audio.params)
|
||||
audio_lib.register_sound("notifications", audio.name, audio.description, audio.params)
|
||||
mod_ref.sounds[k] = audio.name
|
||||
else -- o `false`
|
||||
mod_ref.sounds[k] = audio
|
||||
|
Loading…
x
Reference in New Issue
Block a user