]> git.0d.be Git - empathy.git/commitdiff
generate empathy.application from empathy.application.in
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 18 Sep 2012 10:20:10 +0000 (12:20 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 18 Sep 2012 11:38:56 +0000 (13:38 +0200)
This allow us to mark the description key as translatable.

https://bugzilla.gnome.org/show_bug.cgi?id=684281

po/POTFILES.in
ubuntu-online-accounts/.gitignore [new file with mode: 0644]
ubuntu-online-accounts/Makefile.am
ubuntu-online-accounts/empathy.application [deleted file]
ubuntu-online-accounts/empathy.application.in [new file with mode: 0644]

index d1ef0f3ef6e2dabb4af4641be5b26e7734967b2a..31f8ae2308cc549d0a82b364f560bb91aa679bc7 100644 (file)
@@ -112,3 +112,4 @@ src/empathy-status-icon.c
 
 ubuntu-online-accounts/cc-plugins/account-plugins/empathy-accounts-plugin-widget.c
 ubuntu-online-accounts/cc-plugins/app-plugin/empathy-app-plugin-widget.c
+[type: gettext/xml]ubuntu-online-accounts/empathy.application.in
diff --git a/ubuntu-online-accounts/.gitignore b/ubuntu-online-accounts/.gitignore
new file mode 100644 (file)
index 0000000..7c66317
--- /dev/null
@@ -0,0 +1 @@
+empathy.application
index 60aaf57b5b205fc3ab30a3a8057c70a420b1b38f..e964da556760028e427e0874b168913883467fec 100644 (file)
@@ -2,6 +2,11 @@ SUBDIRS = mc-plugin cc-plugins
 
 appdir = $(ACCOUNTS_APPLICATION_FILES_DIR)
 
+empathy.application: empathy.application.in
+       $(AM_V_GEN)intltool-merge --no-translations -x -u $< $@
+
 app_DATA = empathy.application
 
 EXTRA_DIST = $(app_DATA)
+
+DISTCLEANFILES = $(app_DATA)
diff --git a/ubuntu-online-accounts/empathy.application b/ubuntu-online-accounts/empathy.application
deleted file mode 100644 (file)
index 598bff8..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<application id="empathy">
-  <description>Empathy</description>
-  <desktop-entry>empathy.desktop</desktop-entry>
-  <service-types>
-    <service-type id="IM">
-      <description>Integrate your IM accounts</description>
-    </service-type>
-  </service-types>
-</application>
diff --git a/ubuntu-online-accounts/empathy.application.in b/ubuntu-online-accounts/empathy.application.in
new file mode 100644 (file)
index 0000000..9477b6a
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<application id="empathy">
+  <description>Empathy</description>
+  <desktop-entry>empathy.desktop</desktop-entry>
+  <translation>empathy</translation>
+  <service-types>
+    <service-type id="IM">
+      <_description>Integrate your IM accounts</_description>
+    </service-type>
+  </service-types>
+</application>