r16640 - gnucash/branches/2.2 - [r16635, r16636] #500026: Add configure argument for packagers to have correct package name reported on missing qt3-wizard.

Andreas Köhler andi5 at cvs.gnucash.org
Fri Dec 14 15:24:36 EST 2007


Author: andi5
Date: 2007-12-14 15:24:34 -0500 (Fri, 14 Dec 2007)
New Revision: 16640
Trac: http://svn.gnucash.org/trac/changeset/16640

Modified:
   gnucash/branches/2.2/configure.in
   gnucash/branches/2.2/po/ca.po
   gnucash/branches/2.2/po/cs.po
   gnucash/branches/2.2/po/de.po
   gnucash/branches/2.2/po/en_GB.po
   gnucash/branches/2.2/po/hu.po
   gnucash/branches/2.2/po/pt_BR.po
   gnucash/branches/2.2/src/import-export/hbci/druid-hbci-initial.c
Log:
[r16635,r16636] #500026: Add configure argument for packagers to have correct package name reported on missing qt3-wizard.

Because gnucash is a GTK+ application and HBCI setup wizard for aqbanking is a
Qt stuff, most distribution split aqbanking packages to more sub-packages.

This patch adds possibility to change string of package name displayed in
the reported error without need of distro-specific patches breaking I18N. It
could be done in compile time using --with-qt3-wizard-package=name.

Adapt translations to last string change introduced by r16635.

Patch by Stanislav Brabec <sbrabec at suse.cz>.
Signed-off-by: Christian Stimming <stimming at tuhh.de>


Modified: gnucash/branches/2.2/configure.in
===================================================================
--- gnucash/branches/2.2/configure.in	2007-12-14 20:24:07 UTC (rev 16639)
+++ gnucash/branches/2.2/configure.in	2007-12-14 20:24:34 UTC (rev 16640)
@@ -543,6 +543,10 @@
 
 AC_ARG_WITH(qof, [  --with-qof=path           prefix for Query Object Framework - QOF (auto)],
 	[gnc_with_qof=$withval], [gnc_with_qof=yes])
+AC_ARG_WITH(qt3_wizard_package,
+                 [  --with-qt3-wizard-package=name  name of package containing qt3-wizard (aqbanking)],
+	[QT3_WIZARD_PACKAGE=$withval], [QT3_WIZARD_PACKAGE=aqbanking])
+AC_DEFINE_UNQUOTED([QT3_WIZARD_PACKAGE],["$QT3_WIZARD_PACKAGE"],[Name of package containing qt3-wizard.])
 
 # GnuCash builds without deprecated QOF code so needs latest version.
 QOF_REQUIRED=0.6.4

Modified: gnucash/branches/2.2/po/ca.po
===================================================================
--- gnucash/branches/2.2/po/ca.po	2007-12-14 20:24:07 UTC (rev 16639)
+++ gnucash/branches/2.2/po/ca.po	2007-12-14 20:24:34 UTC (rev 16640)
@@ -11668,10 +11668,10 @@
 msgid ""
 "The external program \"AqBanking Setup Wizard\" has not been found. \n"
 "\n"
-"The aqbanking package should include the program \"qt3-wizard\".  Please check your installation to ensure this program is present.  On some distributions this may require installing additional packages."
+"The %s package should include the program \"qt3-wizard\".  Please check your installation to ensure this program is present.  On some distributions this may require installing additional packages."
 msgstr ""
 "No s'ha trobat el programa extern «Assistent de configuració de l'AqBanking». \n"
-"El paquet de l'aqbanking hauria d'incloure el programa «qt3-wizard». Comproveu la vostra instal·lació per a assegurar-vos que teniu aquest programa. En algunes distribucions això requereix la instal·lació de paquets addicionals."
+"El paquet de l'%s hauria d'incloure el programa «qt3-wizard». Comproveu la vostra instal·lació per a assegurar-vos que teniu aquest programa. En algunes distribucions això requereix la instal·lació de paquets addicionals."
 
 #: ../src/import-export/hbci/druid-hbci-initial.c:709
 msgid "Online Banking Account Name"

Modified: gnucash/branches/2.2/po/cs.po
===================================================================
--- gnucash/branches/2.2/po/cs.po	2007-12-14 20:24:07 UTC (rev 16639)
+++ gnucash/branches/2.2/po/cs.po	2007-12-14 20:24:34 UTC (rev 16640)
@@ -11748,11 +11748,11 @@
 msgid ""
 "The external program \"AqBanking Setup Wizard\" has not been found. \n"
 "\n"
-"The aqbanking package should include the program \"qt3-wizard\".  Please check your installation to ensure this program is present.  On some distributions this may require installing additional packages."
+"The %s package should include the program \"qt3-wizard\".  Please check your installation to ensure this program is present.  On some distributions this may require installing additional packages."
 msgstr ""
 "Externí program \"Průvodce nastavením AqBanking\" nebyl nalezen. \n"
 "\n"
-"Balíček aqbanking by měl obsahovat program \"qt3-wizard\". Zkontrolujte prosím vaši instalaci a zajistěte, aby byl tento program přítomen. V některých distribucích k tomu může být potřeba nainstalovat další balíčky."
+"Balíček %s by měl obsahovat program \"qt3-wizard\". Zkontrolujte prosím vaši instalaci a zajistěte, aby byl tento program přítomen. V některých distribucích k tomu může být potřeba nainstalovat další balíčky."
 
 #: ../src/import-export/hbci/druid-hbci-initial.c:709
 msgid "Online Banking Account Name"

Modified: gnucash/branches/2.2/po/de.po
===================================================================
--- gnucash/branches/2.2/po/de.po	2007-12-14 20:24:07 UTC (rev 16639)
+++ gnucash/branches/2.2/po/de.po	2007-12-14 20:24:34 UTC (rev 16640)
@@ -13286,16 +13286,13 @@
 msgid ""
 "The external program \"AqBanking Setup Wizard\" has not been found. \n"
 "\n"
-"The aqbanking package should include the program \"qt3-wizard\".  Please "
+"The %s package should include the program \"qt3-wizard\".  Please "
 "check your installation to ensure this program is present.  On some "
 "distributions this may require installing additional packages."
 msgstr ""
-"Das externe Programm »AqBanking Einrichtungs-Assistent« konnte nicht "
-"gefunden werden. \n"
+"Das externe Programm »AqBanking Einrichtungs-Assistent« konnte nicht gefunden werden. \n"
 "\n"
-"Dieses soll normalerweise vom aqbanking-Paket installiert werden, so dass "
-"dann ein Programm namens »qt3-wizard« installiert ist. Bitte kontrollieren "
-"Sie Ihre Installation der Bibliothek aqbanking."
+"Dieses soll normalerweise vom %s-Paket installiert werden, so dass dann ein Programm namens »qt3-wizard« installiert ist. Bitte kontrollieren Sie Ihre Installation der Bibliothek AqBanking."
 
 #: ../src/import-export/hbci/druid-hbci-initial.c:755
 msgid "Online Banking Account Name"

Modified: gnucash/branches/2.2/po/en_GB.po
===================================================================
--- gnucash/branches/2.2/po/en_GB.po	2007-12-14 20:24:07 UTC (rev 16639)
+++ gnucash/branches/2.2/po/en_GB.po	2007-12-14 20:24:34 UTC (rev 16640)
@@ -13171,13 +13171,13 @@
 msgid ""
 "The external program \"AqBanking Setup Wizard\" has not been found. \n"
 "\n"
-"The aqbanking package should include the program \"qt3-wizard\".  Please "
+"The %s package should include the program \"qt3-wizard\".  Please "
 "check your installation to ensure this program is present.  On some "
 "distributions this may require installing additional packages."
 msgstr ""
 "The external program \"AqBanking Setup Wizard\" has not been found. \n"
 "\n"
-"The aqbanking package should include the program \"qt3-wizard\".  Please "
+"The %s package should include the program \"qt3-wizard\".  Please "
 "check your installation to ensure this program is present.  On some "
 "distributions this may require installing additional packages."
 

Modified: gnucash/branches/2.2/po/hu.po
===================================================================
--- gnucash/branches/2.2/po/hu.po	2007-12-14 20:24:07 UTC (rev 16639)
+++ gnucash/branches/2.2/po/hu.po	2007-12-14 20:24:34 UTC (rev 16640)
@@ -12919,14 +12919,13 @@
 msgid ""
 "The external program \"AqBanking Setup Wizard\" has not been found. \n"
 "\n"
-"The aqbanking package should include the program \"qt3-wizard\".  Please "
+"The %s package should include the program \"qt3-wizard\".  Please "
 "check your installation to ensure this program is present.  On some "
 "distributions this may require installing additional packages."
 msgstr ""
 "Az \"AqBanking Setup Wizard\" külső program nem található. \n"
 "\n"
-"Az aqbanking csomagnak tartalmaznia kellene \"qt3-wizard\" programot."
-"Ellenőrizze az aqbanking csomag meglétét. Némelyik disztribúció esetén további csomagok telepítésére lehet szükség."
+"Az %s csomagnak tartalmaznia kellene \"qt3-wizard\" programot.Ellenőrizze az aqbanking csomag meglétét. Némelyik disztribúció esetén további csomagok telepítésére lehet szükség."
 
 #: ../src/import-export/hbci/druid-hbci-initial.c:752
 msgid "Online Banking Account Name"

Modified: gnucash/branches/2.2/po/pt_BR.po
===================================================================
--- gnucash/branches/2.2/po/pt_BR.po	2007-12-14 20:24:07 UTC (rev 16639)
+++ gnucash/branches/2.2/po/pt_BR.po	2007-12-14 20:24:34 UTC (rev 16640)
@@ -13286,14 +13286,14 @@
 msgid ""
 "The external program \"AqBanking Setup Wizard\" has not been found. \n"
 "\n"
-"The aqbanking package should include the program \"qt3-wizard\".  Please "
+"The %s package should include the program \"qt3-wizard\".  Please "
 "check your installation to ensure this program is present.  On some "
 "distributions this may require installing additional packages."
 msgstr ""
 "O programa externo \"Assistente de Configuração AqBanking\" não foi "
 "encontrado. \n"
 "\n"
-"O pacote aqbanking deveria incluir o programa \"qt3-wizard\". Por favor, "
+"O pacote %s deveria incluir o programa \"qt3-wizard\". Por favor, "
 "cheque sua instalação para assegurar que este programa está presente. Em "
 "algumas distribuições, isto pode requerir a instalação de pacotes adicionais."
 

Modified: gnucash/branches/2.2/src/import-export/hbci/druid-hbci-initial.c
===================================================================
--- gnucash/branches/2.2/src/import-export/hbci/druid-hbci-initial.c	2007-12-14 20:24:07 UTC (rev 16639)
+++ gnucash/branches/2.2/src/import-export/hbci/druid-hbci-initial.c	2007-12-14 20:24:34 UTC (rev 16640)
@@ -688,10 +688,10 @@
       (info->window,
        _("The external program \"AqBanking Setup Wizard\" has not "
 	 "been found. \n\n"
-	 "The aqbanking package should include the "
+	 "The %s package should include the "
 	 "program \"qt3-wizard\".  Please check your installation to "
 	 "ensure this program is present.  On some distributions this "
-	 "may require installing additional packages."));
+	 "may require installing additional packages."), QT3_WIZARD_PACKAGE);
     druid_disable_next_button(info);
   }
   g_free (backend_name);



More information about the gnucash-changes mailing list