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/vncviewer.cxx | |
parent | f05f355ba5390f4d686aa3028a292daca7ad0352 (diff) | |
download | tigervnc-8ca4c1dec5c821c238c55563acc9fb9057329264.tar.gz tigervnc-8ca4c1dec5c821c238c55563acc9fb9057329264.zip |
Make sure user visible strings are translated
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r-- | vncviewer/vncviewer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 8e249377..c818d335 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -115,7 +115,7 @@ static void CleanupSignalHandler(int sig) { // CleanupSignalHandler allows C++ object cleanup to happen because it calls // exit() rather than the default which is to abort. - vlog.info("CleanupSignalHandler called"); + vlog.info(_("CleanupSignalHandler called")); exit(1); } @@ -461,8 +461,8 @@ int main(int argc, char** argv) #ifndef WIN32 /* Specifying -via and -listen together is nonsense */ if (listenMode && strlen(via.getValueStr()) > 0) { - vlog.error("Parameters -listen and -via are incompatible"); - fl_alert("Parameters -listen and -via are incompatible"); + vlog.error(_("Parameters -listen and -via are incompatible")); + fl_alert(_("Parameters -listen and -via are incompatible")); exit_vncviewer(); return 1; } @@ -476,7 +476,7 @@ int main(int argc, char** argv) TcpListener listener(NULL, port); - vlog.info("Listening on port %d\n", port); + vlog.info(_("Listening on port %d\n"), port); sock = listener.accept(); } catch (rdr::Exception& e) { vlog.error("%s", e.str()); |