From 05d2779856eda44ed6c8779ab55380fa006cfcb4 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 9 Apr 2018 16:24:22 +0200 Subject: [PATCH] Don't even try to translate keys if game isn't translated --- qcsrc/common/util.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/common/util.qc b/qcsrc/common/util.qc index cb06ed9ea..fcbf74a34 100644 --- a/qcsrc/common/util.qc +++ b/qcsrc/common/util.qc @@ -1308,6 +1308,8 @@ float get_model_parameters(string m, float sk) string translate_key(string key) { + if (prvm_language == "en") return key; + switch(key) { case "TAB": return _("TAB"); -- 2.39.2