]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/dialog_hudpanel_timer.qc
Fix #2182 "Untranslatable strings in hudpanel_pressedkeys"
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_hudpanel_timer.qc
1 #include "dialog_hudpanel_timer.qh"
2
3 #include "checkbox.qh"
4 #include "textlabel.qh"
5
6 void XonoticHUDTimerDialog_fill(entity me)
7 {
8         entity e;
9         string panelname = "timer";
10
11         dialog_hudpanel_main_checkbox(me, panelname);
12
13         dialog_hudpanel_main_settings(me, panelname);
14
15         me.TR(me);
16                 me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Timer:")));
17         me.TR(me);
18                 me.TDempty(me, 0.2);
19                 me.TD(me, 1, 3.8, e = makeXonoticCheckBox(0, "hud_panel_timer_increment", _("Show elapsed time")));
20 }