Guillaume REMBERT
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Weather Underground] LanguageThere was a missing field in the translation (discovered thanks to the nice Lille weather ?? – “Chance of a Thunderstorm”
Here is for the french translation:
if ( $label == 'Sunday' ) { $label = 'Dimanche'; } else if ( $label == 'Monday' ) { $label = 'Lundi'; } else if ( $label == 'Tuesday' ) { $label = 'Mardi'; } else if ( $label == 'Wednesday' ) { $label = 'Mercredi'; } else if ( $label == 'Thursday' ) { $label = 'Jeudi'; } else if ( $label == 'Friday' ) { $label = 'Vendredi'; } else if ( $label == 'Saturday' ) { $label = 'Samedi'; } if ( $conditions == 'Clear' ) { $conditions = 'Dégagé'; } else if ( $conditions == 'Chance of Snow' ) { $conditions = 'Risques de neige'; } else if ( $conditions == 'Chance of Rain' ) { $conditions = 'Risques de pluie'; } else if ( $conditions == 'Chance of Freezing Rain' ) { $conditions = 'Risques de pluie vergla?ante'; } else if ( $conditions == 'Chance of Sleet' ) { $conditions = 'Risques de neige fondue'; } else if ( $conditions == 'Chance of a Thunderstorm' ) { $conditions = 'Risques d orage'; } else if ( $conditions == 'Chance of Thunderstorms' ) { $conditions = 'Risques d orages'; } else if ( $conditions == 'Cloudy' ) { $conditions = 'Nuageux'; } else if ( $conditions == 'Flurries' ) { $conditions = 'Rafales de vent'; } else if ( $conditions == 'Fog' ) { $conditions = 'Brouillard'; } else if ( $conditions == 'Freezing Rain' ) { $conditions = 'Pluie vergla?ante'; } else if ( $conditions == 'Haze' ) { $conditions = 'Brumeux'; } else if ( $conditions == 'Mostly Cloudy' ) { $conditions = 'Principalement nuageux'; } else if ( $conditions == 'Mostly Sunny' ) { $conditions = 'Principalement ensoleillé'; } else if ( $conditions == 'Overcast' ) { $conditions = 'Couvert'; } else if ( $conditions == 'Partly Cloudy' ) { $conditions = 'Partiellement nuageux'; } else if ( $conditions == 'Partly Sunny' ) { $conditions = 'Partiellement ensoleillé'; } else if ( $conditions == 'Rain' ) { $conditions = 'Pluie'; } else if ( $conditions == 'Scattered Clouds' ) { $conditions = 'Nuages dispersés'; } else if ( $conditions == 'Sleet' ) { $conditions = 'Neige fondue'; } else if ( $conditions == 'Snow' ) { $conditions = 'Neige'; } else if ( $conditions == 'Sunny' ) { $conditions = 'Ensoleillé'; } else if ( $conditions == 'Thunderstorms' ) { $conditions = 'Orages'; } else if ( $conditions == 'Thunderstorm' ) { $conditions = 'Orage'; } else if ( $conditions == 'Unknown' ) { $conditions = 'Inconnu'; }
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Viewing 1 replies (of 1 total)