[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (fa0768e9a8a1367fedcac74858fe3d08a89f8a71)
The branch, master has been updated
via fa0768e9a8a1367fedcac74858fe3d08a89f8a71 (commit)
from 8b130d1ee31a41df5dc90c0a729e902b33e11976 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit fa0768e9a8a1367fedcac74858fe3d08a89f8a71
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Add locale functions
Add textdomain() and setlocale() to connect to our message catalogs.
:100644 100644 1c19a3c... d371c8f... M src/main.c
=========
Changes
=========
commit fa0768e9a8a1367fedcac74858fe3d08a89f8a71
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Add locale functions
Add textdomain() and setlocale() to connect to our message catalogs.
diff --git a/src/main.c b/src/main.c
index 1c19a3c..d371c8f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1757,7 +1757,9 @@ main (int argc, char *argv[])
InitPaths (argv[0]);
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ textdomain(GETTEXT_PACKAGE);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ setlocale(LC_ALL,"");
srand ( time(NULL) ); /* Set seed for rand() */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs