summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-tag.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-01-25 14:50:47 +0000
committerRichard Hughes <richard@hughsie.com>2016-01-25 16:03:01 +0000
commitcef24105dd7466fa9f872d6857ad3b3a560a43c1 (patch)
treeedf8c0f4e42fa73d5ed989a78b5ccff0d72dffd2 /libappstream-glib/as-tag.c
parent9ef67b53d32dd56cbe6adfa4fc477d31fcf524ca (diff)
downloadappstream-glib-cef24105dd7466fa9f872d6857ad3b3a560a43c1.tar.gz
Add AsTranslation to support <translation> tags in AppData files
This allows upstream to specify the translation domain so we can calculate the language statistics automatically without using hacky heuristics.
Diffstat (limited to 'libappstream-glib/as-tag.c')
-rw-r--r--libappstream-glib/as-tag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-tag.c b/libappstream-glib/as-tag.c
index e9d927d..77fbb0d 100644
--- a/libappstream-glib/as-tag.c
+++ b/libappstream-glib/as-tag.c
@@ -191,6 +191,7 @@ as_tag_to_string (AsTag tag)
"location",
"checksum",
"size",
+ "translation",
NULL };
if (tag > AS_TAG_LAST)
tag = AS_TAG_LAST;