From: terencehill Date: Mon, 22 Apr 2019 07:32:22 +0000 (+0200) Subject: Make translatable a few more keys X-Git-Tag: xonotic-v0.8.5~1533^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b0883c458c33d468925344afc31186e93c61f8cc;p=xonotic%2Fxonotic-data.pk3dir.git Make translatable a few more keys --- diff --git a/qcsrc/common/util.qc b/qcsrc/common/util.qc index 9c9896ec6..676ae4c4b 100644 --- a/qcsrc/common/util.qc +++ b/qcsrc/common/util.qc @@ -1484,6 +1484,13 @@ string translate_key(string key) case "NUMLOCK": return _("NUMLOCK"); case "CAPSLOCK": return _("CAPSLOCK"); case "SCROLLOCK": return _("SCROLLOCK"); + + case "SEMICOLON": return _("SEMICOLON"); + case "TILDE": return _("TILDE"); + case "BACKQUOTE": return _("BACKQUOTE"); + case "QUOTE": return _("QUOTE"); + case "APOSTROPHE": return _("APOSTROPHE"); + case "BACKSLASH": return _("BACKSLASH"); } if (substring(key, 0, 3) == "KP_")