Replace a few hardcoded URLs by CMake vars

Additional fix a bug URL
This commit is contained in:
Frank H. Ellenberger 2018-11-03 10:05:09 +01:00
parent 51b96ec3e5
commit 744101153d
2 changed files with 8 additions and 6 deletions

View File

@ -4576,7 +4576,7 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
* contributors. */ * contributors. */
"translator-credits", _("translator_credits"), "translator-credits", _("translator_credits"),
"version", version, "version", version,
"website", "http://www.gnucash.org", "website", PACKAGE_URL,
"website_label", _("Visit the GnuCash website."), "website_label", _("Visit the GnuCash website."),
NULL); NULL);
@ -4892,8 +4892,8 @@ dgettext_swapped (const gchar *msgid,
* This is copied into GnuCash from Gtk in order to fix problems when * This is copied into GnuCash from Gtk in order to fix problems when
* empty msgids were passed through gettext(). * empty msgids were passed through gettext().
* *
* See https://bugs.gnucash.org/show_bug.cgi?id=326200 . If that bug * TODO: See https://bugzilla.gnome.org/show_bug.cgi?id=326200 . If that bug
* is fixed in the gtk that we can rely open, then * is fixed in the gtk that we can rely on, then
* gnc_gtk_action_group_set_translation_domain can be replaced by * gnc_gtk_action_group_set_translation_domain can be replaced by
* gtk_action_group_set_translation_domain again. * gtk_action_group_set_translation_domain again.
*/ */

View File

@ -159,11 +159,13 @@ gnc_print_unstable_message(void)
{ {
if (!is_development_version) return; 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."), _("This is a development version. It may or may not work."),
_("Report bugs and other problems to gnucash-devel@gnucash.org"), _("Report bugs and other problems to gnucash-devel@gnucash.org"),
_("You can also lookup and file bug reports at https://bugs.gnucash.org"), /* Translators: An URLs follows*/
_("To find the last stable version, please refer to http://www.gnucash.org")); _("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 #ifdef MAC_INTEGRATION