diff --git a/ecrire/inc_lang.php3 b/ecrire/inc_lang.php3 index d7a03efabfd507b8a6c8d475781b1b1c76983933..5588fb52324ded535cffb35c8338eabf5abd0e6d 100644 --- a/ecrire/inc_lang.php3 +++ b/ecrire/inc_lang.php3 @@ -221,6 +221,7 @@ function init_codes_langues() { 'fj' => "Fiji", 'fo' => "føroyskt", 'fr' => "français", + 'fr_tu' => "français copain", 'fy' => "Frisian", 'ga' => "Irish", 'gd' => "Scots Gaelic", @@ -348,7 +349,7 @@ function lang_dir($lang, $droitier='ltr', $gaucher='rtl') { } function lang_typo($lang) { - if (($lang == 'eo') OR ($lang == 'fr') OR ($lang == 'cpf')) + if ($lang == 'eo' OR $lang == 'fr' OR substr($lang, 0, 3) == 'fr_' OR $lang == 'cpf') return 'fr'; else if ($lang) return 'en';