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:
parent
ae4e2abcb1
commit
25c7b43ee2
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue