1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| // $t contient le texte en anglais
$t=@preg_replace('cooler', 'plus frais', $t);
$t=@preg_replace("Clearing", "s'éclaircissant", $t);
$t=@preg_replace("Ending within", "Se terminant dans les", $t);
$t=@preg_replace("hours", "heures", $t);
$t=@preg_replace("Falling Rapidly","Baisse rapide", $t);
$t=@preg_replace("Falling Slowly","Baisse lente", $t);
$t=@preg_replace("Heavy at Time","forte par moment", $t);
$t=@preg_replace("Increasing Clouds","Nuages en augmentation", $t);
$t=@preg_replace("Increasing Winds","Vent en augmentation", $t);
$t=@preg_replace("Precipitation" , "Pluie", $t);
$t=@preg_replace("Little Temperature Change","faible écart de température", $t);
$t=@preg_replace("Mostly Clear","Le plus souvent clair", $t);
$t=@preg_replace("Mostly Cloudy","le plus souvent nuageux", $t);
$t=@preg_replace("Partly Cloudy","Partiellement nuageux", $t);
$t=@preg_replace("Precipitation Likely","Pluie probable", $t);
$t=@preg_replace("Rising Rapidly","hausse rapide", $t);
$t=@preg_replace("Rising Slowly","hausse lente", $t);
$t=@preg_replace("Steady","stable", $t);
$t=@preg_replace("Warmer","plus chaud", $t);
$t=@preg_replace("Wind Shift to the W, NW, or N","bascule du vent vers O, NO, ou N", $t);
$t=@preg_replace("Within", "dans les", $t);
$t=@preg_replace("With","avec", $t);
$t=@preg_replace("Windy","Venteux", $t);
$t=@preg_replace("likely","probable", $t);
$t=@preg_replace("possibly","peut-être", $t);
$t=@preg_replace("and","et", $t);
$t=@preg_replace("to","Ã*", $t); |