aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/MonitorIndicesParameter.cxx
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/MonitorIndicesParameter.cxx
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/MonitorIndicesParameter.cxx')
-rw-r--r--vncviewer/MonitorIndicesParameter.cxx12
1 files changed, 6 insertions, 6 deletions
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;
}