filechooser: Translate type column

When the code for this was copied from nautilus,
we forgot to adapt it for running in a library
instead of an application - gettext() doesn't work
in a library.

Fixes: #2690
This commit is contained in:
Matthias Clasen 2020-05-02 19:57:38 -04:00
parent c3c2bc513e
commit 817112ab3c

View File

@ -4357,7 +4357,7 @@ get_category_from_content_type (const char *content_type)
{
if (strcmp (mime_type_map[i].icon_name, icon_name) == 0)
{
basic_type = g_strdup (gettext (mime_type_map[i].display_name));
basic_type = g_strdup (_(mime_type_map[i].display_name));
break;
}
}