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/dvi/Makefile.am | 8 ++++---- backend/dvi/dvidocument.atril-backend.desktop.in | 4 ++++ backend/dvi/dvidocument.atril-backend.in | 4 ---- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 backend/dvi/dvidocument.atril-backend.desktop.in delete mode 100644 backend/dvi/dvidocument.atril-backend.in (limited to 'backend/dvi') diff --git a/backend/dvi/Makefile.am b/backend/dvi/Makefile.am index b090f47a..c94c10ad 100644 --- a/backend/dvi/Makefile.am +++ b/backend/dvi/Makefile.am @@ -33,13 +33,13 @@ if WITH_TYPE1_FONTS libdvidocument_la_LIBADD += -lt1 endif -backend_in_files = dvidocument.atril-backend.in -backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) +backend_in_files = dvidocument.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/dvi/dvidocument.atril-backend.desktop.in b/backend/dvi/dvidocument.atril-backend.desktop.in new file mode 100644 index 00000000..9bfd6f77 --- /dev/null +++ b/backend/dvi/dvidocument.atril-backend.desktop.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=dvidocument +TypeDescription=DVI Documents +MimeType=application/x-dvi;application/x-bzdvi;application/x-gzdvi diff --git a/backend/dvi/dvidocument.atril-backend.in b/backend/dvi/dvidocument.atril-backend.in deleted file mode 100644 index c60f7adb..00000000 --- a/backend/dvi/dvidocument.atril-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Atril Backend] -Module=dvidocument -_TypeDescription=DVI Documents -MimeType=application/x-dvi;application/x-bzdvi;application/x-gzdvi -- cgit v1.2.1