[gconf] Make gsettings-data-convert.desktop translatable.
- From: Gabor Keleman <kelemeng src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gconf] Make gsettings-data-convert.desktop translatable.
- Date: Mon, 17 Jan 2011 22:07:56 +0000 (UTC)
commit 49de70ebd982d797e6206fe7a2f98e3eb85f64ab
Author: Gabor Kelemen <kelemeng gnome hu>
Date: Tue Jan 4 19:01:22 2011 +0100
Make gsettings-data-convert.desktop translatable.
https://bugzilla.gnome.org/review?bug=638679
gsettings/Makefile.am | 7 +++++--
...t.desktop => gsettings-data-convert.desktop.in} | 4 ++--
po/POTFILES.in | 1 +
3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index 591943b..83eb74a 100644
--- a/gsettings/Makefile.am
+++ b/gsettings/Makefile.am
@@ -37,8 +37,10 @@ gsettings_data_convert_LDADD = \
$(GSETTINGS_LIBS) \
$(NULL)
+ INTLTOOL_DESKTOP_RULE@
autostartdir = $(sysconfdir)/xdg/autostart
-autostart_DATA = gsettings-data-convert.desktop
+autostart_in_files = gsettings-data-convert.desktop.in
+autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
man_MANS = \
gsettings-schema-convert.1 \
@@ -48,7 +50,7 @@ man_MANS = \
%.1 : %.xml
xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-EXTRA_DIST = gsettings-data-convert.xml gsettings-schema-convert.xml gsettings-data-convert.1 gsettings-schema-convert.1 gsettings-data-convert.desktop
+EXTRA_DIST = gsettings-data-convert.xml gsettings-schema-convert.xml gsettings-data-convert.1 gsettings-schema-convert.1 gsettings-data-convert.desktop.in
dist-hook-local: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \
@@ -61,3 +63,4 @@ install-data-hook:
$(GIO_QUERYMODULES) $(GIO_MODULE_DIR) ; \
fi
+CLEANFILES = $(autostart_DATA)
diff --git a/gsettings/gsettings-data-convert.desktop b/gsettings/gsettings-data-convert.desktop.in
similarity index 63%
rename from gsettings/gsettings-data-convert.desktop
rename to gsettings/gsettings-data-convert.desktop.in
index 9bc5abf..aeaebe8 100644
--- a/gsettings/gsettings-data-convert.desktop
+++ b/gsettings/gsettings-data-convert.desktop.in
@@ -1,7 +1,7 @@
[Desktop Entry]
Version=1.0
-Name=GSettings Data Conversion
-Comment=Migrates user settings from GConf to dconf
+_Name=GSettings Data Conversion
+_Comment=Migrates user settings from GConf to dconf
Exec=gsettings-data-convert
Terminal=false
Type=Application
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a1f779b..7f52add 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -23,3 +23,4 @@ gconf/gconf.c
gconf/gconfd.c
gconf/gconftool.c
defaults/org.gnome.gconf.defaults.policy.in
+gsettings/gsettings-data-convert.desktop.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]