]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
mark the strings for server notices as translatable
authorRudolf Polzer <divverent@alientrap.org>
Tue, 21 Feb 2012 22:03:00 +0000 (23:03 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 21 Feb 2012 22:03:00 +0000 (23:03 +0100)
qcsrc/common/net_notice.qc

index a1d8e592e6e459f73200cdbe466e5d311d9c4a34..35699480ede524e58f2ded7425dd7a8b012c0731 100644 (file)
@@ -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)