Remove checks for gettext presense in mimedb.c and set_color.c. If gettext is unavailable, a fallback is provided.

darcs-hash:20060828105806-ac50b-47f092813ed70a03477d66c377edbe24f2aedf40.gz
This commit is contained in:
axel
2006-08-28 20:58:06 +10:00
parent 7310596dab
commit 23152ae8a6
2 changed files with 0 additions and 12 deletions

View File

@@ -56,11 +56,7 @@
*/
#define GETOPT_STRING "b:hvocu"
#if HAVE_GETTEXT
#define _(string) gettext(string)
#else
#define _(string) (string)
#endif
char *col[]=
{
@@ -141,10 +137,8 @@ static void check_locale_init()
is_init = 1;
setlocale( LC_ALL, "" );
#if HAVE_GETTEXT
bindtextdomain( PACKAGE_NAME, LOCALEDIR );
textdomain( PACKAGE_NAME );
#endif
}