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 | |
parent | 73c0bb35bfc355eaa2842652f6a85a58592fb1c2 (diff) | |
download | atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.bz2 atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'backend')
-rw-r--r-- | backend/comics/Makefile.am | 8 | ||||
-rw-r--r-- | backend/comics/comicsdocument.atril-backend.desktop.in (renamed from backend/comics/comicsdocument.atril-backend.in) | 2 | ||||
-rw-r--r-- | backend/djvu/Makefile.am | 8 | ||||
-rw-r--r-- | backend/djvu/djvudocument.atril-backend.desktop.in (renamed from backend/djvu/djvudocument.atril-backend.in) | 2 | ||||
-rw-r--r-- | backend/dvi/Makefile.am | 8 | ||||
-rw-r--r-- | backend/dvi/dvidocument.atril-backend.desktop.in (renamed from backend/dvi/dvidocument.atril-backend.in) | 2 | ||||
-rw-r--r-- | backend/epub/Makefile.am | 13 | ||||
-rw-r--r-- | backend/epub/epubdocument.atril-backend.desktop.in (renamed from backend/epub/epubdocument.atril-backend.in) | 2 | ||||
-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 | ||||
-rw-r--r-- | backend/pixbuf/Makefile.am | 8 | ||||
-rw-r--r-- | backend/pixbuf/pixbufdocument.atril-backend.desktop.in (renamed from backend/pixbuf/pixbufdocument.atril-backend.in) | 2 | ||||
-rw-r--r-- | backend/ps/Makefile.am | 9 | ||||
-rw-r--r-- | backend/ps/psdocument.atril-backend.desktop.in (renamed from backend/ps/psdocument.atril-backend.in) | 2 | ||||
-rw-r--r-- | backend/tiff/Makefile.am | 8 | ||||
-rw-r--r-- | backend/tiff/tiffdocument.atril-backend.desktop.in (renamed from backend/tiff/tiffdocument.atril-backend.in) | 2 | ||||
-rw-r--r-- | backend/xps/Makefile.am | 8 | ||||
-rw-r--r-- | backend/xps/xpsdocument.atril-backend.desktop.in (renamed from backend/xps/xpsdocument.atril-backend.in) | 2 |
18 files changed, 49 insertions, 46 deletions
diff --git a/backend/comics/Makefile.am b/backend/comics/Makefile.am index 99ef5f4d..49821093 100644 --- a/backend/comics/Makefile.am +++ b/backend/comics/Makefile.am @@ -20,13 +20,13 @@ libcomicsdocument_la_LIBADD = \ $(BACKEND_LIBS) \ $(LIB_LIBS) -backend_in_files = comicsdocument.atril-backend.in -backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) +backend_in_files = comicsdocument.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/comics/comicsdocument.atril-backend.in b/backend/comics/comicsdocument.atril-backend.desktop.in index a99486b2..b21c73cf 100644 --- a/backend/comics/comicsdocument.atril-backend.in +++ b/backend/comics/comicsdocument.atril-backend.desktop.in @@ -1,4 +1,4 @@ [Atril Backend] Module=comicsdocument -_TypeDescription=Comic Books +TypeDescription=Comic Books MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd.comicbook-rar; 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 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.in b/backend/dvi/dvidocument.atril-backend.desktop.in index c60f7adb..9bfd6f77 100644 --- a/backend/dvi/dvidocument.atril-backend.in +++ b/backend/dvi/dvidocument.atril-backend.desktop.in @@ -1,4 +1,4 @@ [Atril Backend] Module=dvidocument -_TypeDescription=DVI Documents +TypeDescription=DVI Documents MimeType=application/x-dvi;application/x-bzdvi;application/x-gzdvi diff --git a/backend/epub/Makefile.am b/backend/epub/Makefile.am index dc34ad2b..c71a320b 100644 --- a/backend/epub/Makefile.am +++ b/backend/epub/Makefile.am @@ -22,16 +22,17 @@ libepubdocument_la_LIBADD = \ $(top_builddir)/libdocument/libatrildocument.la \ minizip/libminizip.la \ $(EPUB_LIBS) \ - $(BACKEND_LIBS) - + $(BACKEND_LIBS) -backend_in_files = epubdocument.atril-backend.in -backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) + +backend_in_files = epubdocument.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/epub/epubdocument.atril-backend.in b/backend/epub/epubdocument.atril-backend.desktop.in index ef7767eb..9c787594 100644 --- a/backend/epub/epubdocument.atril-backend.in +++ b/backend/epub/epubdocument.atril-backend.desktop.in @@ -1,4 +1,4 @@ [Atril Backend] Module=epubdocument -_TypeDescription=epub Documents +TypeDescription=epub Documents MimeType=application/epub+zip; 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; diff --git a/backend/pixbuf/Makefile.am b/backend/pixbuf/Makefile.am index 26b43c51..194c6be5 100644 --- a/backend/pixbuf/Makefile.am +++ b/backend/pixbuf/Makefile.am @@ -18,13 +18,13 @@ libpixbufdocument_la_LIBADD = \ $(top_builddir)/libdocument/libatrildocument.la \ $(BACKEND_LIBS) -backend_in_files = pixbufdocument.atril-backend.in -backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) +backend_in_files = pixbufdocument.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/pixbuf/pixbufdocument.atril-backend.in b/backend/pixbuf/pixbufdocument.atril-backend.desktop.in index 056d04cf..b05dd3c7 100644 --- a/backend/pixbuf/pixbufdocument.atril-backend.in +++ b/backend/pixbuf/pixbufdocument.atril-backend.desktop.in @@ -1,4 +1,4 @@ [Atril Backend] Module=pixbufdocument -_TypeDescription=Images +TypeDescription=Images MimeType=image/*; diff --git a/backend/ps/Makefile.am b/backend/ps/Makefile.am index ba65b5be..0cac11ff 100644 --- a/backend/ps/Makefile.am +++ b/backend/ps/Makefile.am @@ -20,13 +20,14 @@ libpsdocument_la_LIBADD = \ $(BACKEND_LIBS) \ $(SPECTRE_LIBS) -backend_in_files = psdocument.atril-backend.in -backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) +backend_in_files = psdocument.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/ps/psdocument.atril-backend.in b/backend/ps/psdocument.atril-backend.desktop.in index 8b559a58..3b5f99de 100644 --- a/backend/ps/psdocument.atril-backend.in +++ b/backend/ps/psdocument.atril-backend.desktop.in @@ -1,5 +1,5 @@ [Atril Backend] Module=psdocument Resident=true -_TypeDescription=PostScript Documents +TypeDescription=PostScript Documents MimeType=application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps diff --git a/backend/tiff/Makefile.am b/backend/tiff/Makefile.am index cdf23450..1be66eca 100644 --- a/backend/tiff/Makefile.am +++ b/backend/tiff/Makefile.am @@ -21,13 +21,13 @@ libtiffdocument_la_LIBADD = \ $(BACKEND_LIBS) \ -ltiff -backend_in_files = tiffdocument.atril-backend.in -backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) +backend_in_files = tiffdocument.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/tiff/tiffdocument.atril-backend.in b/backend/tiff/tiffdocument.atril-backend.desktop.in index 2866e474..ddb60cbf 100644 --- a/backend/tiff/tiffdocument.atril-backend.in +++ b/backend/tiff/tiffdocument.atril-backend.desktop.in @@ -1,4 +1,4 @@ [Atril Backend] Module=tiffdocument -_TypeDescription=Tiff Documents +TypeDescription=Tiff Documents MimeType=image/tiff 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.in b/backend/xps/xpsdocument.atril-backend.desktop.in index 3fca5801..1a4e2ad3 100644 --- a/backend/xps/xpsdocument.atril-backend.in +++ b/backend/xps/xpsdocument.atril-backend.desktop.in @@ -1,5 +1,5 @@ [Atril Backend] Module=xpsdocument Resident=true -_TypeDescription=XPS Documents +TypeDescription=XPS Documents MimeType=application/oxps;application/vnd.ms-xpsdocument |