[balsa] autocrypt: Do not split translated string
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] autocrypt: Do not split translated string
- Date: Sat, 24 Aug 2019 18:58:14 +0000 (UTC)
commit 9db77d97d4582e60691e40b9c5c9dfd4a5d0fbe6
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sat Aug 24 14:55:22 2019 -0400
autocrypt: Do not split translated string
Closes https://gitlab.gnome.org/GNOME/balsa/issues/16
Thanks to @libreajans for spotting this.
libbalsa/autocrypt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libbalsa/autocrypt.c b/libbalsa/autocrypt.c
index 793ecc4e8..a424f379f 100644
--- a/libbalsa/autocrypt.c
+++ b/libbalsa/autocrypt.c
@@ -879,7 +879,8 @@ add_or_update_user_info(const AutocryptData *user_info, time_t date_header, gboo
(sqlite3_bind_int64(query[query_idx], 5, user_info->expires) != SQLITE_OK) ||
(sqlite3_bind_int(query[query_idx], 6, user_info->prefer_encrypt) != SQLITE_OK) ||
(sqlite3_step(query[query_idx]) != SQLITE_DONE)) {
- g_set_error(error, AUTOCRYPT_ERROR_QUARK, -1, _("%s user “%s” failed: %s"), update ?
_("update") : _("insert"),
+ g_set_error(error, AUTOCRYPT_ERROR_QUARK, -1,
+ update ? _("update user “%s” failed: %s") : _("insert user “%s” failed: %s"),
user_info->addr, sqlite3_errmsg(autocrypt_db));
} else {
g_debug("%s user '%s': %d", update ? "updated" : "inserted", user_info->addr,
sqlite3_changes(autocrypt_db));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]