mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix the translator credits in the gtk2.6 about box. They should come
from the translation, not a static file. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12063 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e2ccba1098
commit
685c30368b
@ -1,4 +1,9 @@
|
||||
2005-11-28 David Hampton <hampton@hampton-lnx.cisco.com>
|
||||
2005-11-28 David Hampton <hampton@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.
|
||||
|
@ -18,8 +18,7 @@ doc_DATA = \
|
||||
LICENSE \
|
||||
NEWS \
|
||||
README \
|
||||
README.patches \
|
||||
TRANSLATORS
|
||||
README.patches
|
||||
|
||||
m4datadir = $(datadir)/aclocal
|
||||
m4data_DATA = gnucash.m4
|
||||
|
@ -2861,7 +2861,7 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
|
||||
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 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
|
||||
|
||||
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 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
|
||||
"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);
|
||||
|
Loading…
Reference in New Issue
Block a user