gnucash maint: Make strings translatable in dialog-bi-import.c
Mike Evans
mikee at code.gnucash.org
Tue Jan 17 08:23:12 EST 2017
Updated via https://github.com/Gnucash/gnucash/commit/f1c620f6 (commit)
from https://github.com/Gnucash/gnucash/commit/9c39d0e5 (commit)
commit f1c620f6d3c0faf4af1180f4969e6654845b22db
Author: Mike Evans <mikee at saxicola.co.uk>
Date: Tue Jan 17 13:20:04 2017 +0000
Make strings translatable in dialog-bi-import.c
diff --git a/src/plugins/bi_import/dialog-bi-import.c b/src/plugins/bi_import/dialog-bi-import.c
index 32c96cb..f3111d9 100644
--- a/src/plugins/bi_import/dialog-bi-import.c
+++ b/src/plugins/bi_import/dialog-bi-import.c
@@ -814,24 +814,24 @@ gnc_bi_import_create_bis (GtkListStore * store, QofBook * book,
text2bool (accumulatesplits),
auto_pay);
PWARN("Invoice %s posted",id);
- g_string_append_printf (info, "Invoice %s posted.\n",id);
+ g_string_append_printf (info, _("Invoice %s posted.\n"),id);
}
else // No match! Don't post it.
{
PWARN("Invoice %s NOT posted because currencies don't match", id);
- g_string_append_printf (info,"Invoice %s NOT posted because currencies don't match.\n", id);
+ g_string_append_printf (info,_("Invoice %s NOT posted because currencies don't match.\n"), id);
}
}
else
{
PWARN("Cannot post invoice %s because account name \"%s\" is invalid!",id,account_posted);
- g_string_append_printf (info,"Cannot post invoice %s because account name \"%s\" is invalid!\n",id,account_posted);
+ g_string_append_printf (info,_("Cannot post invoice %s because account name \"%s\" is invalid!\n"),id,account_posted);
}
}
else
{
PWARN("Invoice %s NOT posted because it requires currency conversion.",id);
- g_string_append_printf (info,"Invoice %s NOT posted because it requires currency conversion.\n",id);
+ g_string_append_printf (info,_("Invoice %s NOT posted because it requires currency conversion.\n"),id);
}
g_hash_table_unref (foreign_currs);
}
Summary of changes:
src/plugins/bi_import/dialog-bi-import.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
More information about the gnucash-changes
mailing list