[ease] Enables translation of the desktop file.



commit 4ee623ed2368729797eca137b2763f75a775242b
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date:   Fri May 28 00:33:40 2010 +0200

    Enables translation of the desktop file.

 Makefile.am          |    9 +++++++--
 data/ease.desktop    |    7 -------
 data/ease.desktop.in |   12 ++++++++++++
 po/POTFILES.in       |    2 +-
 po/fr.po             |   15 ++++++++++++---
 5 files changed, 32 insertions(+), 13 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 1252911..24624b2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,7 +63,7 @@ ease_LDADD = \
 	$(EASE_LIBS) \
 	$(NULL)
 
-EXTRA_DIST = config.rpath m4/ChangeLog data/ease.desktop  \
+EXTRA_DIST = config.rpath m4/ChangeLog data/ease.desktop.in  \
 	$(NULL)
 
 DISTCLEANFILES = \
@@ -71,5 +71,10 @@ DISTCLEANFILES = \
 
 ACLOCAL_AMFLAGS = -I m4
 
+desktopdir = $(datadir)/applications
+desktop_in_files = data/ease.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
+
 Applicationsdir = /usr/share/applications
-Applications_DATA = data/ease.desktop
+Applications_DATA = data/ease.desktop.in
diff --git a/data/ease.desktop.in b/data/ease.desktop.in
new file mode 100644
index 0000000..ccc9cb0
--- /dev/null
+++ b/data/ease.desktop.in
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+_Name=Ease presentation editor
+_Comment=Create nice and elegant presentations
+Exec=ease
+Type=Application
+Categories=Office;
+Terminal=false
+StartupNotify=true
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=ease
+X-GNOME-Bugzilla-Component=general
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3a8d565..a9ac57f 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,6 @@
 # List of source files which contain translatable strings.
 [encoding: UTF-8]
-data/ease.desktop
+data/ease.desktop.in
 src/Actor.vala
 src/Document.vala
 src/EditorEmbed.vala
diff --git a/po/fr.po b/po/fr.po
index 6ba3688..7d7a036 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,8 +7,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Ease 0.1\n"
-"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=ease\n";
-"POT-Creation-Date: 2010-05-26 18:52+0200\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-05-28 00:31+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Stéphane Maniaci <stephane maniaci gmail com>\n"
 "Language-Team: French <LL li org>\n"
@@ -16,6 +16,15 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#: ../data/ease.desktop.in.h:1
+msgid "Create nice and elegant presentations"
+msgstr "Créez des présentations élégantes"
+
+#: ../data/ease.desktop.in.h:2
+#, fuzzy
+msgid "Ease presentation editor"
+msgstr "�diteur de présentation Ease"
+
 #: ../src/Transitions.vala:39
 msgid "Fade"
 msgstr "Fondu"
@@ -75,7 +84,7 @@ msgstr "Nouvelle présentation"
 
 #: ../src/WelcomeWindow.vala:82
 msgid "Custom"
-msgstr "Personnalisé"
+msgstr "Personnalisée"
 
 #: ../src/WelcomeWindow.vala:85
 #, c-format



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