summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-23 10:54:56 +0800
committerraveit65 <[email protected]>2019-07-26 17:12:42 +0200
commitdffd0f18222b456e556e096010325b5b2bb98b92 (patch)
treea673f7e7542c60e7e96a834db4b909ede2b6a016
parentf98211ecc4c54c4428286473b6cbd8960578dabc (diff)
downloadmate-user-share-dffd0f18222b456e556e096010325b5b2bb98b92.tar.bz2
mate-user-share-dffd0f18222b456e556e096010325b5b2bb98b92.tar.xz
Let xgettext recognize caja-extension.in as a desktop file
-rw-r--r--configure.ac2
-rw-r--r--data/Makefile.am6
-rw-r--r--data/libcaja-user-share.desktop.in.in (renamed from data/libcaja-user-share.caja-extension.in.in)0
-rw-r--r--po/POTFILES.in2
4 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 162081c..50d2319 100644
--- a/configure.ac
+++ b/configure.ac
@@ -200,7 +200,7 @@ data/icons/16x16/Makefile
data/icons/22x22/Makefile
data/icons/32x32/Makefile
data/icons/48x48/Makefile
-data/libcaja-user-share.caja-extension.in
+data/libcaja-user-share.desktop.in
data/mate-user-share-webdav.desktop.in
data/mate-user-share-obexftp.desktop.in
data/mate-user-share-obexpush.desktop.in
diff --git a/data/Makefile.am b/data/Makefile.am
index 61d85c5..cad0433 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,9 +18,9 @@ gsettings_SCHEMAS = org.mate.FileSharing.gschema.xml
extensiondir = $(datadir)/caja/extensions
-extension_in_files = libcaja-user-share.caja-extension.in
-extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
-%.caja-extension: %.caja-extension.in
+extension_in_file = libcaja-user-share.desktop.in
+extension_DATA = $(extension_in_file:.desktop.in=.caja-extension)
+$(extension_DATA): $(extension_in_file)
$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o [email protected]
EXTRA_DIST = $(gsettings_SCHEMAS) \
diff --git a/data/libcaja-user-share.caja-extension.in.in b/data/libcaja-user-share.desktop.in.in
index a5942da..a5942da 100644
--- a/data/libcaja-user-share.caja-extension.in.in
+++ b/data/libcaja-user-share.desktop.in.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 6fc2110..6112489 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
data/file-share-properties.ui
-data/libcaja-user-share.caja-extension.in.in
+data/libcaja-user-share.desktop.in.in
data/mate-user-share-properties.desktop.in
data/mate-user-share-obexftp.desktop.in.in
data/mate-user-share-obexpush.desktop.in.in