[gedit/zbrown/deteplification-src: 624/633] Make OpenLinks pluggin localizable




commit 7ed283307f7bbb8eac0759402d7d765de92a57ae
Author: Jordi Mas <jmas softcatala org>
Date:   Mon Mar 29 18:05:14 2021 +0200

    Make OpenLinks pluggin localizable

 plugins/openlinks/gedit-open-links-plugin.c | 2 +-
 po/POTFILES.in                              | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/plugins/openlinks/gedit-open-links-plugin.c b/plugins/openlinks/gedit-open-links-plugin.c
index a6b37ed1e..ae8dd5baa 100644
--- a/plugins/openlinks/gedit-open-links-plugin.c
+++ b/plugins/openlinks/gedit-open-links-plugin.c
@@ -179,7 +179,7 @@ gedit_open_links_plugin_on_populate_popup_cb (GtkTextView           *view,
                return;
        }
 
-       menu_item = gtk_menu_item_new_with_label ("Open Link");
+       menu_item = gtk_menu_item_new_with_label (_("Open Link"));
        g_signal_connect (menu_item, "activate", G_CALLBACK (gedit_open_links_plugin_open_link_cb), plugin);
 
        gtk_widget_show (menu_item);
diff --git a/po/POTFILES.in b/po/POTFILES.in
index dc6b1f9d7..25ff2db1a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -85,6 +85,8 @@ plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml
 plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui
 plugins/filebrowser/resources/ui/gedit-file-browser-widget.ui
 plugins/modelines/modelines.plugin.desktop.in
+plugins/openlinks/gedit-open-links-plugin.c
+plugins/openlinks/openlinks.plugin.desktop.in
 plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml
 plugins/pythonconsole/pythonconsole/config.ui
 plugins/pythonconsole/pythonconsole/__init__.py


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