diff options
author | Wu Xiaotian <[email protected]> | 2019-11-04 17:37:08 +0800 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-11-11 01:18:10 +0100 |
commit | d19b62785293db5999bb14b6ebb611aa76a7253a (patch) | |
tree | 07995725258e0f67bd91c0692110e335bbd6c82f /backend/pdf | |
parent | 73c0bb35bfc355eaa2842652f6a85a58592fb1c2 (diff) | |
download | atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.bz2 atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'backend/pdf')
-rw-r--r-- | backend/pdf/Makefile.am | 7 | ||||
-rw-r--r-- | backend/pdf/pdfdocument.atril-backend.desktop.in (renamed from backend/pdf/pdfdocument.atril-backend.in) | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/backend/pdf/Makefile.am b/backend/pdf/Makefile.am index 8634bb63..e51dfdca 100644 --- a/backend/pdf/Makefile.am +++ b/backend/pdf/Makefile.am @@ -22,13 +22,14 @@ libpdfdocument_la_LIBADD = \ $(CAIRO_PDF_LIBS) \ $(CAIRO_PS_LIBS) -backend_in_files = pdfdocument.atril-backend.in -backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) +backend_in_files = pdfdocument.atril-backend.desktop.in +backend_DATA = $(backend_in_files:.atril-backend.desktop.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_ATRIL_BACKEND_RULE@ +$(backend_DATA): $(backend_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --keyword=TypeDescription --template $< -d $(top_srcdir)/po -o $@ -include $(top_srcdir)/git.mk diff --git a/backend/pdf/pdfdocument.atril-backend.in b/backend/pdf/pdfdocument.atril-backend.desktop.in index 017b585d..5daca01f 100644 --- a/backend/pdf/pdfdocument.atril-backend.in +++ b/backend/pdf/pdfdocument.atril-backend.desktop.in @@ -1,5 +1,5 @@ [Atril Backend] Module=pdfdocument Resident=true -_TypeDescription=PDF Documents +TypeDescription=PDF Documents MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/x-ext-pdf; |