config: Accept bokmal as a language

It’s listed in `locale -a` output, even though it should canonically be
represented as `nb`.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-10-24 13:50:22 +01:00
parent e78a53fede
commit a3a7f3214c

View File

@ -55,7 +55,7 @@ looks_like_a_language (const char *s)
g_str_equal (s, "POSIX"))
return TRUE;
if (len < 2 || len > 3)
if (len < 2)
return FALSE;
for (i = 0; i < len; i++)