diff options
-rw-r--r-- | tools/osinfo-detect.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/osinfo-detect.c b/tools/osinfo-detect.c index 0caa4ca..7d79ad5 100644 --- a/tools/osinfo-detect.c +++ b/tools/osinfo-detect.c @@ -142,6 +142,19 @@ static void print_media(OsinfoMedia *media) g_print(_("Media is an installer for OS '%s'\n"), name); if (osinfo_media_get_live (media)) g_print(_("Media is live media for OS '%s'\n"), name); + if (osinfo_media_get_languages (media)) { + GList *it; + gboolean comma = FALSE; + g_print ("Lang: "); + for (it = osinfo_media_get_languages (media); + it != NULL; + it = it->next) { + if (comma) g_print(", "); + g_print("%s", (char *)it->data); + comma = TRUE; + } + g_print("\n"); + } } g_object_unref(os); } |