From 26b2e261d06b16e602e42bd4ae1821494f019121 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Tue, 24 Dec 2019 12:32:11 +0800 Subject: migrate from intltool to gettext --- sendto/Makefile.am | 11 ++++++----- sendto/libcaja-sendto.caja-extension.desktop.in.in | 9 +++++++++ sendto/libcaja-sendto.caja-extension.in.in | 8 -------- 3 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 sendto/libcaja-sendto.caja-extension.desktop.in.in delete mode 100644 sendto/libcaja-sendto.caja-extension.in.in (limited to 'sendto') diff --git a/sendto/Makefile.am b/sendto/Makefile.am index cefa6ea..83adfc7 100644 --- a/sendto/Makefile.am +++ b/sendto/Makefile.am @@ -70,15 +70,15 @@ nst-enum-types.c: $(nst_headers_to_scan_for_enums) Makefile nst-enum-types.h gsettingsschema_in_files = org.mate.Caja.Sendto.gschema.xml.in gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) -@INTLTOOL_XML_NOMERGE_RULE@ @GSETTINGS_RULES@ man_MANS = caja-sendto.1 extensiondir = $(datadir)/caja/extensions -extension_in_files = libcaja-sendto.caja-extension.in -extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension) -%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +extension_in_files = libcaja-sendto.caja-extension.desktop.in +extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension) +$(extension_DATA): $(extension_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Copyright --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@ EXTRA_DIST = \ $(ui_DATA) \ @@ -90,4 +90,5 @@ CLEANFILES = \ $(nst_built_headers) \ $(nst_built_cfiles) \ $(gsettings_SCHEMAS) \ - $(extension_DATA) + $(extension_DATA) \ + *.gschema.valid diff --git a/sendto/libcaja-sendto.caja-extension.desktop.in.in b/sendto/libcaja-sendto.caja-extension.desktop.in.in new file mode 100644 index 0000000..d43bdab --- /dev/null +++ b/sendto/libcaja-sendto.caja-extension.desktop.in.in @@ -0,0 +1,9 @@ +[Caja Extension] +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=mail-send +Name=Send To +Description=Integrates email clients and Pidgin +Author=Roberto Majadas +Copyright=Copyright (C) 2004 Roberto Majadas +Version=@VERSION@ +Website=https://mate-desktop.org/ diff --git a/sendto/libcaja-sendto.caja-extension.in.in b/sendto/libcaja-sendto.caja-extension.in.in deleted file mode 100644 index 33d6cac..0000000 --- a/sendto/libcaja-sendto.caja-extension.in.in +++ /dev/null @@ -1,8 +0,0 @@ -[Caja Extension] -Icon=mail-send -_Name=Send To -_Description=Integrates email clients and Pidgin -Author=Roberto Majadas -_Copyright=Copyright (C) 2004 Roberto Majadas -Version=@VERSION@ -Website=https://mate-desktop.org/ -- cgit v1.2.1