From: Rudolf Polzer Date: Tue, 21 Feb 2012 22:03:00 +0000 (+0100) Subject: mark the strings for server notices as translatable X-Git-Tag: xonotic-v0.6.0~57 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2967bf078b5e7544ecc6c6417dba23a98afcb12c;p=xonotic%2Fxonotic-data.pk3dir.git mark the strings for server notices as translatable --- 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)