Xonotic
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
+
Enumerator
i
m
o
p
r
s
t
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
dialog_settings_user_languagewarning.qc
Go to the documentation of this file.
1
#include "
dialog_settings_user_languagewarning.qh
"
2
3
#include "
textlabel.qh
"
4
#include "
commandbutton.qh
"
5
6
void
XonoticLanguageWarningDialog_fill
(
entity
me)
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
entity() spawn
makeXonoticTextLabel
entity makeXonoticTextLabel(float theAlign, string theText)
Definition:
textlabel.qc:3
textlabel.qh
dialog_settings_user_languagewarning.qh
makeXonoticCommandButton
entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags)
Definition:
commandbutton.qc:10
XonoticLanguageWarningDialog_fill
void XonoticLanguageWarningDialog_fill(entity me)
Definition:
dialog_settings_user_languagewarning.qc:6
commandbutton.qh
menu
xonotic
dialog_settings_user_languagewarning.qc
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13