Don't translate an empty string

This commit is contained in:
Pierre Pronchery 2010-05-07 18:31:19 +00:00
parent 62080192cc
commit d7824df63b

View File

@ -448,7 +448,7 @@ void phone_messages_count_buffer(Phone * phone)
cur_cnt = max; cur_cnt = max;
} }
snprintf(buf, sizeof(buf), _("%d message%s, %d/%d characters"), snprintf(buf, sizeof(buf), _("%d message%s, %d/%d characters"),
msg_cnt, (msg_cnt > 1) ? _("s") : _(""), cur_cnt, max); msg_cnt, (msg_cnt > 1) ? _("s") : "", cur_cnt, max);
gtk_label_set_text(GTK_LABEL(phone->wr_count), buf); gtk_label_set_text(GTK_LABEL(phone->wr_count), buf);
} }