Add another string for translation

This commit is contained in:
Wuzzy 2016-08-08 03:57:20 +02:00
parent 40b7c35a7d
commit 5348d26a2e
3 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -1,2 +1,3 @@
Health = Leben
Breath = Atem
%s: %d/%d = %s: %d/%d

View File

@ -1,2 +1,5 @@
Health
Breath
# Default format string for progress bar-style HUD bars, e.g. “Health 5/20”
%s: %d/%d