Adding norwegian language (#63)

* Added Norwegian language translation (nb_NO/Norsk Bokmål)

* Fixes display of translated overall status to selected language. Only english was shown prior, no matter the selected language.

* Fixes missed translation of norwegian (nb_NO)
This commit is contained in:
thnilsen
2018-11-05 23:57:54 +01:00
committed by Vojtěch Sajdl
parent 11cdf13054
commit d41cf42ab7
6 changed files with 701 additions and 3 deletions
+1
View File
@@ -150,6 +150,7 @@ class LocaleNegotiator
'nl_BE' => 'Nederlands',
'nl_NL' => 'Nederlands',
'nn_NO' => 'Nynorsk',
'nb_NO' => 'Norsk Bokmål',
'nso_ZA' => 'Northern sotho',
'oc_FR' => 'Occitan',
'or_IN' => 'ଓଡ଼ିଆ',
+3 -3
View File
@@ -146,9 +146,9 @@ class Service implements JsonSerializable
if ($statuses[$worst] == count($array))
{
echo $all[$worst];
echo _($all[$worst]);
}else{
echo $some[$worst];
echo _($some[$worst]);
}
echo '</div>';
}
@@ -178,4 +178,4 @@ class Service implements JsonSerializable
];
}
}
}