Lines 1-13
Link Here
|
1 |
--- monotone.cc.orig Fri Dec 31 03:16:53 2004 |
1 |
--- monotone.cc.orig Fri Sep 30 11:50:05 2005 |
2 |
+++ monotone.cc Wed Jan 26 22:20:17 2005 |
2 |
+++ monotone.cc Fri Oct 14 11:31:14 2005 |
3 |
@@ -140,8 +140,10 @@ |
3 |
@@ -238,8 +238,10 @@ |
|
|
4 |
// go-go gadget i18n |
4 |
|
5 |
|
5 |
setlocale(LC_CTYPE, ""); |
6 |
setlocale(LC_ALL, ""); |
6 |
setlocale(LC_MESSAGES, ""); |
|
|
7 |
+#ifdef ENABLE_NLS |
7 |
+#ifdef ENABLE_NLS |
8 |
bindtextdomain(PACKAGE, LOCALEDIR); |
8 |
bindtextdomain(PACKAGE, LOCALEDIR); |
9 |
textdomain(PACKAGE); |
9 |
textdomain(PACKAGE); |
10 |
+#endif |
10 |
+#endif |
11 |
|
11 |
|
12 |
L(F("set locale: LC_CTYPE=%s, LC_MESSAGES=%s\n") |
12 |
|
13 |
% (setlocale(LC_CTYPE, NULL) == NULL ? "n/a" : setlocale(LC_CTYPE, NULL)) |
13 |
// we want to catch any early informative_failures due to charset |