Aligned norwegian lang with others and used correct locale

This commit is contained in:
Dan Brown
2021-01-02 15:58:23 +00:00
parent a04a800258
commit e53e4f85c7
13 changed files with 3 additions and 5 deletions

View File

@ -9,13 +9,11 @@ class Localization
/**
* Array of right-to-left locales
* @var array
*/
protected $rtlLocales = ['ar', 'he'];
/**
* Map of BookStack locale names to best-estimate system locale names.
* @var array
*/
protected $localeMap = [
'ar' => 'ar',
@ -32,7 +30,7 @@ class Localization
'ja' => 'ja',
'ko' => 'ko_KR',
'nl' => 'nl_NL',
'no' => 'no_NB',
'nb' => 'nb_NO',
'pl' => 'pl_PL',
'pt' => 'pl_PT',
'pt_BR' => 'pt_BR',