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 --- gksu/Makefile.am | 7 ++++--- gksu/libcaja-gksu.caja-extension.desktop.in.in | 9 +++++++++ gksu/libcaja-gksu.caja-extension.in.in | 8 -------- 3 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 gksu/libcaja-gksu.caja-extension.desktop.in.in delete mode 100644 gksu/libcaja-gksu.caja-extension.in.in (limited to 'gksu') diff --git a/gksu/Makefile.am b/gksu/Makefile.am index da930bf..0ace449 100644 --- a/gksu/Makefile.am +++ b/gksu/Makefile.am @@ -8,8 +8,9 @@ libcaja_gksu_la_LDFLAGS = -module -avoid-version -no-undefined libcaja_gksu_la_LIBADD = $(CAJA_LIBS) extensiondir = $(datadir)/caja/extensions -extension_in_files = libcaja-gksu.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-gksu.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 $@ CLEANFILES = $(extension_DATA) diff --git a/gksu/libcaja-gksu.caja-extension.desktop.in.in b/gksu/libcaja-gksu.caja-extension.desktop.in.in new file mode 100644 index 0000000..4d7b242 --- /dev/null +++ b/gksu/libcaja-gksu.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=system +Name=Gksu +Description=Privilege granting extension +Author=Gustavo Noronha Silva +Copyright=Copyright (C) 2002-2005 Gustavo Noronha Silva +Version=@VERSION@ +Website=https://mate-desktop.org/ diff --git a/gksu/libcaja-gksu.caja-extension.in.in b/gksu/libcaja-gksu.caja-extension.in.in deleted file mode 100644 index b210202..0000000 --- a/gksu/libcaja-gksu.caja-extension.in.in +++ /dev/null @@ -1,8 +0,0 @@ -[Caja Extension] -Icon=system -_Name=Gksu -_Description=Privilege granting extension -Author=Gustavo Noronha Silva -_Copyright=Copyright (C) 2002-2005 Gustavo Noronha Silva -Version=@VERSION@ -Website=https://mate-desktop.org/ -- cgit v1.2.1