diff --git a/locale/mtimer.de.tr b/locale/mtimer.de.tr index 09b240b..7fae889 100644 --- a/locale/mtimer.de.tr +++ b/locale/mtimer.de.tr @@ -52,6 +52,11 @@ Month=Monat Seconds=Sekunden Year=Jahr +# HUD Element Scaling Information +If set to 1 the HUD element is unscaled.=Mit 1 als Wert wird die Anzeige nicht vergrößert. +All values larger than 1 scale the element up.=Alle Werte über 1 vergrößern die Anzeige. +Clicking the +/- button changes the size by 1.=Ein Klick auf +/- verändert die Größe um 1. + # Timer Format Variables In-Game Time=Spielzeit Real-World Date=Reale Zeit diff --git a/system/formspec/formspec_creation.lua b/system/formspec/formspec_creation.lua index f228bed..9c5d881 100644 --- a/system/formspec/formspec_creation.lua +++ b/system/formspec/formspec_creation.lua @@ -237,6 +237,12 @@ mtimer.dialog.hud_element_size = function (player_name) local player = minetest.get_player_by_name(player_name) local size = player:get_meta():get_string(m.meta.hud_element_size.key) + local information = table.concat({ + S('If set to 1 the HUD element is unscaled.'), + S('All values larger than 1 scale the element up.'), + S('Clicking the +/- button changes the size by 1.') + }, '\n') + mtimer.show_formspec('mtimer:hud_element_size', { title = S('HUD Element Size'), show_to = player_name, @@ -245,7 +251,7 @@ mtimer.dialog.hud_element_size = function (player_name) 'button[0,0;0.5,0.5;substract;'..S('-')..']', 'field[0.75,0;0.75,0.5;hud_element_size;;'..size..']', 'button[1.75,0;0.5,0.5;add;'..S('+')..']', - 'label[0.025,0.75;'..S('Information')..']' + 'label[0.025,1;'..information..']', } }) end