From 5bd264d5324e72e14edb40398d6c037c9f3df046 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 1 Nov 2022 19:04:07 -0400 Subject: [PATCH] gtk-demo: Add a few mssing language names --- demos/gtk-demo/language-names.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/demos/gtk-demo/language-names.c b/demos/gtk-demo/language-names.c index 7e0cbf20df..9154e7e328 100644 --- a/demos/gtk-demo/language-names.c +++ b/demos/gtk-demo/language-names.c @@ -311,5 +311,12 @@ get_language_name_for_tag (guint32 tag) lang = hb_ot_tag_to_language (tag); s = hb_language_to_string (lang); + if (strcmp (s, "und-fonipa") == 0) + return "International Phonetic Alphabet"; + else if (strcmp (s, "und-fonnapa") == 0) + return "North-American Phonetic Alphabet"; + else if (strcmp (s, "ro-md") == 0) + return "Moldavian"; + return get_language_name (pango_language_from_string (s)); }