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 --- backend/xps/Makefile.am | 8 ++++---- backend/xps/xpsdocument.atril-backend.desktop.in | 5 +++++ backend/xps/xpsdocument.atril-backend.in | 5 ----- 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 backend/xps/xpsdocument.atril-backend.desktop.in delete mode 100644 backend/xps/xpsdocument.atril-backend.in (limited to 'backend/xps') diff --git a/backend/xps/Makefile.am b/backend/xps/Makefile.am index 5fd1c0c1..b0be0664 100644 --- a/backend/xps/Makefile.am +++ b/backend/xps/Makefile.am @@ -19,13 +19,13 @@ libxpsdocument_la_LIBADD = \ $(BACKEND_LIBS) \ $(GXPS_LIBS) -backend_in_files = xpsdocument.atril-backend.in -backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) +backend_in_files = xpsdocument.atril-backend.desktop.in +backend_DATA = $(backend_in_files:.atril-backend.desktop.in=.atril-backend) +$(backend_DATA): $(backend_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --keyword=TypeDescription --template $< -d $(top_srcdir)/po -o $@ EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_ATRIL_BACKEND_RULE@ - -include $(top_srcdir)/git.mk diff --git a/backend/xps/xpsdocument.atril-backend.desktop.in b/backend/xps/xpsdocument.atril-backend.desktop.in new file mode 100644 index 00000000..1a4e2ad3 --- /dev/null +++ b/backend/xps/xpsdocument.atril-backend.desktop.in @@ -0,0 +1,5 @@ +[Atril Backend] +Module=xpsdocument +Resident=true +TypeDescription=XPS Documents +MimeType=application/oxps;application/vnd.ms-xpsdocument diff --git a/backend/xps/xpsdocument.atril-backend.in b/backend/xps/xpsdocument.atril-backend.in deleted file mode 100644 index 3fca5801..00000000 --- a/backend/xps/xpsdocument.atril-backend.in +++ /dev/null @@ -1,5 +0,0 @@ -[Atril Backend] -Module=xpsdocument -Resident=true -_TypeDescription=XPS Documents -MimeType=application/oxps;application/vnd.ms-xpsdocument -- cgit v1.2.1