]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_settings_input_userbind.c
Add Archer to the credits
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_settings_input_userbind.c
index 38660b89a8d2a8544d69c31594d2564391a1f4b0..aaf182fcd80e93a92e15ca4ca5af48ae27481534 100644 (file)
@@ -2,7 +2,7 @@
 CLASS(XonoticUserbindEditDialog) EXTENDS(XonoticDialog)
        METHOD(XonoticUserbindEditDialog, loadUserBind, void(entity, string, string, string))
        METHOD(XonoticUserbindEditDialog, fill, void(entity))
-       ATTRIB(XonoticUserbindEditDialog, title, string, "User defined key bind")
+       ATTRIB(XonoticUserbindEditDialog, title, string, _("User defined key bind"))
        ATTRIB(XonoticUserbindEditDialog, color, vector, SKINCOLOR_DIALOG_USERBIND)
        ATTRIB(XonoticUserbindEditDialog, intendedWidth, float, 0.7)
        ATTRIB(XonoticUserbindEditDialog, rows, float, 4)
@@ -22,7 +22,7 @@ void XonoticUserbindEditDialog_Save(entity btn, entity me)
        Dialog_Close(btn, me);
 }
 
-void loadUserBindXonoticUserbindEditDialog(entity me, string theName, string theCommandPress, string theCommandRelease)
+void XonoticUserbindEditDialog_loadUserBind(entity me, string theName, string theCommandPress, string theCommandRelease)
 {
        me.nameBox.setText(me.nameBox, theName);
                me.nameBox.keyDown(me.nameBox, K_END, 0, 0);
@@ -32,23 +32,23 @@ void loadUserBindXonoticUserbindEditDialog(entity me, string theName, string the
                me.nameBox.keyDown(me.commandReleaseBox, K_END, 0, 0);
 }
 
-void fillXonoticUserbindEditDialog(entity me)
+void XonoticUserbindEditDialog_fill(entity me)
 {
        entity e;
        me.TR(me);
-               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Name:"));
+               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Name:")));
                me.TD(me, 1, me.columns - 1, me.nameBox = makeXonoticInputBox(0, string_null));
        me.TR(me);
-               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Command when pressed:"));
+               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Command when pressed:")));
                me.TD(me, 1, me.columns - 1, me.commandPressBox = makeXonoticInputBox(0, string_null));
        me.TR(me);
-               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Command when released:"));
+               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Command when released:")));
                me.TD(me, 1, me.columns - 1, me.commandReleaseBox = makeXonoticInputBox(0, string_null));
        me.TR(me);
-               me.TD(me, 1, me.columns / 2, e = makeXonoticButton("Save", '0 0 0'));
+               me.TD(me, 1, me.columns / 2, e = makeXonoticButton(_("Save"), '0 0 0'));
                        e.onClick = XonoticUserbindEditDialog_Save;
                        e.onClickEntity = me;
-               me.TD(me, 1, me.columns / 2, e = makeXonoticButton("Cancel", '0 0 0'));
+               me.TD(me, 1, me.columns / 2, e = makeXonoticButton(_("Cancel"), '0 0 0'));
                        e.onClick = Dialog_Close;
                        e.onClickEntity = me;
 }