X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=abook.c;h=ab65d17a784798a44ee9c40885612fde2196ec42;hb=31d4bf30d9c41b6d77814a9207e0827fa004f70c;hp=c4d239ee2241b24ae4750646b0b3660beda969b7;hpb=515b441b0478ac01f1c5dfef3810a7778f899c9c;p=pkg%2Fabook.git diff --git a/abook.c b/abook.c index c4d239e..ab65d17 100644 --- a/abook.c +++ b/abook.c @@ -187,9 +187,11 @@ int main(int argc, char **argv) { #if defined(HAVE_SETLOCALE) && defined(HAVE_LOCALE_H) - setlocale(LC_ALL, ""); + setlocale(LC_MESSAGES, ""); + setlocale(LC_TIME, ""); + setlocale(LC_CTYPE, ""); + setlocale(LC_COLLATE, ""); #endif - bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE);