summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libappstream-glib/as-app-validate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c
index 3bd3440..4b46ae4 100644
--- a/libappstream-glib/as-app-validate.c
+++ b/libappstream-glib/as-app-validate.c
@@ -757,7 +757,8 @@ as_app_validate_screenshots (AsApp *app, AsAppValidateHelper *helper)
}
/* firmware does not need screenshots */
- if (as_app_get_kind (app) == AS_APP_KIND_FIRMWARE)
+ if (as_app_get_kind (app) == AS_APP_KIND_FIRMWARE ||
+ as_app_get_kind (app) == AS_APP_KIND_LOCALIZATION)
number_screenshots_min = 0;
/* metainfo and inf do not require any screenshots */