summaryrefslogtreecommitdiff
path: root/backend/djvu
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-11-04 17:37:08 +0800
committerZenWalker <[email protected]>2019-11-11 01:18:10 +0100
commitd19b62785293db5999bb14b6ebb611aa76a7253a (patch)
tree07995725258e0f67bd91c0692110e335bbd6c82f /backend/djvu
parent73c0bb35bfc355eaa2842652f6a85a58592fb1c2 (diff)
downloadatril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.bz2
atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'backend/djvu')
-rw-r--r--backend/djvu/Makefile.am8
-rw-r--r--backend/djvu/djvudocument.atril-backend.desktop.in (renamed from backend/djvu/djvudocument.atril-backend.in)2
2 files changed, 5 insertions, 5 deletions
diff --git a/backend/djvu/Makefile.am b/backend/djvu/Makefile.am
index f53cdb53..75fde7eb 100644
--- a/backend/djvu/Makefile.am
+++ b/backend/djvu/Makefile.am
@@ -26,13 +26,13 @@ libdjvudocument_la_LIBADD = \
$(BACKEND_LIBS) \
$(DJVU_LIBS)
-backend_in_files = djvudocument.atril-backend.in
-backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend)
+backend_in_files = djvudocument.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/djvu/djvudocument.atril-backend.in b/backend/djvu/djvudocument.atril-backend.desktop.in
index 9f97925e..2d5f1531 100644
--- a/backend/djvu/djvudocument.atril-backend.in
+++ b/backend/djvu/djvudocument.atril-backend.desktop.in
@@ -1,4 +1,4 @@
[Atril Backend]
Module=djvudocument
-_TypeDescription=DjVu Documents
+TypeDescription=DjVu Documents
MimeType=image/vnd.djvu;image/vnd.djvu+multipage