[gedit] Make OpenLinks pluggin localizable
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Make OpenLinks pluggin localizable
- Date: Mon, 29 Mar 2021 16:06:25 +0000 (UTC)
commit f115fb75edcf5ec0d45225ef87a37cdb9ccc599d
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 2383549f4..be8af499a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -79,6 +79,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]