[gnome-clocks] Actually make the AppData translatable
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Actually make the AppData translatable
- Date: Tue, 11 Mar 2014 14:44:03 +0000 (UTC)
commit 143d670c8cd47388d92f7d7c5f8ff0224bd78702
Author: Richard Hughes <richard hughsie com>
Date: Tue Mar 11 14:40:38 2014 +0000
Actually make the AppData translatable
Makefile.am | 5 ++++-
...appdata.xml => org.gnome.clocks.appdata.xml.in} | 0
po/POTFILES.in | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 799467f..3053335 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,8 @@ data/org.gnome.clocks.service: data/org.gnome.clocks.service.in Makefile
# appdata file
appdatadir = $(datadir)/appdata
-appdata_DATA = data/appdata/org.gnome.clocks.appdata.xml
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = data/appdata/org.gnome.clocks.appdata.xml.in
# gsettings
gsettings_SCHEMAS = data/org.gnome.clocks.gschema.xml
@@ -144,6 +145,7 @@ gnome_clocks_LDADD = \
-lm
EXTRA_DIST = \
+ $(appdata_in_files) \
$(icon_files) \
$(hcicon_files) \
$(images_DATA) \
@@ -153,6 +155,7 @@ EXTRA_DIST = \
data/org.gnome.clocks.gschema.xml.in.in
CLEANFILES = \
+ $(appdata_DATA) \
$(applications_DATA) \
$(service_DATA)
diff --git a/data/appdata/org.gnome.clocks.appdata.xml b/data/appdata/org.gnome.clocks.appdata.xml.in
similarity index 100%
rename from data/appdata/org.gnome.clocks.appdata.xml
rename to data/appdata/org.gnome.clocks.appdata.xml.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 496342a..07e48fe 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,4 @@
-data/appdata/org.gnome.clocks.appdata.xml
+data/appdata/org.gnome.clocks.appdata.xml.in
data/org.gnome.clocks.desktop.in
data/org.gnome.clocks.gschema.xml.in.in
src/alarm.vala
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]