diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-09-18 18:20:10 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-09-18 19:38:56 +0800 |
commit | 204f1ee341184779fa1fc677faf066e693dd94cb (patch) | |
tree | 907ea0fb795ae09a2724946d52a16a6a363d26ed | |
parent | a4b61004fb7245f6f68dd195085f3ec075a1468d (diff) | |
download | gsoc2013-empathy-204f1ee341184779fa1fc677faf066e693dd94cb.tar gsoc2013-empathy-204f1ee341184779fa1fc677faf066e693dd94cb.tar.gz gsoc2013-empathy-204f1ee341184779fa1fc677faf066e693dd94cb.tar.bz2 gsoc2013-empathy-204f1ee341184779fa1fc677faf066e693dd94cb.tar.lz gsoc2013-empathy-204f1ee341184779fa1fc677faf066e693dd94cb.tar.xz gsoc2013-empathy-204f1ee341184779fa1fc677faf066e693dd94cb.tar.zst gsoc2013-empathy-204f1ee341184779fa1fc677faf066e693dd94cb.zip |
generate empathy.application from empathy.application.in
This allow us to mark the description key as translatable.
https://bugzilla.gnome.org/show_bug.cgi?id=684281
-rw-r--r-- | po/POTFILES.in | 1 | ||||
-rw-r--r-- | ubuntu-online-accounts/.gitignore | 1 | ||||
-rw-r--r-- | ubuntu-online-accounts/Makefile.am | 5 | ||||
-rw-r--r-- | ubuntu-online-accounts/empathy.application.in (renamed from ubuntu-online-accounts/empathy.application) | 3 |
4 files changed, 9 insertions, 1 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in index d1ef0f3ef..31f8ae230 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -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 index 000000000..7c6631739 --- /dev/null +++ b/ubuntu-online-accounts/.gitignore @@ -0,0 +1 @@ +empathy.application diff --git a/ubuntu-online-accounts/Makefile.am b/ubuntu-online-accounts/Makefile.am index 60aaf57b5..e964da556 100644 --- a/ubuntu-online-accounts/Makefile.am +++ b/ubuntu-online-accounts/Makefile.am @@ -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.in index 598bff8bb..9477b6a82 100644 --- a/ubuntu-online-accounts/empathy.application +++ b/ubuntu-online-accounts/empathy.application.in @@ -2,9 +2,10 @@ <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> + <_description>Integrate your IM accounts</_description> </service-type> </service-types> </application> |