From 1a7ae12d402b6f1dccd6b8dac44f38440f571ca5 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Tue, 29 Oct 2019 14:37:17 +0800 Subject: migrate from intltools to gettext --- plugins/Makefile.am | 5 +++-- plugins/fullscreen/fullscreen.plugin.desktop.in | 4 ++-- plugins/reload/reload.plugin.desktop.in | 4 ++-- plugins/statusbar-date/statusbar-date.plugin.desktop.in | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) (limited to 'plugins') 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 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 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 Copyright=Copyright © 2008 Free Software Foundation Website=http://www.mate-desktop.org/ -- cgit v1.2.1