lib/colors: Fix bug where help text was not being translated.

This affected cfdisk, fdisk, sfdisk, cal, dmesg and hexdump.
This commit is contained in:
Sebastian Rasmussen 2017-05-28 04:50:57 +08:00
parent ae4e2abcb1
commit 25c7b43ee2
1 changed files with 2 additions and 2 deletions

View File

@ -24,9 +24,9 @@ enum colortmode {
}; };
#ifdef USE_COLORS_BY_DEFAULT #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 #else
# define USAGE_COLORS_DEFAULT N_("colors are disabled by default") # define USAGE_COLORS_DEFAULT _("colors are disabled by default")
#endif #endif
extern int colormode_from_string(const char *str); extern int colormode_from_string(const char *str);