[gnome-shell] data: Enable translations for desktop files



commit eec9dba855267f2c67a63e86053392f89d346e64
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Jun 11 15:13:23 2012 -0400

    data: Enable translations for desktop files
    
    We were never localizing .desktop files, apparently.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677893

 data/Makefile.am |    4 +---
 po/POTFILES.skip |    2 --
 2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 1960866..b00bb3b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -8,9 +8,7 @@ desktop_DATA = gnome-shell.desktop gnome-shell-extension-prefs.desktop
 	    -e "s|@VERSION[ ]|$(VERSION)|" \
 	    $< > $@ || rm $@
 
-# Placeholder until we add intltool
-%.desktop:%.desktop.in
-	$(AM_V_GEN) sed s/^_// < $< > $@ || rm $@
+ INTLTOOL_DESKTOP_RULE@
 
 searchprovidersdir = $(pkgdatadir)/open-search-providers
 dist_searchproviders_DATA =				\
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 1677f82..c3a821c 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,4 +1,2 @@
-data/gnome-shell.desktop.in
-data/gnome-shell-extension-prefs.desktop.in
 data/org.gnome.shell.evolution.calendar.gschema.xml.in
 src/calendar-server/evolution-calendar.desktop.in



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]