Mercurial > pidgin
changeset 16134:d3e197b67ef9
Fix Ticket #152
"The string
gchar *errmsg = g_strconcat(_("Setting custom faces is not currently
supported. Please choose an image from "), buddy_icon_dir, ".", NULL);
assumes that it is always grammatically correct to append a directory name
to a sentence fragment. Also, without reading the source, the translator
would not have an idea what the sentence fragment is talking about."
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 15 Apr 2007 06:56:43 +0000 |
parents | bd4a21db0ec9 |
children | 96a8e57cf0ca |
files | libpurple/protocols/qq/buddy_info.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/qq/buddy_info.c Sun Apr 15 01:26:57 2007 +0000 +++ b/libpurple/protocols/qq/buddy_info.c Sun Apr 15 06:56:43 2007 +0000 @@ -562,7 +562,7 @@ gint prefix_len = strlen(QQ_ICON_PREFIX); gint suffix_len = strlen(QQ_ICON_SUFFIX); gint dir_len = strlen(buddy_icon_dir); - gchar *errmsg = g_strconcat(_("Setting custom faces is not currently supported. Please choose an image from "), buddy_icon_dir, ".", NULL); + gchar *errmsg = g_strdup_printf(_("Setting custom faces is not currently supported. Please choose an image from %s."), buddy_icon_dir); gboolean icon_global = purple_account_get_bool(gc->account, "use-global-buddyicon", TRUE); if (!icon_path)