diff options
author | John Stebbins <[email protected]> | 2016-09-16 09:50:55 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-09-16 09:50:55 -0700 |
commit | ce96a7ae0903b382134c0b15fb0ce5a3e950e81e (patch) | |
tree | 301d125ba775abdee40a1bdd3628e958946e426e /gtk | |
parent | 45745f92b095c8521c8ed79c9a8c84962f35bdf1 (diff) |
LinGui: Fix audio and subtitle lang list "Unknown" entry
It should read "Any" instead of "Unknown" for these lists.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/hb-backend.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 17ab63d28..f72fa85b5 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -2750,8 +2750,12 @@ void ghb_init_lang_list_box(GtkListBox *list_box) iso639 = lang_get_next(iso639), ii++) { const char *lang; - if (iso639->native_name != NULL && - iso639->native_name[0] != 0) + if (ii == 0) + { + lang = _("Any"); + } + else if (iso639->native_name != NULL && + iso639->native_name[0] != 0) { lang = iso639->native_name; } |