summaryrefslogtreecommitdiff
path: root/image-converter
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-12-24 12:32:11 +0800
committerRobert Antoni Buj Gelonch <[email protected]>2019-12-24 11:07:14 +0100
commit26b2e261d06b16e602e42bd4ae1821494f019121 (patch)
tree9ee60f0a584eb988fd293fe310b282444ea72266 /image-converter
parentbde02f3b2f03f30e4f21f614b04848071fc746e6 (diff)
downloadcaja-extensions-26b2e261d06b16e602e42bd4ae1821494f019121.tar.bz2
caja-extensions-26b2e261d06b16e602e42bd4ae1821494f019121.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'image-converter')
-rw-r--r--image-converter/Makefile.am7
-rw-r--r--image-converter/libcaja-image-converter.caja-extension.desktop.in.in9
-rw-r--r--image-converter/libcaja-image-converter.caja-extension.in.in8
3 files changed, 13 insertions, 11 deletions
diff --git a/image-converter/Makefile.am b/image-converter/Makefile.am
index 33a736d..1e56060 100644
--- a/image-converter/Makefile.am
+++ b/image-converter/Makefile.am
@@ -28,9 +28,10 @@ builder_DATA = \
caja-image-rotate.ui
extensiondir = $(datadir)/caja/extensions
-extension_in_files = libcaja-image-converter.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-image-converter.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 = $(builder_DATA)
diff --git a/image-converter/libcaja-image-converter.caja-extension.desktop.in.in b/image-converter/libcaja-image-converter.caja-extension.desktop.in.in
new file mode 100644
index 0000000..a2b5653
--- /dev/null
+++ b/image-converter/libcaja-image-converter.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=image
+Name=Image Converter
+Description=Rotate and resize images
+Author=Jürg Billeter <[email protected]>
+Copyright=Copyright (C) 2004-2005 Jürg Billeter
+Version=@VERSION@
+Website=https://mate-desktop.org/
diff --git a/image-converter/libcaja-image-converter.caja-extension.in.in b/image-converter/libcaja-image-converter.caja-extension.in.in
deleted file mode 100644
index d2312d8..0000000
--- a/image-converter/libcaja-image-converter.caja-extension.in.in
+++ /dev/null
@@ -1,8 +0,0 @@
-[Caja Extension]
-Icon=image
-_Name=Image Converter
-_Description=Rotate and resize images
-Author=Jürg Billeter <[email protected]>
-_Copyright=Copyright (C) 2004-2005 Jürg Billeter
-Version=@VERSION@
-Website=https://mate-desktop.org/