]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/colors: Fix bug where help text was not being translated.
authorSebastian Rasmussen <sebras@gmail.com>
Sat, 27 May 2017 20:50:57 +0000 (04:50 +0800)
committerSebastian Rasmussen <sebras@gmail.com>
Sun, 28 May 2017 05:30:45 +0000 (13:30 +0800)
This affected cfdisk, fdisk, sfdisk, cal, dmesg and hexdump.

include/colors.h

index bd34a4fa2aca397ed265fd94e312c2bd04be452e..3636beb558337059f4a127040cae4c29a6e50de5 100644 (file)
@@ -24,9 +24,9 @@ enum colortmode {
 };
 
 #ifdef USE_COLORS_BY_DEFAULT
-# define USAGE_COLORS_DEFAULT  N_("colors are enabled by default")
+# define USAGE_COLORS_DEFAULT  _("colors are enabled by default")
 #else
-# define USAGE_COLORS_DEFAULT   N_("colors are disabled by default")
+# define USAGE_COLORS_DEFAULT   _("colors are disabled by default")
 #endif
 
 extern int colormode_from_string(const char *str);