diff options
author | Wuzzy <almikes@aol.com> | 2016-08-08 03:57:20 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-08 03:57:20 +0200 |
commit | 5348d26a2e558bdfd3ec8901c5d4428a64b00c75 (patch) | |
tree | bf68fac907cabc0e5b19205a514231e226f13e73 | |
parent | 40b7c35a7dbf439988a0fbd8f8c651c68256b431 (diff) |
Add another string for translation
-rw-r--r-- | init.lua | 2 | ||||
-rw-r--r-- | locale/de.txt | 1 | ||||
-rw-r--r-- | locale/template.txt | 3 |
3 files changed, 5 insertions, 1 deletions
@@ -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) diff --git a/locale/de.txt b/locale/de.txt index 08b8355..578764e 100644 --- a/locale/de.txt +++ b/locale/de.txt @@ -1,2 +1,3 @@ Health = Leben Breath = Atem +%s: %d/%d = %s: %d/%d diff --git a/locale/template.txt b/locale/template.txt index c8aff8c..0a26b8f 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -1,2 +1,5 @@ Health Breath + +# Default format string for progress bar-style HUD bars, e.g. “Health 5/20” +%s: %d/%d |