diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-09-22 12:54:26 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-09-22 13:14:11 +0200 |
commit | 8ca4c1dec5c821c238c55563acc9fb9057329264 (patch) | |
tree | 64790ca926172492549d37ab58ca97c0177ed5a7 /vncviewer/CConn.cxx | |
parent | f05f355ba5390f4d686aa3028a292daca7ad0352 (diff) | |
download | tigervnc-8ca4c1dec5c821c238c55563acc9fb9057329264.tar.gz tigervnc-8ca4c1dec5c821c238c55563acc9fb9057329264.zip |
Make sure user visible strings are translated
Diffstat (limited to 'vncviewer/CConn.cxx')
-rw-r--r-- | vncviewer/CConn.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx index 858840c7..23f07b4d 100644 --- a/vncviewer/CConn.cxx +++ b/vncviewer/CConn.cxx @@ -381,7 +381,7 @@ void CConn::framebufferUpdateEnd() void CConn::setColourMapEntries(int firstColour, int nColours, rdr::U16* rgbs) { - vlog.error("Invalid SetColourMapEntries from server!"); + vlog.error(_("Invalid SetColourMapEntries from server!")); } void CConn::bell() @@ -426,15 +426,15 @@ void CConn::dataRect(const Rect& r, int encoding) lastServerEncoding = encoding; if (!Decoder::supported(encoding)) { - fprintf(stderr, "Unknown rect encoding %d\n", encoding); - throw Exception("Unknown rect encoding"); + vlog.error(_("Unknown rect encoding %d"), encoding); + throw Exception(_("Unknown rect encoding")); } if (!decoders[encoding]) { decoders[encoding] = Decoder::createDecoder(encoding, this); if (!decoders[encoding]) { - fprintf(stderr, "Unknown rect encoding %d\n", encoding); - throw Exception("Unknown rect encoding"); + vlog.error(_("Unknown rect encoding %d"), encoding); + throw Exception(_("Unknown rect encoding")); } } decoders[encoding]->readRect(r, desktop->getFramebuffer()); |