From 2967bf078b5e7544ecc6c6417dba23a98afcb12c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 21 Feb 2012 23:03:00 +0100 Subject: [PATCH] mark the strings for server notices as translatable --- qcsrc/common/net_notice.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/net_notice.qc b/qcsrc/common/net_notice.qc index a1d8e592e..35699480e 100644 --- a/qcsrc/common/net_notice.qc +++ b/qcsrc/common/net_notice.qc @@ -86,13 +86,13 @@ float cl_notice_run() #define OUT(s,z) drawcolorcodedstring(v3, s, '1 1 0' * z, 1, DRAWFLAG_NORMAL); v3_y += z + 4 - OUT("^1Server notices:", 32); + OUT(_("^1Server notices:"), 32); //drawcolorcodedstring(v1 + '5 5 0', "^1Server notices:", '32 32 0', 1, DRAWFLAG_NORMAL); while(_notes) { - _notice = sprintf("^7%s (^3%d sec left)", _notes.netname , rint(_notes.alpha - time)); + _notice = sprintf(_("^7%s (^3%d sec left)"), _notes.netname , rint(_notes.alpha - time)); OUT(_notice, 16); if(_notes.skin) -- 2.39.2