[Gnucash-changes] r12275 - gnucash/trunk/src/import-export/hbci -
String i18n cleanup: manual linebreaks removed
Christian Stimming
cstim at cvs.gnucash.org
Fri Jan 6 17:09:17 EST 2006
Author: cstim
Date: 2006-01-06 17:09:16 -0500 (Fri, 06 Jan 2006)
New Revision: 12275
Trac: http://svn.gnucash.org/trac/changeset/12275
Modified:
gnucash/trunk/src/import-export/hbci/gnc-hbci-getbalance.c
gnucash/trunk/src/import-export/hbci/gnc-hbci-transfer.c
gnucash/trunk/src/import-export/hbci/gnc-hbci-utils.c
Log:
String i18n cleanup: manual linebreaks removed
Modified: gnucash/trunk/src/import-export/hbci/gnc-hbci-getbalance.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/gnc-hbci-getbalance.c 2006-01-06 21:55:54 UTC (rev 12274)
+++ gnucash/trunk/src/import-export/hbci/gnc-hbci-getbalance.c 2006-01-06 22:09:16 UTC (rev 12275)
@@ -254,16 +254,17 @@
| GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_OK,
+ "%s",
/* Translators: Strings from this file are really only
* needed inside Germany (HBCI is not supported anywhere
* else). You may safely ignore strings from the
* import-export/hbci subdirectory in other countries.
*/
- _("The downloaded HBCI Balance was zero.\n"
- "Either this is the correct balance, or your bank does not \n"
- "support Balance download in this HBCI version. In the latter \n"
- "case you should choose a higher HBCI version number in the HBCI \n"
- "Setup. After that, try again to download the HBCI Balance.\n"));
+ _("The downloaded HBCI Balance was zero.\n\n"
+ "Either this is the correct balance, or your bank does not "
+ "support Balance download in this HBCI version. In the latter "
+ "case you should choose a higher HBCI version number in the HBCI "
+ "Setup. After that, try again to download the HBCI Balance."));
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(GTK_WIDGET(dialog));
dialogres = FALSE;
@@ -276,7 +277,7 @@
char *message1 = g_strdup_printf
(
_("Result of HBCI job: \n"
- "Account booked balance is %s\n"),
+ "Account booked balance is %s"),
booked_str);
char *message2 =
((noted_value == 0.0) ?
@@ -287,14 +288,14 @@
noted_val));
if (gnc_numeric_equal(value, reconc_balance)) {
- const char *message3 = _("The booked balance is identical to the current \n"
+ const char *message3 = _("The booked balance is identical to the current "
"reconciled balance of the account.");
dialog = gtk_message_dialog_new(GTK_WINDOW(parent),
GTK_DIALOG_MODAL
| GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_OK,
- "%s%s\n%s",
+ "%s\n%s\n%s",
message1, message2, message3);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(GTK_WIDGET(dialog));
Modified: gnucash/trunk/src/import-export/hbci/gnc-hbci-transfer.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/gnc-hbci-transfer.c 2006-01-06 21:55:54 UTC (rev 12274)
+++ gnucash/trunk/src/import-export/hbci/gnc-hbci-transfer.c 2006-01-06 22:09:16 UTC (rev 12275)
@@ -129,12 +129,12 @@
(parent,
FALSE,
"%s",
- _("The backend found an error during the preparation \n"
+ _("The backend found an error during the preparation "
"of the job. It is not possible to execute this job. \n"
"\n"
- "Most probable the bank does not support your chosen \n"
- "job or your HBCI account does not have the permission \n"
- "to execute this job. More error messages might be \n"
+ "Most probable the bank does not support your chosen "
+ "job or your HBCI account does not have the permission "
+ "to execute this job. More error messages might be "
"visible on your console log.\n"
"\n"
"Do you want to enter the job again?")))
@@ -212,8 +212,8 @@
(parent,
FALSE,
"%s",
- _("You have changed the list of online transfer templates,\n"
- "but you cancelled the transfer dialog.\n"
+ _("You have changed the list of online transfer templates, "
+ "but you cancelled the transfer dialog. "
"Do you nevertheless want to store the changes?"))) {
GList *kvp_list = gnc_trans_templ_kvp_glist_from_glist (template_list);
/*printf ("Now having %d templates. List: '%s'\n",
Modified: gnucash/trunk/src/import-export/hbci/gnc-hbci-utils.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/gnc-hbci-utils.c 2006-01-06 21:55:54 UTC (rev 12274)
+++ gnucash/trunk/src/import-export/hbci/gnc-hbci-utils.c 2006-01-06 22:09:16 UTC (rev 12275)
@@ -324,14 +324,14 @@
return FALSE;
case AB_ERROR_NO_CARD:
return gnc_verify_dialog (parent,
- TRUE,
- _("No chip card has been found in the chip card reader.\n"
- "Do you want to try again?"));
+ TRUE,
+ _("No chip card has been found in the chip card reader. "
+ "Do you want to try again?"));
case AB_ERROR_JOB_NOT_SUPPORTED:
GNCInteractor_hide (inter);
gnc_error_dialog
(parent,
- _("Unfortunately this HBCI job is not supported \n"
+ _("Unfortunately this HBCI job is not supported "
"by your bank or for your account. Aborting."));
return FALSE;
#endif
@@ -339,27 +339,9 @@
GNCInteractor_hide (inter);
gnc_error_dialog
(parent,
- _("The server of your bank refused the HBCI connection.\n"
+ _("The server of your bank refused the HBCI connection. "
"Please try again later. Aborting."));
return FALSE;
-#if 0
- case AB_ERROR_MEDIUM:
- gnc_error_dialog
- (parent,
- _("There was an error when loading the plugin for your security medium \n"
- "(see log window). Probably the versions of your currently installed \n"
- "OpenHBCI library and of the plugin do not match. In that case you need \n"
- "to recompile and reinstall the plugin again. Aborting now."));
- GNCInteractor_hide (inter);
- return FALSE;
- case AB_ERROR_BAD_MEDIUM:
- gnc_error_dialog
- (parent,
- _("Your security medium is not supported. No appropriate plugin \n"
- "has been found for that medium. Aborting."));
- GNCInteractor_hide (inter);
- return FALSE;
-#endif
default:
return FALSE;
More information about the gnucash-changes
mailing list