aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2021-07-19 17:28:15 +0200
committerPierre Ossman <ossman@cendio.se>2021-07-19 17:28:15 +0200
commitab2c2ddb89af41221ba7af00823be528a9dd6624 (patch)
tree70a6c7f5dfeff6d58626e707745ba7937cc3acf9 /vncviewer
parent1bb96132376c3039903d13b78196e75cdf22c14b (diff)
downloadtigervnc-ab2c2ddb89af41221ba7af00823be528a9dd6624.tar.gz
tigervnc-ab2c2ddb89af41221ba7af00823be528a9dd6624.zip
Avoiding final period in log messages
Try to be consistent with existing log messages.
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/MonitorArrangement.cxx6
-rw-r--r--vncviewer/MonitorIndicesParameter.cxx12
-rw-r--r--vncviewer/vncviewer.cxx2
3 files changed, 10 insertions, 10 deletions
diff --git a/vncviewer/MonitorArrangement.cxx b/vncviewer/MonitorArrangement.cxx
index 04c2ab98..4c8e8db6 100644
--- a/vncviewer/MonitorArrangement.cxx
+++ b/vncviewer/MonitorArrangement.cxx
@@ -400,13 +400,13 @@ int MonitorArrangement::get_monitor_name(int m, char name[], size_t name_len)
Fl::screen_xywh(x, y, w, h, m);
if (!XQueryExtension(fl_display, "RANDR", &xi_major, &ev, &err)) {
- vlog.info(_("Failed to get monitor name because X11 RandR could not be found."));
+ vlog.info(_("Failed to get monitor name because X11 RandR could not be found"));
return -1;
}
XRRScreenResources *res = XRRGetScreenResources(fl_display, DefaultRootWindow(fl_display));
if (!res) {
- vlog.error(_("Failed to get XRRScreenResources for root window."));
+ vlog.error(_("Failed to get XRRScreenResources for root window"));
return -1;
}
@@ -427,7 +427,7 @@ int MonitorArrangement::get_monitor_name(int m, char name[], size_t name_len)
if (monitor_found) {
XRROutputInfo *output = XRRGetOutputInfo(fl_display, res, crtc->outputs[j]);
if (!output) {
- vlog.error(_("Failed to get XRROutputInfo for crtc %d, output %d."), i, j);
+ vlog.error(_("Failed to get XRROutputInfo for crtc %d, output %d"), i, j);
continue;
}
diff --git a/vncviewer/MonitorIndicesParameter.cxx b/vncviewer/MonitorIndicesParameter.cxx
index 57055f61..ebfc994a 100644
--- a/vncviewer/MonitorIndicesParameter.cxx
+++ b/vncviewer/MonitorIndicesParameter.cxx
@@ -44,7 +44,7 @@ std::set<int> MonitorIndicesParameter::getParam()
std::vector<MonitorIndicesParameter::Monitor> monitors = fetchMonitors();
if (monitors.size() <= 0) {
- vlog.error(_("Failed to get monitors."));
+ vlog.error(_("Failed to get monitors"));
return indices;
}
@@ -75,7 +75,7 @@ bool MonitorIndicesParameter::setParam(const char* value)
return false;
if (!parseIndices(value, &indices)) {
- vlog.error(_("Invalid FullScreenSelectedMonitors configuration."));
+ vlog.error(_("Invalid FullScreenSelectedMonitors configuration"));
return false;
}
@@ -83,7 +83,7 @@ bool MonitorIndicesParameter::setParam(const char* value)
index = *it + 1;
if (index <= 0 || index > Fl::screen_count())
- vlog.error(_("Monitor index %d does not exist."), index);
+ vlog.error(_("Monitor index %d does not exist"), index);
}
return StringParameter::setParam(value);
@@ -97,7 +97,7 @@ bool MonitorIndicesParameter::setParam(std::set<int> indices)
std::vector<MonitorIndicesParameter::Monitor> monitors = fetchMonitors();
if (monitors.size() <= 0) {
- vlog.error(_("Failed to get monitors."));
+ vlog.error(_("Failed to get monitors"));
// Don't return, store the configuration anyways.
}
@@ -135,12 +135,12 @@ static bool parseNumber(std::string number, std::set<int> *indices)
int v = strtol(number.c_str(), NULL, 0);
if (v <= 0) {
- vlog.error(_("The given monitor index(%s) is too small to be valid."), number.c_str());
+ vlog.error(_("The given monitor index(%s) is too small to be valid"), number.c_str());
return false;
}
if (v > INT_MAX) {
- vlog.error(_("The given monitor index (%s) is too large to be valid."), number.c_str());
+ vlog.error(_("The given monitor index (%s) is too large to be valid"), number.c_str());
return false;
}
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index 6a84c7cb..c93a6f75 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -439,7 +439,7 @@ static void
migrateDeprecatedOptions()
{
if (fullScreenAllMonitors) {
- vlog.info(_("FullScreenAllMonitors is deprecated, set FullScreenMode to 'all' instead."));
+ vlog.info(_("FullScreenAllMonitors is deprecated, set FullScreenMode to 'all' instead"));
fullScreenMode.setParam("all");
}