mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-08-19 20:54:09 +02: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
|
||||
if format_string == nil then
|
||||
format_string = "%s: %d/%d"
|
||||
format_string = S("%s: %d/%d")
|
||||
end
|
||||
|
||||
hudtable.add_all = function(player, hudtable, start_value, start_max, start_hidden)
|
||||
|
@ -1,2 +1,3 @@
|
||||
Health = Leben
|
||||
Breath = Atem
|
||||
%s: %d/%d = %s: %d/%d
|
||||
|
@ -1,2 +1,5 @@
|
||||
Health
|
||||
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