Backport !1926 “gs-appstream: Fix locale variant lookup for translation warnings” to gnome-46
requested to merge pwithnall/gnome-software:backport-1926-fix-translation-warnings-gnome-46 into gnome-46
This was broken in commit ca481d16, due to reusing a tmp
variable
which happened to contain the license data.
Signed-off-by: Philip Withnall pwithnall@gnome.org
Fixes: #2495 (closed)
Trivial backport of !1926 (merged) to gnome-46
.