Skip to content

Commit

Permalink
COMMON: Verify nb_NO locale
Browse files Browse the repository at this point in the history
Despite looking weird, this is the correct locale for Norwegian (Bokmål).
  • Loading branch information
bonki committed Apr 4, 2018
1 parent 21ef072 commit 4c5afcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/language.cpp
Expand Up @@ -46,7 +46,7 @@ const LanguageDescription g_languages[] = {
{ "jp", "ja_JP", "Japanese", JA_JPN },
{ "kr", "ko_KR", "Korean", KO_KOR },
{ "lv", "lv_LV", "Latvian", LV_LAT },
{ "nb", "nb_NO", "Norwegian Bokm\xE5l", NB_NOR }, // TODO Someone should verify the unix locale
{ "nb", "nb_NO", "Norwegian Bokm\xE5l", NB_NOR },
{ "pl", "pl_PL", "Polish", PL_POL },
{ "br", "pt_BR", "Portuguese", PT_BRA },
{ "ru", "ru_RU", "Russian", RU_RUS },
Expand Down

1 comment on commit 4c5afcf

@BenCastricum
Copy link
Contributor

@BenCastricum BenCastricum commented on 4c5afcf Apr 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The language name contains a non ascii character which is not allowed because not all platforms support it. It should probably be changed to Bokmaal.

Please sign in to comment.