From d19b62785293db5999bb14b6ebb611aa76a7253a Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Mon, 4 Nov 2019 17:37:08 +0800 Subject: migrate from intltool to gettext --- properties/Makefile.am | 7 ++++--- properties/libatril-properties-page.caja-extension.desktop.in.in | 8 ++++++++ properties/libatril-properties-page.caja-extension.in.in | 8 -------- 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 properties/libatril-properties-page.caja-extension.desktop.in.in delete mode 100644 properties/libatril-properties-page.caja-extension.in.in (limited to 'properties') diff --git a/properties/Makefile.am b/properties/Makefile.am index b0b46659..a3cb40fb 100644 --- a/properties/Makefile.am +++ b/properties/Makefile.am @@ -31,9 +31,10 @@ libatril_properties_page_la_LIBADD = \ libatril_properties_page_la_LDFLAGS = -module -avoid-version -no-undefined extensiondir = $(datadir)/caja/extensions -extension_in_files = libatril-properties-page.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 = libatril-properties-page.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=Description --template $< -d $(top_srcdir)/po -o $@ EXTRA_DIST = $(extension_in_files) diff --git a/properties/libatril-properties-page.caja-extension.desktop.in.in b/properties/libatril-properties-page.caja-extension.desktop.in.in new file mode 100644 index 00000000..6a45fa97 --- /dev/null +++ b/properties/libatril-properties-page.caja-extension.desktop.in.in @@ -0,0 +1,8 @@ +[Caja Extension] +Icon=atril +Name=Atril properties +Description=Shows details for Atril documents +Version=@VERSION@ +Author=Andrew Sobala ;Bastien Nocera +Website=https://mate-desktop.org/ +Copyright=Copyright (C) 2000, 2001 Eazel Inc.\nCopyright (C) 2003 Andrew Sobala \nCopyright (C) 2005 Bastien Nocera \nCopyright (C) 2005 Red Hat, Inc\nCopyright (C) 2012–2018 The MATE developers diff --git a/properties/libatril-properties-page.caja-extension.in.in b/properties/libatril-properties-page.caja-extension.in.in deleted file mode 100644 index 059da2d4..00000000 --- a/properties/libatril-properties-page.caja-extension.in.in +++ /dev/null @@ -1,8 +0,0 @@ -[Caja Extension] -Icon=atril -_Name=Atril properties -_Description=Shows details for Atril documents -Version=@VERSION@ -Author=Andrew Sobala ;Bastien Nocera -Website=https://mate-desktop.org/ -Copyright=Copyright (C) 2000, 2001 Eazel Inc.\nCopyright (C) 2003 Andrew Sobala \nCopyright (C) 2005 Bastien Nocera \nCopyright (C) 2005 Red Hat, Inc\nCopyright (C) 2012–2018 The MATE developers -- cgit v1.2.1