From 744101153d9675897f4189c1d7b02c5c71b56e42 Mon Sep 17 00:00:00 2001 From: "Frank H. Ellenberger" Date: Sat, 3 Nov 2018 10:05:09 +0100 Subject: [PATCH] Replace a few hardcoded URLs by CMake vars Additional fix a bug URL --- gnucash/gnome-utils/gnc-main-window.c | 6 +++--- gnucash/gnucash-bin.c | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gnucash/gnome-utils/gnc-main-window.c b/gnucash/gnome-utils/gnc-main-window.c index 2e5137fbf5..58cb72ab08 100644 --- a/gnucash/gnome-utils/gnc-main-window.c +++ b/gnucash/gnome-utils/gnc-main-window.c @@ -4576,7 +4576,7 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window) * contributors. */ "translator-credits", _("translator_credits"), "version", version, - "website", "http://www.gnucash.org", + "website", PACKAGE_URL, "website_label", _("Visit the GnuCash website."), NULL); @@ -4892,8 +4892,8 @@ dgettext_swapped (const gchar *msgid, * This is copied into GnuCash from Gtk in order to fix problems when * empty msgids were passed through gettext(). * - * See https://bugs.gnucash.org/show_bug.cgi?id=326200 . If that bug - * is fixed in the gtk that we can rely open, then + * TODO: See https://bugzilla.gnome.org/show_bug.cgi?id=326200 . If that bug + * is fixed in the gtk that we can rely on, then * gnc_gtk_action_group_set_translation_domain can be replaced by * gtk_action_group_set_translation_domain again. */ diff --git a/gnucash/gnucash-bin.c b/gnucash/gnucash-bin.c index 03d6c6c1f3..d4e1eb6ebe 100644 --- a/gnucash/gnucash-bin.c +++ b/gnucash/gnucash-bin.c @@ -159,11 +159,13 @@ gnc_print_unstable_message(void) { if (!is_development_version) return; - g_print("\n\n%s\n%s\n%s\n%s\n", + g_print("\n\n%s\n%s\n%s %s\n%s %s\n", _("This is a development version. It may or may not work."), _("Report bugs and other problems to gnucash-devel@gnucash.org"), - _("You can also lookup and file bug reports at https://bugs.gnucash.org"), - _("To find the last stable version, please refer to http://www.gnucash.org")); + /* Translators: An URLs follows*/ + _("You can also lookup and file bug reports at"), PACKAGE_BUGREPORT, + /* Translators: An URLs follows*/ + _("To find the last stable version, please refer to"), PACKAGE_URL); } #ifdef MAC_INTEGRATION