Mercurial > pidgin
comparison libpurple/protocols/qq/buddy_info.c @ 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 | 32c366eeeb99 |
children | 85d5942e80e9 |
comparison
equal
deleted
inserted
replaced
16122:bd4a21db0ec9 | 16134:d3e197b67ef9 |
---|---|
560 const gchar *icon_path = purple_account_get_buddy_icon_path(account); | 560 const gchar *icon_path = purple_account_get_buddy_icon_path(account); |
561 const gchar *buddy_icon_dir = qq_buddy_icon_dir(); | 561 const gchar *buddy_icon_dir = qq_buddy_icon_dir(); |
562 gint prefix_len = strlen(QQ_ICON_PREFIX); | 562 gint prefix_len = strlen(QQ_ICON_PREFIX); |
563 gint suffix_len = strlen(QQ_ICON_SUFFIX); | 563 gint suffix_len = strlen(QQ_ICON_SUFFIX); |
564 gint dir_len = strlen(buddy_icon_dir); | 564 gint dir_len = strlen(buddy_icon_dir); |
565 gchar *errmsg = g_strconcat(_("Setting custom faces is not currently supported. Please choose an image from "), buddy_icon_dir, ".", NULL); | 565 gchar *errmsg = g_strdup_printf(_("Setting custom faces is not currently supported. Please choose an image from %s."), buddy_icon_dir); |
566 gboolean icon_global = purple_account_get_bool(gc->account, "use-global-buddyicon", TRUE); | 566 gboolean icon_global = purple_account_get_bool(gc->account, "use-global-buddyicon", TRUE); |
567 | 567 |
568 if (!icon_path) | 568 if (!icon_path) |
569 icon_path = ""; | 569 icon_path = ""; |
570 | 570 |