[Gnucash-changes] r12063 - gnucash/trunk - Fix the translator credits in the gtk2.6 about box. They should come

David Hampton hampton at cvs.gnucash.org
Mon Nov 28 22:25:05 EST 2005


Author: hampton
Date: 2005-11-28 22:25:05 -0500 (Mon, 28 Nov 2005)
New Revision: 12063
Trac: http://svn.gnucash.org/trac/changeset/12063

Removed:
   gnucash/trunk/TRANSLATORS
Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/Makefile.am
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Fix the translator credits in the gtk2.6 about box.  They should come
from the translation, not a static file.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-11-28 20:48:16 UTC (rev 12062)
+++ gnucash/trunk/ChangeLog	2005-11-29 03:25:05 UTC (rev 12063)
@@ -1,5 +1,10 @@
-2005-11-28  David Hampton  <hampton at hampton-lnx.cisco.com>
+2005-11-28  David Hampton  <hampton at employees.org>
 
+	* src/gnome-utils/gnc-main-window.c:
+	* Makefile.am:
+	* TRANSLATORS: Fix the translator credits in the gtk2.6 about box.
+	They should come from the translation, not a static file.
+
 	* src/gnome-utils/gnc-gui-query.glade: Mark a couple of strings as
 	not needing translation.
 

Modified: gnucash/trunk/Makefile.am
===================================================================
--- gnucash/trunk/Makefile.am	2005-11-28 20:48:16 UTC (rev 12062)
+++ gnucash/trunk/Makefile.am	2005-11-29 03:25:05 UTC (rev 12063)
@@ -18,8 +18,7 @@
   LICENSE \
   NEWS \
   README \
-  README.patches \
-  TRANSLATORS
+  README.patches
 
 m4datadir = $(datadir)/aclocal
 m4data_DATA = gnucash.m4

Deleted: gnucash/trunk/TRANSLATORS
===================================================================

Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c	2005-11-28 20:48:16 UTC (rev 12062)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c	2005-11-29 03:25:05 UTC (rev 12063)
@@ -2861,7 +2861,7 @@
 	const gchar *message = _("The GnuCash personal finance manager.\n"
 				 "The GNU way to manage your money!\n");
 	const gchar *copyright = "© 1998-2005 Linas Vepstas";
-	gchar **authors, **documenters, **translators, *license;
+	gchar **authors, **documenters, *license;
 	GdkPixbuf *logo;
 	GtkWidget *dialog;
 
@@ -2869,7 +2869,6 @@
 
 	authors = get_file_strsplit("doc/AUTHORS");
 	documenters = get_file_strsplit("doc/DOCUMENTERS");
-	translators = get_file_strsplit("doc/TRANSLATORS");
 	license = get_file("doc/LICENSE");
 
 	dialog = gtk_about_dialog_new();
@@ -2881,13 +2880,12 @@
 		      "license", license,
 		      "logo", logo,
 		      "name", "GnuCash",
-		      "translator-credits", translators,
+		      "translator-credits", _("translator_credits"),
 		      "version", VERSION,
 		      "website", "http://www.gnucash.org",
 		      (gchar *)NULL);
 
 	if (license)     g_free(license);
-	if (translators) g_strfreev(translators);
 	if (documenters) g_strfreev(documenters);
 	if (authors)     g_strfreev(authors);
 	gdk_pixbuf_unref (logo);



More information about the gnucash-changes mailing list