summaryrefslogtreecommitdiffstats
path: root/vncviewer/FLTKPixelBuffer.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-09-22 12:54:26 +0200
committerPierre Ossman <ossman@cendio.se>2014-09-22 13:14:11 +0200
commit8ca4c1dec5c821c238c55563acc9fb9057329264 (patch)
tree64790ca926172492549d37ab58ca97c0177ed5a7 /vncviewer/FLTKPixelBuffer.cxx
parentf05f355ba5390f4d686aa3028a292daca7ad0352 (diff)
downloadtigervnc-8ca4c1dec5c821c238c55563acc9fb9057329264.tar.gz
tigervnc-8ca4c1dec5c821c238c55563acc9fb9057329264.zip
Make sure user visible strings are translated
Diffstat (limited to 'vncviewer/FLTKPixelBuffer.cxx')
-rw-r--r--vncviewer/FLTKPixelBuffer.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vncviewer/FLTKPixelBuffer.cxx b/vncviewer/FLTKPixelBuffer.cxx
index 588e2f83..1eafe103 100644
--- a/vncviewer/FLTKPixelBuffer.cxx
+++ b/vncviewer/FLTKPixelBuffer.cxx
@@ -20,6 +20,7 @@
#include <rfb/Exception.h>
+#include "i18n.h"
#include "FLTKPixelBuffer.h"
FLTKPixelBuffer::FLTKPixelBuffer(int width, int height) :
@@ -29,7 +30,7 @@ FLTKPixelBuffer::FLTKPixelBuffer(int width, int height) :
{
data = new rdr::U8[width * height * format.bpp/8];
if (data == NULL)
- throw rfb::Exception("Error: Not enough memory for framebuffer");
+ throw rfb::Exception(_("Error: Not enough memory for framebuffer"));
}
FLTKPixelBuffer::~FLTKPixelBuffer()