summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-07-11 08:59:58 +0100
committerRichard Hughes <richard@hughsie.com>2014-07-11 11:25:39 +0100
commit88c74b4370d11c41039887c6aa45b4a74f67ab23 (patch)
tree30b4faacd9197a8d9470f7b4b821f717774eb983
parent965801600e6ac8fb0afa3d09c33013ad282e0d05 (diff)
downloadappstream-glib-88c74b4370d11c41039887c6aa45b4a74f67ab23.tar.gz
trivial: Be more useful when explaining the 'No Comment' error
-rw-r--r--libappstream-builder/asb-task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-builder/asb-task.c b/libappstream-builder/asb-task.c
index f796801..c647256 100644
--- a/libappstream-builder/asb-task.c
+++ b/libappstream-builder/asb-task.c
@@ -312,9 +312,9 @@ asb_task_process (AsbTask *task, GError **error_not_used)
/* don't include components that have no name or comment */
if (as_app_get_name (AS_APP (app), "C") == NULL)
- asb_app_add_veto (app, "Has no Name");
+ asb_app_add_veto (app, "No 'Name' in desktop or <name> in AppData");
if (as_app_get_comment (AS_APP (app), "C") == NULL)
- asb_app_add_veto (app, "Has no Comment");
+ asb_app_add_veto (app, "No 'Comment' in desktop or <summary> in AppData");
/* don't include apps that have no icon */
if (as_app_get_id_kind (AS_APP (app)) != AS_ID_KIND_ADDON) {