aboutsummaryrefslogtreecommitdiffstats
path: root/src/backend-direct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend-direct.c')
-rw-r--r--src/backend-direct.c23
1 files changed, 9 insertions, 14 deletions
diff --git a/src/backend-direct.c b/src/backend-direct.c
index 5654947..dfec04e 100644
--- a/src/backend-direct.c
+++ b/src/backend-direct.c
@@ -203,26 +203,21 @@ direct_print_help(FILE *f, int method)
struct libgamma_method_capabilities caps;
if (libgamma_method_capabilities(&caps, sizeof(caps), method)) {
- fputs(_("Adjustment not available\n"), f);
- fputs("\n", f);
+ fprintf(f, _("Adjustment not available\n"));
+ fprintf(f, "\n");
return;
}
- if (caps.multiple_partitions && caps.partitions_are_graphics_cards) {
- /* TRANSLATORS: left column must not be translated */
- fputs(_(" card=N Graphics card to apply adjustments to\n"), f);
- } else if (caps.multiple_partitions) {
- /* TRANSLATORS: left column must not be translated */
- fputs(_(" screen=N X screen to apply adjustments to\n"), f);
- }
+ if (caps.multiple_partitions && caps.partitions_are_graphics_cards)
+ fprintf(f, " card=N %s\n", _("Graphics card to apply adjustments to"));
+ else if (caps.multiple_partitions)
+ fprintf(f, " screen=N %s\n", _("X screen to apply adjustments to"));
- if (caps.multiple_crtcs) {
- /* TRANSLATORS: left column must not be translated */
- fputs(_(" crtc=N List of comma-separated CRTCs to apply adjustments to\n"), f);
- }
+ if (caps.multiple_crtcs)
+ fprintf(f, " crtc=N %s\n", _("List of comma-separated CRTCs to apply adjustments to"));
if (caps.multiple_partitions || caps.multiple_crtcs)
- fputs("\n", f);
+ fprintf(f, "\n";
}