summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-29 14:37:17 +0800
committerraveit65 <[email protected]>2019-11-13 10:03:32 +0100
commit1a7ae12d402b6f1dccd6b8dac44f38440f571ca5 (patch)
treebd7a214cf231a5be4d5d9c444b56c5dae646f8b7 /plugins
parent6d3ccb0ec4222f9129e337337517845607e6fadd (diff)
downloadeom-1a7ae12d402b6f1dccd6b8dac44f38440f571ca5.tar.bz2
eom-1a7ae12d402b6f1dccd6b8dac44f38440f571ca5.tar.xz
migrate from intltools to gettext
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.am5
-rw-r--r--plugins/fullscreen/fullscreen.plugin.desktop.in4
-rw-r--r--plugins/reload/reload.plugin.desktop.in4
-rw-r--r--plugins/statusbar-date/statusbar-date.plugin.desktop.in4
4 files changed, 9 insertions, 8 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 6398011..bfc34c6 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -46,10 +46,11 @@ endif
# Generate plugin info files
-%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
plugins_DATA = $(plugins_in_files:.plugin.desktop.in=.plugin)
+$(plugins_DATA): $(plugins_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
DISTCLEANFILES = $(plugins_DATA)
CLEANFILES = $(plugins_DATA)
diff --git a/plugins/fullscreen/fullscreen.plugin.desktop.in b/plugins/fullscreen/fullscreen.plugin.desktop.in
index 12d2cb8..34e5988 100644
--- a/plugins/fullscreen/fullscreen.plugin.desktop.in
+++ b/plugins/fullscreen/fullscreen.plugin.desktop.in
@@ -1,9 +1,9 @@
[Plugin]
Module=fullscreen
IAge=2
-_Name=Fullscreen with double-click
+Name=Fullscreen with double-click
Icon=view-fullscreen
-_Description=Activate fullscreen mode with double-click
+Description=Activate fullscreen mode with double-click
Authors=Lucas Rocha <[email protected]>
Copyright=Copyright © 2007 Lucas Rocha
Website=http://www.mate-desktop.org/
diff --git a/plugins/reload/reload.plugin.desktop.in b/plugins/reload/reload.plugin.desktop.in
index 4b0ff92..60087a3 100644
--- a/plugins/reload/reload.plugin.desktop.in
+++ b/plugins/reload/reload.plugin.desktop.in
@@ -1,9 +1,9 @@
[Plugin]
Module=reload
IAge=2
-_Name=Reload Image
+Name=Reload Image
Icon=view-refresh
-_Description=Reload current image
+Description=Reload current image
Authors=Lucas Rocha <[email protected]>
Copyright=Copyright © 2007 Lucas Rocha
Website=http://www.mate-desktop.org/
diff --git a/plugins/statusbar-date/statusbar-date.plugin.desktop.in b/plugins/statusbar-date/statusbar-date.plugin.desktop.in
index 55a1e8c..c87848e 100644
--- a/plugins/statusbar-date/statusbar-date.plugin.desktop.in
+++ b/plugins/statusbar-date/statusbar-date.plugin.desktop.in
@@ -1,8 +1,8 @@
[Plugin]
Module=statusbar-date
IAge=2
-_Name=Date in statusbar
-_Description=Shows the image date in the window statusbar
+Name=Date in statusbar
+Description=Shows the image date in the window statusbar
Authors=Claudio Saavedra <[email protected]>
Copyright=Copyright © 2008 Free Software Foundation
Website=http://www.mate-desktop.org/