From 0e1028538c03e3d4025e48cd7ee770f8f8e2386e Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 22 Apr 2019 10:27:18 +0200 Subject: [PATCH] Make translatable "" and "" --- qcsrc/common/util.qc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qcsrc/common/util.qc b/qcsrc/common/util.qc index af7bc76ca..c2b9138c6 100644 --- a/qcsrc/common/util.qc +++ b/qcsrc/common/util.qc @@ -1442,6 +1442,12 @@ string translate_key(string key) { if (prvm_language == "en") return key; + if (substring(key, 0, 1) == "<") + { + if (key == "") return _(""); + if (key == "") return _(""); + } + switch(key) { case "TAB": return _("TAB"); -- 2.39.2