From: terencehill Date: Mon, 22 Apr 2019 08:27:18 +0000 (+0200) Subject: Make translatable "" and "" X-Git-Tag: xonotic-v0.8.5~1533^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0e1028538c03e3d4025e48cd7ee770f8f8e2386e;p=xonotic%2Fxonotic-data.pk3dir.git Make translatable "" and "" --- 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");