I18n fixes for gnome-games and gnome-utils
- From: Zbigniew Chyla <cyba gnome pl>
- To: desktop-devel-list gnome org
- Subject: I18n fixes for gnome-games and gnome-utils
- Date: Sat, 2 Feb 2002 13:40:50 +0100
May I commit the attached patches?
Zbigniew
Index: aisleriot/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/aisleriot/ChangeLog,v
retrieving revision 1.175
diff -u -p -r1.175 ChangeLog
--- aisleriot/ChangeLog 2001/12/30 19:17:27 1.175
+++ aisleriot/ChangeLog 2002/02/02 12:14:35
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * menu.c (help_about_callback): Don't try to translate empty string.
+
Index: aisleriot/menu.c
===================================================================
RCS file: /cvs/gnome/gnome-games/aisleriot/menu.c,v
retrieving revision 1.44
diff -u -p -r1.44 menu.c
--- aisleriot/menu.c 2001/12/30 19:17:27 1.44
+++ aisleriot/menu.c 2002/02/02 12:14:35
@@ -89,7 +89,7 @@ void help_about_callback ()
NULL
};
- const gchar *translator_credits = _("");
+ const gchar *translator_credits = _("translator_credits");
#ifdef ENABLE_NLS
{
@@ -109,7 +109,7 @@ void help_about_callback ()
"solitaire card engine that allows many different games to be played"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_signal_connect (GTK_OBJECT (about),
"destroy",
Index: gataxx/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/gataxx/ChangeLog,v
retrieving revision 1.23
diff -u -p -r1.23 ChangeLog
--- gataxx/ChangeLog 2002/01/08 19:25:38 1.23
+++ gataxx/ChangeLog 2002/02/02 12:14:37
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * gataxx.c (about_cb): Don't try to translate empty string.
+
Index: gataxx/gataxx.c
===================================================================
RCS file: /cvs/gnome/gnome-games/gataxx/gataxx.c,v
retrieving revision 1.16
diff -u -p -r1.16 gataxx.c
--- gataxx/gataxx.c 2001/12/31 20:35:54 1.16
+++ gataxx/gataxx.c 2002/02/02 12:14:37
@@ -398,7 +398,7 @@ void about_cb(GtkWidget *widget, gpointe
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
if (about != NULL) {
gdk_window_raise (about->window);
@@ -410,7 +410,7 @@ void about_cb(GtkWidget *widget, gpointe
_("gataxx is a Gnome port of the old game ataxx. It is derived from Ian Peters' iagno code."),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
g_signal_connect (G_OBJECT (about), "destroy", G_CALLBACK
(gtk_widget_destroyed), &about);
Index: glines/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/glines/ChangeLog,v
retrieving revision 1.17
diff -u -p -r1.17 ChangeLog
--- glines/ChangeLog 2002/01/08 21:02:55 1.17
+++ glines/ChangeLog 2002/02/02 12:14:38
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * glines.c (game_about_callback): Don't try to translate empty string.
+
Index: glines/glines.c
===================================================================
RCS file: /cvs/gnome/gnome-games/glines/glines.c,v
retrieving revision 1.22
diff -u -p -r1.22 glines.c
--- glines/glines.c 2002/01/08 21:02:55 1.22
+++ glines/glines.c 2002/02/02 12:14:39
@@ -711,14 +711,14 @@ game_about_callback (GtkWidget *widget,
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
about = gnome_about_new (_("Glines"), VERSION,
_("(C) 1997-2000 the Free Software Foundation"),
_("Gnome port of the once-popular Color Lines game"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gnome_dialog_set_parent(about), GTK_WINDOW(app);
gtk_widget_show (about);
Index: gnibbles/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/gnibbles/ChangeLog,v
retrieving revision 1.61
diff -u -p -r1.61 ChangeLog
--- gnibbles/ChangeLog 2002/01/20 17:52:09 1.61
+++ gnibbles/ChangeLog 2002/02/02 12:14:40
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * main.c (about_cb): Don't try to translate empty string.
+
Index: gnibbles/main.c
===================================================================
RCS file: /cvs/gnome/gnome-games/gnibbles/main.c,v
retrieving revision 1.36
diff -u -p -r1.36 main.c
--- gnibbles/main.c 2002/01/20 17:52:09 1.36
+++ gnibbles/main.c 2002/02/02 12:14:42
@@ -180,7 +180,7 @@ static void about_cb (GtkWidget *widget,
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
if (about != NULL) {
gdk_window_raise (about->window);
@@ -194,7 +194,7 @@ static void about_cb (GtkWidget *widget,
"sjm acm org, itp gnu org"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
g_signal_connect (G_OBJECT (about), "destroy", G_CALLBACK
(gtk_widget_destroyed), &about);
Index: gnobots2/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/gnobots2/ChangeLog,v
retrieving revision 1.16
diff -u -p -r1.16 ChangeLog
--- gnobots2/ChangeLog 2001/12/19 12:31:22 1.16
+++ gnobots2/ChangeLog 2002/02/02 12:14:42
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * menu.c (about_cb): Don't try to translate empty string.
+
Index: gnobots2/menu.c
===================================================================
RCS file: /cvs/gnome/gnome-games/gnobots2/menu.c,v
retrieving revision 1.4
diff -u -p -r1.4 menu.c
--- gnobots2/menu.c 2001/11/22 23:26:16 1.4
+++ gnobots2/menu.c 2002/02/02 12:14:42
@@ -248,14 +248,14 @@ gpointer data
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
about = gnome_about_new(_("Gnobots II"), VERSION,
"(C) 1998 Mark Rae",
_("Gnome Robots Game"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gnome_dialog_set_parent(GNOME_DIALOG(about), GTK_WINDOW(app));
gtk_window_set_modal(GTK_WINDOW(about), TRUE);
Index: gnome-stones/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/gnome-stones/ChangeLog,v
retrieving revision 1.47
diff -u -p -r1.47 ChangeLog
--- gnome-stones/ChangeLog 2002/01/10 08:38:30 1.47
+++ gnome-stones/ChangeLog 2002/02/02 12:14:43
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * main.c (about_cb): Don't try to translate empty string.
+
Index: gnome-stones/main.c
===================================================================
RCS file: /cvs/gnome/gnome-games/gnome-stones/main.c,v
retrieving revision 1.27
diff -u -p -r1.27 main.c
--- gnome-stones/main.c 2002/01/10 08:38:30 1.27
+++ gnome-stones/main.c 2002/02/02 12:14:44
@@ -946,13 +946,13 @@ about_cb (GtkWidget *widget, gpointer da
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
about= gnome_about_new (_("Gnome-Stones"), VERSION,
"(C) 1998 Carsten Schaar",
_("A game."),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_widget_show (about);
}
Index: gnomine/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/gnomine/ChangeLog,v
retrieving revision 1.56
diff -u -p -r1.56 ChangeLog
--- gnomine/ChangeLog 2001/12/30 19:00:51 1.56
+++ gnomine/ChangeLog 2002/02/02 12:14:45
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * gnomine.c (about): Don't try to translate empty string.
+
Index: gnomine/gnomine.c
===================================================================
RCS file: /cvs/gnome/gnome-games/gnomine/gnomine.c,v
retrieving revision 1.82
diff -u -p -r1.82 gnomine.c
--- gnomine/gnomine.c 2001/12/30 19:00:51 1.82
+++ gnomine/gnomine.c 2002/02/02 12:14:45
@@ -225,7 +225,7 @@ about(GtkWidget *widget, gpointer data)
const gchar *documenters[] = {
NULL
};
- const gchar *translator_credits = _("");
+ const gchar *translator_credits = _("translator_credits");
if (about) {
gdk_window_raise (about->window);
@@ -245,7 +245,7 @@ about(GtkWidget *widget, gpointer data)
_("Minesweeper clone"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_signal_connect (GTK_OBJECT (about), "destroy", GTK_SIGNAL_FUNC
(gtk_widget_destroyed), &about);
Index: gnotravex/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/gnotravex/ChangeLog,v
retrieving revision 1.17
diff -u -p -r1.17 ChangeLog
--- gnotravex/ChangeLog 2002/01/20 18:07:52 1.17
+++ gnotravex/ChangeLog 2002/02/02 12:14:46
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * gnotravex.c (about_cb): Don't try to translate empty string.
+
Index: gnotravex/gnotravex.c
===================================================================
RCS file: /cvs/gnome/gnome-games/gnotravex/gnotravex.c,v
retrieving revision 1.22
diff -u -p -r1.22 gnotravex.c
--- gnotravex/gnotravex.c 2002/01/20 18:07:52 1.22
+++ gnotravex/gnotravex.c 2002/02/02 12:14:47
@@ -969,14 +969,14 @@ void about_cb(GtkWidget *widget, gpointe
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
about = gnome_about_new(_(APPNAME_LONG),
GNOTRAVEX_VERSION,
"(C) 1998 Lars Rydlinge",
_("Tetravex clone\n(Comments to: Lars Rydlinge HIG SE)"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_widget_show(about);
}
Index: gnotski/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/gnotski/ChangeLog,v
retrieving revision 1.8
diff -u -p -r1.8 ChangeLog
--- gnotski/ChangeLog 2001/12/19 12:35:40 1.8
+++ gnotski/ChangeLog 2002/02/02 12:14:47
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * gnotski.c (about_cb): Don't try to translate empty string.
+
Index: gnotski/gnotski.c
===================================================================
RCS file: /cvs/gnome/gnome-games/gnotski/gnotski.c,v
retrieving revision 1.12
diff -u -p -r1.12 gnotski.c
--- gnotski/gnotski.c 2001/11/27 01:11:39 1.12
+++ gnotski/gnotski.c 2002/02/02 12:14:47
@@ -973,7 +973,7 @@ void about_cb(GtkWidget *widget, gpointe
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
about = gnome_about_new(_(APPNAME_LONG),
VERSION,
@@ -982,7 +982,7 @@ void about_cb(GtkWidget *widget, gpointe
"(Comments to: Lars Rydlinge HIG SE)"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_widget_show(about);
}
Index: gtali/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/gtali/ChangeLog,v
retrieving revision 1.32
diff -u -p -r1.32 ChangeLog
--- gtali/ChangeLog 2001/12/19 12:36:41 1.32
+++ gtali/ChangeLog 2002/02/02 12:14:48
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * gyahtzee.c (about): Don't try to translate empty string.
+
Index: gtali/gyahtzee.c
===================================================================
RCS file: /cvs/gnome/gnome-games/gtali/gyahtzee.c,v
retrieving revision 1.26
diff -u -p -r1.26 gyahtzee.c
--- gtali/gyahtzee.c 2001/11/27 01:11:40 1.26
+++ gtali/gyahtzee.c 2002/02/02 12:14:49
@@ -364,7 +364,7 @@ about(GtkWidget *widget, gpointer data)
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
#ifdef ENABLE_NLS
{
@@ -378,7 +378,7 @@ about(GtkWidget *widget, gpointer data)
_("Gnome Tali"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_widget_show (about);
return FALSE;
Index: iagno/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/iagno/ChangeLog,v
retrieving revision 1.44
diff -u -p -r1.44 ChangeLog
--- iagno/ChangeLog 2002/01/18 00:24:09 1.44
+++ iagno/ChangeLog 2002/02/02 12:14:49
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * gnothello.c (about_cb): Don't try to translate empty string.
+
Index: iagno/gnothello.c
===================================================================
RCS file: /cvs/gnome/gnome-games/iagno/gnothello.c,v
retrieving revision 1.83
diff -u -p -r1.83 gnothello.c
--- iagno/gnothello.c 2002/01/09 10:35:18 1.83
+++ iagno/gnothello.c 2002/02/02 12:14:50
@@ -385,7 +385,7 @@ void about_cb(GtkWidget *widget, gpointe
const gchar *documenters[] = {
NULL
};
- const gchar *translator_credits = _("");
+ const gchar *translator_credits = _("translator_credits");
if (about != NULL) {
gdk_window_raise (about->window);
@@ -398,7 +398,7 @@ void about_cb(GtkWidget *widget, gpointe
_("Send comments and bug reports to: itp gnu org\nTiles under the General Public License."),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
Index: mahjongg/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/mahjongg/ChangeLog,v
retrieving revision 1.69
diff -u -p -r1.69 ChangeLog
--- mahjongg/ChangeLog 2002/01/24 02:07:11 1.69
+++ mahjongg/ChangeLog 2002/02/02 12:14:51
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * mahjongg.c (about_callback): Don't try to translate empty string.
+
Index: mahjongg/mahjongg.c
===================================================================
RCS file: /cvs/gnome/gnome-games/mahjongg/mahjongg.c,v
retrieving revision 1.87
diff -u -p -r1.87 mahjongg.c
--- mahjongg/mahjongg.c 2002/01/24 02:07:11 1.87
+++ mahjongg/mahjongg.c 2002/02/02 12:14:53
@@ -1199,7 +1199,7 @@ void about_callback (GtkWidget *widget,
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
about = gnome_about_new (_("GNOME Mahjongg"), MAH_VERSION,
"(C) 1998 The Free Software Foundation",
@@ -1209,7 +1209,7 @@ void about_callback (GtkWidget *widget,
"Tiles under the General Public License."),
(const gchar **)authors,
(const gchar **)documenters,
- (const gchar *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_widget_show (about);
Index: same-gnome/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-games/same-gnome/ChangeLog,v
retrieving revision 1.41
diff -u -p -r1.41 ChangeLog
--- same-gnome/ChangeLog 2002/01/03 06:28:06 1.41
+++ same-gnome/ChangeLog 2002/02/02 12:14:53
@@ -0,0 +1,4 @@
+2002-02-02 Zbigniew Chyla <cyba gnome pl>
+
+ * same-gnome.c (game_about_callback): Don't try to translate empty string.
+
Index: same-gnome/same-gnome.c
===================================================================
RCS file: /cvs/gnome/gnome-games/same-gnome/same-gnome.c,v
retrieving revision 1.74
diff -u -p -r1.74 same-gnome.c
--- same-gnome/same-gnome.c 2002/01/03 06:28:06 1.74
+++ same-gnome/same-gnome.c 2002/02/02 12:14:54
@@ -603,7 +603,7 @@ game_about_callback (GtkWidget *widget,
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
if (about) {
gtk_window_present (GTK_WINDOW (about));
@@ -615,7 +615,7 @@ game_about_callback (GtkWidget *widget,
_("Original idea from KDE's same game program."),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_window_set_transient_for (GTK_WINDOW (about), GTK_WINDOW (app));
gtk_widget_show (about);
Index: gcalc/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-utils/gcalc/ChangeLog,v
retrieving revision 1.46
diff -u -p -r1.46 ChangeLog
--- gcalc/ChangeLog 2002/01/28 03:06:39 1.46
+++ gcalc/ChangeLog 2002/01/31 14:46:42
@@ -0,0 +1,4 @@
+2002-01-31 Zbigniew Chyla <cyba gnome pl>
+
+ * gcalc.c (about_cb): Don't try to translate empty string.
+
Index: gcalc/gcalc.c
===================================================================
RCS file: /cvs/gnome/gnome-utils/gcalc/gcalc.c,v
retrieving revision 1.29
diff -u -p -r1.29 gcalc.c
--- gcalc/gcalc.c 2001/11/28 11:08:37 1.29
+++ gcalc/gcalc.c 2002/01/31 14:46:43
@@ -36,7 +36,7 @@ about_cb (GtkWidget *widget, gpointer da
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
if (about != NULL)
{
@@ -50,7 +50,7 @@ about_cb (GtkWidget *widget, gpointer da
"to xcalc"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_signal_connect(GTK_OBJECT(about), "destroy",
GTK_SIGNAL_FUNC(gtk_widget_destroyed), &about);
Index: gcharmap/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-utils/gcharmap/ChangeLog,v
retrieving revision 1.37
diff -u -p -r1.37 ChangeLog
--- gcharmap/ChangeLog 2002/01/30 03:34:16 1.37
+++ gcharmap/ChangeLog 2002/01/31 14:46:44
@@ -0,0 +1,4 @@
+2002-01-31 Zbigniew Chyla <cyba gnome pl>
+
+ * src/callbacks.c (cb_about_click): Don't try to translate empty string.
+
Index: gcharmap/src/callbacks.c
===================================================================
RCS file: /cvs/gnome/gnome-utils/gcharmap/src/callbacks.c,v
retrieving revision 1.9
diff -u -p -r1.9 callbacks.c
--- gcharmap/src/callbacks.c 2002/01/30 02:37:05 1.9
+++ gcharmap/src/callbacks.c 2002/01/31 14:46:44
@@ -41,7 +41,7 @@ cb_about_click (GtkWidget *widget, gpoin
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
GtkWidget *dialog;
GdkPixbuf *logo = NULL;
gchar *logo_fn;
@@ -61,7 +61,7 @@ cb_about_click (GtkWidget *widget, gpoin
"Warning: might contain bad English."),
authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
logo
);
gtk_widget_show (dialog);
Index: gdictsrc/ChangeLog
===================================================================
RCS file: /cvs/gnome/gdict/gdict/ChangeLog,v
retrieving revision 1.31
diff -u -p -r1.31 ChangeLog
--- gdictsrc/ChangeLog 2002/01/29 11:19:19 1.31
+++ gdictsrc/ChangeLog 2002/01/31 14:46:44
@@ -0,0 +1,4 @@
+2002-01-31 Zbigniew Chyla <cyba gnome pl>
+
+ * gdict-about.c (gdict_about_new): Don't try to translate empty string.
+
Index: gdictsrc/gdict-about.c
===================================================================
RCS file: /cvs/gnome/gdict/gdict/gdict-about.c,v
retrieving revision 1.6
diff -u -p -r1.6 gdict-about.c
--- gdictsrc/gdict-about.c 2001/12/07 18:19:41 1.6
+++ gdictsrc/gdict-about.c 2002/01/31 14:46:45
@@ -36,7 +36,7 @@ static GtkWidget *gdict_about_new (void)
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
GtkWidget *about;
about = gnome_about_new ("GNOME Dictionary", VERSION,
@@ -46,7 +46,7 @@ static GtkWidget *gdict_about_new (void)
"http://www.psilord.com/code/"),
(const char **)authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_window_set_modal (GTK_WINDOW (about), TRUE);
return about;
Index: gsearchtool/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-utils/gsearchtool/ChangeLog,v
retrieving revision 1.44
diff -u -p -r1.44 ChangeLog
--- gsearchtool/ChangeLog 2002/01/31 04:20:27 1.44
+++ gsearchtool/ChangeLog 2002/01/31 14:46:45
@@ -0,0 +1,4 @@
+2002-01-31 Zbigniew Chyla <cyba gnome pl>
+
+ * gsearchtool.c (about_cb): Don't try to translate empty string.
+
Index: gsearchtool/gsearchtool.c
===================================================================
RCS file: /cvs/gnome/gnome-utils/gsearchtool/gsearchtool.c,v
retrieving revision 1.34
diff -u -p -r1.34 gsearchtool.c
--- gsearchtool/gsearchtool.c 2002/01/21 08:57:54 1.34
+++ gsearchtool/gsearchtool.c 2002/01/31 14:46:46
@@ -998,7 +998,7 @@ about_cb (GtkWidget *widget, gpointer da
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
if (about != NULL)
{
@@ -1013,7 +1013,7 @@ about_cb (GtkWidget *widget, gpointer da
"commands"),
authors,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
g_signal_connect (G_OBJECT (about), "destroy",
G_CALLBACK (gtk_widget_destroyed), &about);
Index: logview/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-utils/logview/ChangeLog,v
retrieving revision 1.2
diff -u -p -r1.2 ChangeLog
--- logview/ChangeLog 2002/01/28 04:25:00 1.2
+++ logview/ChangeLog 2002/01/31 14:46:47
@@ -0,0 +1,4 @@
+2002-01-31 Zbigniew Chyla <cyba gnome pl>
+
+ * about.c (AboutShowWindow): Don't try to translate empty string.
+
Index: logview/about.c
===================================================================
RCS file: /cvs/gnome/gnome-utils/logview/about.c,v
retrieving revision 1.9
diff -u -p -r1.9 about.c
--- logview/about.c 2001/10/15 15:08:37 1.9
+++ logview/about.c 2002/01/31 14:46:47
@@ -49,7 +49,7 @@ AboutShowWindow (GtkWidget *widget, gpoi
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
if (about_window != NULL) {
gtk_widget_show_now (about_window);
@@ -74,7 +74,7 @@ AboutShowWindow (GtkWidget *widget, gpoi
_(comments),
author,
(const char **)documenters,
- (const char *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
logo);
if (app != NULL)
gtk_window_set_transient_for (GTK_WINDOW (about_window),
Index: meat-grinder/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-utils/meat-grinder/ChangeLog,v
retrieving revision 1.24
diff -u -p -r1.24 ChangeLog
--- meat-grinder/ChangeLog 2002/01/28 03:39:43 1.24
+++ meat-grinder/ChangeLog 2002/01/31 14:46:47
@@ -0,0 +1,4 @@
+2002-01-31 Zbigniew Chyla <cyba gnome pl>
+
+ * meat-grinder.c (about_cb): Don't try to translate empty string.
+
Index: meat-grinder/meat-grinder.c
===================================================================
RCS file: /cvs/gnome/gnome-utils/meat-grinder/meat-grinder.c,v
retrieving revision 1.14
diff -u -p -r1.14 meat-grinder.c
--- meat-grinder/meat-grinder.c 2001/12/31 01:50:40 1.14
+++ meat-grinder/meat-grinder.c 2002/01/31 14:46:48
@@ -377,7 +377,7 @@ about_cb (GtkWidget *widget, gpointer da
NULL
};
/* Translator credits */
- gchar *translator_credits = _("");
+ gchar *translator_credits = _("translator_credits");
if (about != NULL) {
gtk_widget_show_now (about);
@@ -389,7 +389,7 @@ about_cb (GtkWidget *widget, gpointer da
_("Drag files in to make archives"),
(const gchar **)authors,
(const gchar **)documenters,
- (const gchar *)translator_credits,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
g_signal_connect (GTK_OBJECT (about), "destroy",
GTK_SIGNAL_FUNC (gtk_widget_destroyed),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]