[eog] EogSidebar: Make tooltip string translatable



commit 6e876c7db074e947222003d717f7797ea777c04f
Author: Felix Riemann <friemann gnome org>
Date:   Sat Dec 4 18:23:28 2021 +0100

    EogSidebar: Make tooltip string translatable
    
    As a follow-up to !110 make the new button tooltip translatable.

 po/POTFILES.in    | 1 +
 src/eog-sidebar.c | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 31cf8f1e..e3190c3f 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -33,6 +33,7 @@ src/eog-print-image-setup.c
 src/eog-properties-dialog.c
 src/eog-save-as-dialog-helper.c
 src/eog-scroll-view.c
+src/eog-sidebar.c
 src/eog-statusbar.c
 src/eog-thumb-view.c
 src/eog-uri-converter.c
diff --git a/src/eog-sidebar.c b/src/eog-sidebar.c
index 05dd1702..1d753c6f 100644
--- a/src/eog-sidebar.c
+++ b/src/eog-sidebar.c
@@ -418,8 +418,7 @@ eog_sidebar_init (EogSidebar *eog_sidebar)
        g_signal_connect (close_button, "clicked",
                          G_CALLBACK (eog_sidebar_close_clicked_cb),
                          eog_sidebar);
-       /* TODO: i18n */
-       gtk_widget_set_tooltip_text (close_button, "Hide sidebar");
+       gtk_widget_set_tooltip_text (close_button, _("Hide sidebar"));
 
        image = gtk_image_new_from_icon_name ("window-close-symbolic",
                                              GTK_ICON_SIZE_MENU);


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