summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2016-05-13 14:22:05 +0200
committerDominique Leuenberger <dimstar@opensuse.org>2016-05-13 14:22:05 +0200
commit6442ca2efe61f5022e95411fd8b9f00ae8d02e5f (patch)
tree1bf581d23d33e022b2d686b19056ba8bb11e2f04
parenta852822fe2037c6b9c43984b5bd38c952f3a6abe (diff)
downloadappstream-glib-6442ca2efe61f5022e95411fd8b9f00ae8d02e5f.tar.gz
Show the app name when complaining about missing description in the metadata
-rw-r--r--libappstream-glib/as-store.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c
index b24c9d8..3a964ce 100644
--- a/libappstream-glib/as-store.c
+++ b/libappstream-glib/as-store.c
@@ -2981,9 +2981,10 @@ as_store_validate (AsStore *store, AsAppValidateFlags flags, GError **error)
if ((as_app_get_problems (app) & AS_APP_PROBLEM_PREFORMATTED_DESCRIPTION) != 0) {
as_store_validate_add (probs,
AS_PROBLEM_KIND_TAG_INVALID,
- "metadata version is v%.1f and "
+ "%s: metadata version is v%.1f and "
"<description> requiring markup "
"was introduced in v0.6",
+ as_app_get_id (app),
priv->api_version);
}
}