From 26b2e261d06b16e602e42bd4ae1821494f019121 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Tue, 24 Dec 2019 12:32:11 +0800 Subject: migrate from intltool to gettext --- wallpaper/Makefile.am | 7 ++++--- wallpaper/libcaja-wallpaper.caja-extension.desktop.in.in | 9 +++++++++ wallpaper/libcaja-wallpaper.caja-extension.in.in | 8 -------- 3 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 wallpaper/libcaja-wallpaper.caja-extension.desktop.in.in delete mode 100644 wallpaper/libcaja-wallpaper.caja-extension.in.in (limited to 'wallpaper') diff --git a/wallpaper/Makefile.am b/wallpaper/Makefile.am index 0796412..9b1dfb2 100644 --- a/wallpaper/Makefile.am +++ b/wallpaper/Makefile.am @@ -12,8 +12,9 @@ libcaja_wallpaper_la_LDFLAGS = -module -avoid-version libcaja_wallpaper_la_LIBADD = $(CAJA_LIBS) extensiondir = $(datadir)/caja/extensions -extension_in_files = libcaja-wallpaper.caja-extension.in -extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension) -%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +extension_in_files = libcaja-wallpaper.caja-extension.desktop.in +extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension) +$(extension_DATA): $(extension_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Copyright --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@ CLEANFILES = $(extension_DATA) diff --git a/wallpaper/libcaja-wallpaper.caja-extension.desktop.in.in b/wallpaper/libcaja-wallpaper.caja-extension.desktop.in.in new file mode 100644 index 0000000..6394eeb --- /dev/null +++ b/wallpaper/libcaja-wallpaper.caja-extension.desktop.in.in @@ -0,0 +1,9 @@ +[Caja Extension] +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=desktop +Name=Wallpaper +Description=Allows to quickly set wallpaper +Author=Stefano Karapetsas;Adam Israel +Copyright=Copyright (C) 2014 Stefano Karapetsas +Version=@VERSION@ +Website=https://mate-desktop.org/ diff --git a/wallpaper/libcaja-wallpaper.caja-extension.in.in b/wallpaper/libcaja-wallpaper.caja-extension.in.in deleted file mode 100644 index 22a9a44..0000000 --- a/wallpaper/libcaja-wallpaper.caja-extension.in.in +++ /dev/null @@ -1,8 +0,0 @@ -[Caja Extension] -Icon=desktop -_Name=Wallpaper -_Description=Allows to quickly set wallpaper -Author=Stefano Karapetsas;Adam Israel -_Copyright=Copyright (C) 2014 Stefano Karapetsas -Version=@VERSION@ -Website=https://mate-desktop.org/ -- cgit v1.2.1