[evolution-patches] patch for i18n, 61395, all components




A bunch of things were including *-i18n.h but not config.h, so ENABLE_NLS wasn't set, so it was just getting the dummy gettext macro's instead, so no gettext was being performed, no translation.

e.g.
http://bugzilla.ximian.com/show_bug.cgi?id=61395

simple, if bulky fix.

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer
Index: addressbook/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1794
diff -u -3 -r1.1794 ChangeLog
--- addressbook/ChangeLog	19 Jul 2004 17:23:46 -0000	1.1794
+++ addressbook/ChangeLog	20 Jul 2004 05:53:05 -0000
@@ -1,3 +1,9 @@
+2004-07-20  Not Zed  <NotZed Ximian com>
+
+	* gui/widgets/eab-contact-display.c: 
+	* gui/contact-editor/eab-editor.c: 
+	* gui/component/addressbook-migrate.c: include config.h #61395.
+
 2004-07-16  Hans Petter Jansson  <hpj ximian com>
 
 	* gui/contact-editor/e-contact-editor.c (contact_added_cb)
Index: addressbook/gui/component/addressbook-migrate.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/addressbook-migrate.c,v
retrieving revision 1.33
diff -u -3 -r1.33 addressbook-migrate.c
--- addressbook/gui/component/addressbook-migrate.c	13 Jul 2004 20:47:27 -0000	1.33
+++ addressbook/gui/component/addressbook-migrate.c	20 Jul 2004 05:53:05 -0000
@@ -19,6 +19,10 @@
  * Author: Chris Toshok (toshok ximian com)
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
 #include <string.h>
 #include <sys/types.h>
Index: addressbook/gui/contact-editor/eab-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/eab-editor.c,v
retrieving revision 1.3
diff -u -3 -r1.3 eab-editor.c
--- addressbook/gui/contact-editor/eab-editor.c	19 May 2004 22:28:23 -0000	1.3
+++ addressbook/gui/contact-editor/eab-editor.c	20 Jul 2004 05:53:05 -0000
@@ -18,6 +18,10 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <gtk/gtkstock.h>
 #include <gtk/gtkmessagedialog.h>
 #include <libgnome/gnome-i18n.h>
Index: addressbook/gui/widgets/eab-contact-display.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/eab-contact-display.c,v
retrieving revision 1.14
diff -u -3 -r1.14 eab-contact-display.c
--- addressbook/gui/widgets/eab-contact-display.c	14 Jun 2004 19:12:48 -0000	1.14
+++ addressbook/gui/widgets/eab-contact-display.c	20 Jul 2004 05:53:05 -0000
@@ -20,6 +20,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "eab-contact-display.h"
 
 #include "eab-gui-util.h"
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2450
diff -u -3 -r1.2450 ChangeLog
--- calendar/ChangeLog	19 Jul 2004 22:02:28 -0000	1.2450
+++ calendar/ChangeLog	20 Jul 2004 05:53:09 -0000
@@ -1,3 +1,13 @@
+2004-07-20  Not Zed  <NotZed Ximian com>
+
+	* gui/e-cal-model.c: 
+	* importers/icalendar-importer.c: 
+	* gui/dialogs/select-source-dialog.c: 
+	* gui/dialogs/copy-source-dialog.c: 
+	* gui/alarm-notify/util.c: 
+	* common/authentication.c: 
+	* gui/migration.c: include config.h.  See #61395.
+
 2004-07-16  JP Rosevear  <jpr novell com>
 
 	Fixes #61451
Index: calendar/common/authentication.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/common/authentication.c,v
retrieving revision 1.5
diff -u -3 -r1.5 authentication.c
--- calendar/common/authentication.c	25 May 2004 11:14:03 -0000	1.5
+++ calendar/common/authentication.c	20 Jul 2004 05:53:09 -0000
@@ -21,6 +21,10 @@
  * USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <bonobo/bonobo-i18n.h>
 #include "e-util/e-passwords.h"
Index: calendar/gui/e-cal-model.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-cal-model.c,v
retrieving revision 1.38
diff -u -3 -r1.38 e-cal-model.c
--- calendar/gui/e-cal-model.c	14 Jul 2004 02:20:55 -0000	1.38
+++ calendar/gui/e-cal-model.c	20 Jul 2004 05:53:10 -0000
@@ -19,6 +19,10 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <glib/garray.h>
 #include <libgnome/gnome-i18n.h>
Index: calendar/gui/migration.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/migration.c,v
retrieving revision 1.29
diff -u -3 -r1.29 migration.c
--- calendar/gui/migration.c	2 Jun 2004 21:13:53 -0000	1.29
+++ calendar/gui/migration.c	20 Jul 2004 05:53:10 -0000
@@ -20,6 +20,10 @@
  * Author: Rodrigo Moya <rodrigo ximian com>
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
Index: calendar/gui/alarm-notify/util.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/util.c,v
retrieving revision 1.2
diff -u -3 -r1.2 util.c
--- calendar/gui/alarm-notify/util.c	7 Nov 2003 05:52:01 -0000	1.2
+++ calendar/gui/alarm-notify/util.c	20 Jul 2004 05:53:10 -0000
@@ -19,6 +19,10 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <libgnome/gnome-i18n.h>
 #include <e-util/e-time-utils.h>
 #include <libecal/e-cal-time-util.h>
Index: calendar/gui/dialogs/copy-source-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/copy-source-dialog.c,v
retrieving revision 1.15
diff -u -3 -r1.15 copy-source-dialog.c
--- calendar/gui/dialogs/copy-source-dialog.c	2 Jun 2004 16:31:23 -0000	1.15
+++ calendar/gui/dialogs/copy-source-dialog.c	20 Jul 2004 05:53:10 -0000
@@ -18,6 +18,10 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <gtk/gtkmessagedialog.h>
 #include <bonobo/bonobo-i18n.h>
 #include "copy-source-dialog.h"
Index: calendar/gui/dialogs/select-source-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/select-source-dialog.c,v
retrieving revision 1.10
diff -u -3 -r1.10 select-source-dialog.c
--- calendar/gui/dialogs/select-source-dialog.c	9 Jul 2004 16:13:43 -0000	1.10
+++ calendar/gui/dialogs/select-source-dialog.c	20 Jul 2004 05:53:10 -0000
@@ -18,6 +18,10 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <bonobo/bonobo-i18n.h>
 #include <gtk/gtkbox.h>
 #include <gtk/gtkvbox.h>
Index: calendar/importers/icalendar-importer.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/importers/icalendar-importer.c,v
retrieving revision 1.35
diff -u -3 -r1.35 icalendar-importer.c
--- calendar/importers/icalendar-importer.c	18 Apr 2004 22:23:48 -0000	1.35
+++ calendar/importers/icalendar-importer.c	20 Jul 2004 05:53:10 -0000
@@ -20,6 +20,10 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <unistd.h>
 #include <sys/types.h>
Index: composer/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.651
diff -u -3 -r1.651 ChangeLog
--- composer/ChangeLog	18 Jun 2004 05:59:16 -0000	1.651
+++ composer/ChangeLog	20 Jul 2004 05:53:12 -0000
@@ -1,3 +1,7 @@
+2004-07-20  Not Zed  <NotZed Ximian com>
+
+	* e-msg-composer-attachment.c: include config.h.  See #61395.
+
 2004-06-18  Not Zed  <NotZed Ximian com>
 
 	** Fix for #60387.
Index: composer/e-msg-composer-attachment.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-attachment.c,v
retrieving revision 1.53
diff -u -3 -r1.53 e-msg-composer-attachment.c
--- composer/e-msg-composer-attachment.c	17 Jun 2004 07:33:24 -0000	1.53
+++ composer/e-msg-composer-attachment.c	20 Jul 2004 05:53:12 -0000
@@ -28,6 +28,10 @@
    attachment.  Also, this contains the code to let users edit the
    attachment manually. */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <sys/stat.h>
 #include <string.h>
 #include <errno.h>
Index: e-util/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/e-util/ChangeLog,v
retrieving revision 1.471
diff -u -3 -r1.471 ChangeLog
--- e-util/ChangeLog	14 Jul 2004 15:19:58 -0000	1.471
+++ e-util/ChangeLog	20 Jul 2004 05:53:12 -0000
@@ -1,3 +1,7 @@
+2004-07-20  Not Zed  <NotZed Ximian com>
+
+	* e-dialog-utils.c: include config.h.  See #61395.
+
 2004-07-12  Dan Winship  <danw novell com>
 
 	* e-mktemp.c (e_mktemp, e_mkdtemp): un-const the return values,
Index: e-util/e-dialog-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-dialog-utils.c,v
retrieving revision 1.18
diff -u -3 -r1.18 e-dialog-utils.c
--- e-util/e-dialog-utils.c	9 Mar 2004 21:10:42 -0000	1.18
+++ e-util/e-dialog-utils.c	20 Jul 2004 05:53:12 -0000
@@ -22,6 +22,10 @@
  *   Ettore Perazzoli <ettore ximian com>
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "e-dialog-utils.h"
 
 #include <gdk/gdkx.h>
Index: widgets/misc/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.319
diff -u -3 -r1.319 ChangeLog
--- widgets/misc/ChangeLog	16 Jul 2004 08:11:59 -0000	1.319
+++ widgets/misc/ChangeLog	20 Jul 2004 05:53:17 -0000
@@ -1,3 +1,7 @@
+2004-07-20  Not Zed  <NotZed Ximian com>
+
+	* e-error.c: include config.h.  See #61395.
+
 2004-07-16  Chris Toshok  <toshok ximian com>
 
 	* e-clipped-label.c (e_clipped_label_recalc_chars_displayed):
Index: widgets/misc/e-error.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-error.c,v
retrieving revision 1.13
diff -u -3 -r1.13 e-error.c
--- widgets/misc/e-error.c	24 Jun 2004 21:40:58 -0000	1.13
+++ widgets/misc/e-error.c	20 Jul 2004 05:53:18 -0000
@@ -19,6 +19,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <sys/types.h>
 #include <dirent.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]