[epiphany] Fix untranslated Favorites string in bookmarks popover title



commit 71568c334958b34102cd327f290af848664e38a7
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Mar 23 14:32:04 2017 -0500

    Fix untranslated Favorites string in bookmarks popover title
    
    We translated it in most places, but missed a spot.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780460

 src/bookmarks/ephy-bookmarks-popover.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmarks-popover.c b/src/bookmarks/ephy-bookmarks-popover.c
index afb8fdf..577e970 100644
--- a/src/bookmarks/ephy-bookmarks-popover.c
+++ b/src/bookmarks/ephy-bookmarks-popover.c
@@ -407,7 +407,10 @@ ephy_bookmarks_popover_show_tag_detail (EphyBookmarksPopover *self,
     gtk_container_add (GTK_CONTAINER (self->tag_detail_list_box), row);
   }
 
-  gtk_label_set_label (GTK_LABEL (self->tag_detail_label), tag);
+  if (strcmp (tag, EPHY_BOOKMARKS_FAVORITES_TAG) == 0)
+    gtk_label_set_label (GTK_LABEL (self->tag_detail_label), _(EPHY_BOOKMARKS_FAVORITES_TAG));
+  else
+    gtk_label_set_label (GTK_LABEL (self->tag_detail_label), tag);
 
   gtk_stack_set_visible_child_name (GTK_STACK (self->toplevel_stack), "tag_detail");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]