summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2012-10-03 11:48:19 +0200
committerVincent Untz <vuntz@gnome.org>2012-10-03 11:49:11 +0200
commitb18be61ad4957ea312efcbe65c6cffe2ef52fc6a (patch)
tree472d485af0ad69bee3a42dd80f18062a416b81cb
parent682184ed59154d68c8c333609f4cea777ac67079 (diff)
downloaddesktop-file-utils-b18be61ad4957ea312efcbe65c6cffe2ef52fc6a.tar.gz
validate: Clarify message when outputting an item of list
In some messages, we don't display the key value, but one item of the value (which is a list). Make this clearer.
-rw-r--r--src/validate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/validate.c b/src/validate.c
index 04b4de8..61c8a90 100644
--- a/src/validate.c
+++ b/src/validate.c
@@ -1596,7 +1596,7 @@ handle_categories_key (kf_validator *kf,
if (registered_categories[j].require_only_show_in) {
if (!g_hash_table_lookup (kf->current_keys, "OnlyShowIn")) {
- print_fatal (kf, "value \"%s\" in key \"%s\" in group \"%s\" "
+ print_fatal (kf, "value item \"%s\" in key \"%s\" in group \"%s\" "
"is a reserved category, so a \"OnlyShowIn\" key "
"must be included\n",
categories[i], locale_key, kf->current_group);
@@ -1639,7 +1639,7 @@ handle_categories_key (kf_validator *kf,
g_string_append_printf (output_required, ", or %s",
registered_categories[j].requires[k]);
- print_future_fatal (kf, "value \"%s\" in key \"%s\" in group \"%s\" "
+ print_future_fatal (kf, "value item \"%s\" in key \"%s\" in group \"%s\" "
"requires another category to be present among the "
"following categories: %s\n",
categories[i], locale_key, kf->current_group,
@@ -1684,7 +1684,7 @@ handle_categories_key (kf_validator *kf,
g_string_append_printf (output_suggested, ", or %s",
registered_categories[j].suggests[k]);
- print_hint (kf, "value \"%s\" in key \"%s\" in group \"%s\" "
+ print_hint (kf, "value item \"%s\" in key \"%s\" in group \"%s\" "
"can be extended with another category among the "
"following categories: %s\n",
categories[i], locale_key, kf->current_group,