summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-05-06 14:09:42 +0100
committerRichard Hughes <richard@hughsie.com>2014-05-06 14:09:42 +0100
commit40ab04d266bc067947e94a6cb8d0ecebbfa842da (patch)
treeb85d2a61fba2d45554c55f1f553503eebf066362
parent5f7911825eed969c0b918ac6d9d248a4a670d9b8 (diff)
downloadappstream-glib-40ab04d266bc067947e94a6cb8d0ecebbfa842da.tar.gz
Do not save the 'xx' locale
KDE tsk, tsk.
-rw-r--r--libappstream-glib/as-node.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c
index 23c71be..ebeff93 100644
--- a/libappstream-glib/as-node.c
+++ b/libappstream-glib/as-node.c
@@ -1175,6 +1175,8 @@ as_node_insert_localized (GNode *parent,
continue;
if (g_strcmp0 (key, "x-test") == 0)
continue;
+ if (g_strcmp0 (key, "xx") == 0)
+ continue;
value = g_hash_table_lookup (localized, key);
if ((insert_flags & AS_NODE_INSERT_FLAG_DEDUPE_LANG) > 0 &&
g_strcmp0 (value_c, value) == 0)