From 5d2a2ff1cf811799b93408662f92993e073d54c7 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 6 Dec 2016 13:28:07 +0000 Subject: Don't add for addons --- libappstream-builder/plugins/asb-plugin-gettext.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libappstream-builder/plugins/asb-plugin-gettext.c b/libappstream-builder/plugins/asb-plugin-gettext.c index 03ec996..1e67a85 100644 --- a/libappstream-builder/plugins/asb-plugin-gettext.c +++ b/libappstream-builder/plugins/asb-plugin-gettext.c @@ -47,6 +47,10 @@ asb_plugin_process_app (AsbPlugin *plugin, g_autofree gchar *prefix = NULL; GPtrArray *translations; + /* skip for addons */ + if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_ADDON) + return TRUE; + /* auto-add this */ translations = as_app_get_translations (AS_APP (app)); if (translations->len == 0) { -- cgit v1.2.1