[evolution-rss] add translatable No information string
- From: Lucian Langa <lucilanga src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution-rss] add translatable No information string
- Date: Mon, 29 Jun 2009 19:44:32 +0000 (UTC)
commit 34a89b91122c83119677e3ec2579d38a59eefddf
Author: Lucian Langa <lucilanga gnome org>
Date: Mon Jun 29 22:42:37 2009 +0300
add translatable No information string
src/parser.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/parser.c b/src/parser.c
index fecabca..99039d7 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -891,7 +891,10 @@ parse_channel_line(xmlNode *top, gchar *feed_name, char *main_date)
else
b = g_strdup(layer_find (top, "description",
layer_find (top, "content",
- layer_find (top, "summary", "No information"))));
+ layer_find (top, "summary", NULL))));
+
+ if (!b || !strlen(b))
+ b = g_strdup(_("No information"));
char *d = layer_find (top, "pubDate", NULL);
//date in dc module format
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]