diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-05 22:37:41 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-05 22:37:41 +0200 |
commit | 8583f11f215b1c0baf0f9998257d153dcab68006 (patch) | |
tree | 1b6df6d2d3b57046d7011b59033e22735f6dfc79 /src/redshift.c | |
parent | Show default temperature values in help output. (diff) | |
download | redshift-ng-8583f11f215b1c0baf0f9998257d153dcab68006.tar.gz redshift-ng-8583f11f215b1c0baf0f9998257d153dcab68006.tar.bz2 redshift-ng-8583f11f215b1c0baf0f9998257d153dcab68006.tar.xz |
Restructure help text and add comments for easier translation.
Diffstat (limited to 'src/redshift.c')
-rw-r--r-- | src/redshift.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/redshift.c b/src/redshift.c index da1dafb..d84e473 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -219,22 +219,22 @@ print_help(const char *program_name) " (RANDR or VidMode)\n" " -o\t\tOne shot mode (do not continously adjust" " color temperature)\n" - " -r\t\tDisable initial temperature transition\n" + " -r\t\tDisable temperature transitions\n" " -s SCREEN\tX screen to apply adjustments to\n" " -c CRTC\tCRTC to apply adjustments to (RANDR only)\n" " -t DAY:NIGHT\tColor temperature to set at daytime/night\n"), stdout); fputs("\n", stdout); - /* TRANSLATORS: help output 5 - no-wrap */ - fputs(_("Default values:\n"), stdout); - fputs("\n", stdout); - printf(_(" Daytime temperature: %uK\n"), DEFAULT_DAY_TEMP); - printf(_(" Night temperature: %uK\n"), DEFAULT_NIGHT_TEMP); + /* TRANSLATORS: help output 5 */ + printf(_("Default values:\n\n" + " Daytime temperature: %uK\n" + " Night temperature: %uK\n"), + DEFAULT_DAY_TEMP, DEFAULT_NIGHT_TEMP); + fputs("\n", stdout); - /* TRANSLATORS: help output 5 */ + /* TRANSLATORS: help output 6 */ printf("Please report bugs to <%s>\n", PACKAGE_BUGREPORT); } |