From cae41a6e3e2392290adfec7e37e18f42224fb5f8 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 16 Sep 2003 16:12:28 +0000 Subject: Really use the translated names of the default topics and bookmarks when 2003-09-16 Christian Persch * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults): Really use the translated names of the default topics and bookmarks when creating them. --- ChangeLog | 7 +++++++ src/bookmarks/ephy-bookmarks.c | 7 +++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 789ddcd65..f44e4d75d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-09-16 Christian Persch + + * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults): + + Really use the translated names of the default topics and bookmarks when + creating them. + 2003-09-16 Christian Persch * src/bookmarks/ephy-new-bookmark.c: ephy_new_bookmark_construct): diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index 978561e01..bf1d575d2 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -66,7 +66,6 @@ typedef struct { const char *title; const char *location; - const char *smart_url; } EphyBookmarksBookmarkInfo; static const EphyBookmarksBookmarkInfo default_bookmarks [] = @@ -216,15 +215,15 @@ ephy_bookmarks_init_defaults (EphyBookmarks *eb) for (i = 0; i < n_default_topics; i++) { - ephy_bookmarks_add_keyword (eb, default_topics[i]); + ephy_bookmarks_add_keyword (eb, _(default_topics[i])); } for (i = 0; i < n_default_bookmarks; i++) { EphyNode *bmk; - bmk = ephy_bookmarks_add (eb, default_bookmarks[i].title, - default_bookmarks[i].location); + bmk = ephy_bookmarks_add (eb, _(default_bookmarks[i].title), + _(default_bookmarks[i].location)); ephy_toolbars_model_add_bookmark (eb->priv->toolbars_model, FALSE, ephy_node_get_id (bmk)); } -- cgit v1.2.3