diff options
Diffstat (limited to 'vncviewer_unix/OptionsDialog.h')
-rw-r--r-- | vncviewer_unix/OptionsDialog.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/vncviewer_unix/OptionsDialog.h b/vncviewer_unix/OptionsDialog.h index 561bad2d..0bc1119b 100644 --- a/vncviewer_unix/OptionsDialog.h +++ b/vncviewer_unix/OptionsDialog.h @@ -39,36 +39,36 @@ class OptionsDialog : public TXDialog, public TXButtonCallback, public TXCheckboxCallback, public TXEntryCallback { public: OptionsDialog(Display* dpy, OptionsDialogCallback* cb_) - : TXDialog(dpy, 400, 450, "VNC Viewer: Connection Options"), cb(cb_), - formatAndEnc(dpy, "Encoding and Color Level:", this), - inputs(dpy, "Inputs:", this), - misc(dpy, "Misc:", this), - autoSelect(dpy, "Auto select", this, false, this), - fullColour(dpy, "Full (all available colors)", this, true, this), - mediumColour(dpy, "Medium (256 colors)", this, true, this), - lowColour(dpy, "Low (64 colors)", this, true, this), - veryLowColour(dpy, "Very low (8 colors)", this, true, this), + : TXDialog(dpy, 400, 450, _("VNC Viewer: Connection Options")), cb(cb_), + formatAndEnc(dpy, _("Encoding and Color Level:"), this), + inputs(dpy, _("Inputs:"), this), + misc(dpy, _("Misc:"), this), + autoSelect(dpy, _("Auto select"), this, false, this), + fullColour(dpy, _("Full (all available colors)"), this, true, this), + mediumColour(dpy, _("Medium (256 colors)"), this, true, this), + lowColour(dpy, _("Low (64 colors)"), this, true, this), + veryLowColour(dpy, _("Very low (8 colors)"), this, true, this), tight(dpy, "Tight", this, true, this), zrle(dpy, "ZRLE", this, true, this), hextile(dpy, "Hextile", this, true, this), raw(dpy, "Raw", this, true, this), - customCompressLevel(dpy, "Custom compression level:", this, false, this), + customCompressLevel(dpy, _("Custom compression level:"), this, false, this), compressLevel(dpy, this, this, false, 30), - compressLevelLabel(dpy, "level (1=fast, 9=best)", this), - noJpeg(dpy, "Allow JPEG compression:", this, false, this), + compressLevelLabel(dpy, _("level (1=fast, 9=best)"), this), + noJpeg(dpy, _("Allow JPEG compression:"), this, false, this), qualityLevel(dpy, this, this, false, 30), - qualityLevelLabel(dpy, "quality (1=poor, 9=best)", this), - viewOnly(dpy, "View only (ignore mouse & keyboard)", this, false, this), - acceptClipboard(dpy, "Accept clipboard from server", this, false, this), - sendClipboard(dpy, "Send clipboard to server", this, false, this), - sendPrimary(dpy, "Send primary selection & cut buffer as clipboard", + qualityLevelLabel(dpy, _("quality (1=poor, 9=best)"), this), + viewOnly(dpy, _("View only (ignore mouse & keyboard)"), this, false, this), + acceptClipboard(dpy, _("Accept clipboard from server"), this, false, this), + sendClipboard(dpy, _("Send clipboard to server"), this, false, this), + sendPrimary(dpy, _("Send primary selection & cut buffer as clipboard"), this, false, this), - shared(dpy, "Shared (don't disconnect other viewers)", this, false,this), - fullScreen(dpy, "Full-screen mode", this, false, this), - useLocalCursor(dpy, "Render cursor locally", this, false, this), - dotWhenNoCursor(dpy, "Show dot when no cursor", this, false, this), - okButton(dpy, "OK", this, this, 60), - cancelButton(dpy, "Cancel", this, this, 60) + shared(dpy, _("Shared (don't disconnect other viewers)"), this, false,this), + fullScreen(dpy, _("Full-screen mode"), this, false, this), + useLocalCursor(dpy, _("Render cursor locally"), this, false, this), + dotWhenNoCursor(dpy, _("Show dot when no cursor"), this, false, this), + okButton(dpy, _("OK"), this, this, 60), + cancelButton(dpy, _("Cancel"), this, this, 60) { int y = yPad; formatAndEnc.move(xPad, y); |