From: Mikael Nordfeldth Date: Sat, 2 Jan 2016 23:45:47 +0000 (+0100) Subject: Fixes issue #94 with undefined 'fr' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0dc7fcce5b19d0ab3b489dda48d1d8aeeb29378a;p=quix0rs-gnu-social.git Fixes issue #94 with undefined 'fr' I just copied the English example... --- diff --git a/lib/language.php b/lib/language.php index c47a62100f..05bef60ffc 100644 --- a/lib/language.php +++ b/lib/language.php @@ -336,7 +336,8 @@ function get_all_languages() { 'en-gb' => array('q' => 1, 'lang' => 'en_GB', 'name' => 'English (British)', 'direction' => 'ltr'), 'eo' => array('q' => 0.8, 'lang' => 'eo', 'name' => 'Esperanto', 'direction' => 'ltr'), 'fi' => array('q' => 1, 'lang' => 'fi', 'name' => 'Finnish', 'direction' => 'ltr'), - 'fr-fr' => array('q' => 1, 'lang' => 'fr', 'name' => 'French', 'direction' => 'ltr'), + 'fr' => array('q' => 1, 'lang' => 'fr', 'name' => 'French', 'direction' => 'ltr'), + 'fr-fr' => array('q' => 1, 'lang' => 'fr', 'name' => 'French (France)', 'direction' => 'ltr'), 'fur' => array('q' => 0.8, 'lang' => 'fur', 'name' => 'Friulian', 'direction' => 'ltr'), 'gl' => array('q' => 0.8, 'lang' => 'gl', 'name' => 'Galician', 'direction' => 'ltr'), 'ka' => array('q' => 0.8, 'lang' => 'ka', 'name' => 'Georgian', 'direction' => 'ltr'),