]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make translatable a few more keys
authorterencehill <piuntn@gmail.com>
Mon, 22 Apr 2019 07:32:22 +0000 (09:32 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 22 Apr 2019 07:32:22 +0000 (09:32 +0200)
qcsrc/common/util.qc

index 9c9896ec6d03418a7f694c9338ee184f9538cf5a..676ae4c4b3e6d0365f7a44e322d80cd5eebfbbdc 100644 (file)
@@ -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_")