mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-11-28 01:53:46 +01:00
Add another string for translation
This commit is contained in:
parent
40b7c35a7d
commit
5348d26a2e
2
init.lua
2
init.lua
@ -164,7 +164,7 @@ function hb.register_hudbar(identifier, text_color, label, textures, default_sta
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
if format_string == nil then
|
if format_string == nil then
|
||||||
format_string = "%s: %d/%d"
|
format_string = S("%s: %d/%d")
|
||||||
end
|
end
|
||||||
|
|
||||||
hudtable.add_all = function(player, hudtable, start_value, start_max, start_hidden)
|
hudtable.add_all = function(player, hudtable, start_value, start_max, start_hidden)
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
Health = Leben
|
Health = Leben
|
||||||
Breath = Atem
|
Breath = Atem
|
||||||
|
%s: %d/%d = %s: %d/%d
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
Health
|
Health
|
||||||
Breath
|
Breath
|
||||||
|
|
||||||
|
# Default format string for progress bar-style HUD bars, e.g. “Health 5/20”
|
||||||
|
%s: %d/%d
|
||||||
|
Loading…
Reference in New Issue
Block a user