mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
Use NL_CAT_LOCALE to activate LC_MESSAGES
This commit is contained in:
parent
e97ef24c18
commit
3ccb32a975
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35551
@ -52,7 +52,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: ee.c,v 1.9 1998/01/12 07:51:07 charnier Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
char *ee_copyright_message =
|
||||
@ -64,7 +64,7 @@ char *ee_long_notice[] = {
|
||||
"copyright. All rights are reserved."
|
||||
};
|
||||
|
||||
char *version = "@(#) ee, version 1.3 $Revision: 1.8 $";
|
||||
char *version = "@(#) ee, version 1.3 $Revision: 1.9 $";
|
||||
|
||||
#ifdef NCURSE
|
||||
#include "new_curse.h"
|
||||
@ -4864,7 +4864,7 @@ strings_init()
|
||||
|
||||
#ifndef NO_CATGETS
|
||||
setlocale(LC_ALL, "");
|
||||
catalog = catopen("ee", 0);
|
||||
catalog = catopen("ee", NL_CAT_LOCALE);
|
||||
#endif /* NO_CATGETS */
|
||||
|
||||
modes_menu[0].item_string = catgetlocal( 1, "modes menu");
|
||||
|
Loading…
Reference in New Issue
Block a user