diff options
author | Pierre Ossman <ossman@cendio.se> | 2021-09-08 09:18:57 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2021-09-08 10:36:17 +0200 |
commit | aeddba1774fd04ef3e89ae016dbb90c3de9279fb (patch) | |
tree | d3a5d3561593bdb71ac4b8442ccaf394758649d7 /vncviewer/MonitorArrangement.cxx | |
parent | 76d4a33b1532ba3eb0c1cb9e7fdd9e813bebdbef (diff) | |
download | tigervnc-aeddba1774fd04ef3e89ae016dbb90c3de9279fb.tar.gz tigervnc-aeddba1774fd04ef3e89ae016dbb90c3de9279fb.zip |
Clean up some error strings
Try to reuse and split things so that it makes things easier for the
translators.
Diffstat (limited to 'vncviewer/MonitorArrangement.cxx')
-rw-r--r-- | vncviewer/MonitorArrangement.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/MonitorArrangement.cxx b/vncviewer/MonitorArrangement.cxx index 93227c59..b1d30128 100644 --- a/vncviewer/MonitorArrangement.cxx +++ b/vncviewer/MonitorArrangement.cxx @@ -406,7 +406,7 @@ int MonitorArrangement::get_monitor_name(int m, char name[], size_t name_len) XRRScreenResources *res = XRRGetScreenResources(fl_display, DefaultRootWindow(fl_display)); if (!res) { - vlog.error(_("Failed to get XRRScreenResources for root window")); + vlog.error(_("Failed to get system monitor configuration")); return -1; } @@ -414,7 +414,7 @@ int MonitorArrangement::get_monitor_name(int m, char name[], size_t name_len) XRRCrtcInfo *crtc = XRRGetCrtcInfo(fl_display, res, res->crtcs[i]); if (!crtc) { - vlog.error(_("Failed to get XRRCrtcInfo for crtc %d"), i); + vlog.error(_("Failed to get information about CRTC %d"), i); continue; } @@ -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 information about output %d for CRTC %d"), j, i); continue; } |