Xonotic
dialog_settings_user_languagewarning.qc File Reference
+ Include dependency graph for dialog_settings_user_languagewarning.qc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void XonoticLanguageWarningDialog_fill (entity me)
 

Function Documentation

◆ XonoticLanguageWarningDialog_fill()

void XonoticLanguageWarningDialog_fill ( entity  me)

Definition at line 6 of file dialog_settings_user_languagewarning.qc.

References entity(), and makeXonoticTextLabel().

7 {
8  entity e;
9  me.TR(me);
10  me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("While connected language changes will be applied only to the menu,")));
11  me.TR(me);
12  me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("full language changes will take effect starting from the next game")));
13  me.TR(me);
14  me.TR(me);
15  // reconnect command doesn't work properly, otherwise it would replace disconnect
16  me.TD(me, 1, 2, e = makeXonoticCommandButton(_("Disconnect now"), '0 0 0', "disconnect", 0));
17  me.TD(me, 1, 2, e = makeXonoticCommandButton(_("Switch language"), '0 0 0', "prvm_language \"$_menu_prvm_language\"; menu_restart; menu_cmd languageselect", 0));
18 }
entity() spawn
entity makeXonoticTextLabel(float theAlign, string theText)
Definition: textlabel.qc:3
entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags)
+ Here is the call graph for this function: