[anjal] Internationalize desktop file
- From: Yan Li <yanli src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] Internationalize desktop file
- Date: Thu, 15 Oct 2009 07:29:55 +0000 (UTC)
commit ed82cf2278b63158dccaabbca0288d27b9b98c17
Author: Yan Li <yan i li intel com>
Date: Thu Oct 15 14:03:48 2009 +0800
Internationalize desktop file
(cherry picked from commit ab0f65b3ec0a292bdddcca505cccb76829669127)
Makefile.am | 6 ++++--
anjal.desktop => anjal.desktop.in | 6 +++---
po/POTFILES.in | 1 +
3 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 5c00450..2b751f0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,8 @@
SUBDIRS = art src po
desktopdir = $(datadir)/applications
-desktop_file = anjal.desktop
+desktop_in_files = anjal.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
#anjaldocdir = ${prefix}/doc/anjal
#anjaldoc_DATA = \
@@ -28,7 +30,7 @@ dist-hook:
cp -p $$specfile $(distdir); \
fi \
done
-EXTRA_DIST = anjal.desktop \
+EXTRA_DIST = anjal.desktop.in \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
diff --git a/anjal.desktop b/anjal.desktop.in
similarity index 73%
rename from anjal.desktop
rename to anjal.desktop.in
index 6898d77..3fd4bff 100644
--- a/anjal.desktop
+++ b/anjal.desktop.in
@@ -1,7 +1,7 @@
[Desktop Entry]
-Name=Anjal
-GenericName=Email
-Comment=Send and receive
+_Name=Anjal
+_GenericName=Email
+_Comment=Send and receive
Exec=anjal
Icon=evolution
Terminal=false
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4fe48fd..93ff79e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -25,3 +25,4 @@ src/em-mozembed-stream.c
src/mail-people-view.c
src/anjal.schemas.in
src/anjal.xml.in
+anjal.desktop.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]