diff options
author | Richard Hughes <richard@hughsie.com> | 2016-05-13 14:08:56 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-05-13 14:08:56 +0100 |
commit | 57291370946f463c6b01c24bb3f35e3741bd9fab (patch) | |
tree | fe311200b62e0e1563165e409e41d11bc5037218 | |
parent | 64a962819e3b784fb5cbb64414d9d157860acd2f (diff) | |
parent | 6442ca2efe61f5022e95411fd8b9f00ae8d02e5f (diff) | |
download | appstream-glib-57291370946f463c6b01c24bb3f35e3741bd9fab.tar.gz |
Merge pull request #107 from DimStar77/show-appname
Show the app name when complaining about missing description in the m…
-rw-r--r-- | libappstream-glib/as-store.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c index 5268510..24e942a 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); } } |