Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
Add french translations for the STATUS sentences (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
ltressens authored and Jay LaPorte committed Jan 9, 2020
1 parent 1397af5 commit fb850e0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/lang/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,10 @@ module.exports = {

return str;
},
"next-hour-forecast-status": "Les prévisions pour la prochaine heure sont $1 car $2.",
"unavailable": "indisponibles",
"temporarily-unavailable": "temporairement indisponibles",
"partially-unavailable": "partiellement indisponibles",
"station-offline": "les stations radars voisines sont hors-ligne",
"station-incomplete": "il y a des lacunes dans la couverture des stations radars voisines",
};
12 changes: 11 additions & 1 deletion test_cases/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,5 +242,15 @@
["sentence", ["during",
"possible-thunderstorm",
["and", "next-wednesday", "next-thursday"]
]]
]],

"Les prévisions pour la prochaine heure sont temporairement indisponibles car les stations radars voisines sont hors-ligne.":
["sentence",["next-hour-forecast-status", "temporarily-unavailable", "station-offline"]],

"Les prévisions pour la prochaine heure sont partiellement indisponibles car il y a des lacunes dans la couverture des stations radars voisines.":
["sentence",["next-hour-forecast-status", "partially-unavailable", "station-incomplete"]],

"Les prévisions pour la prochaine heure sont indisponibles car les stations radars voisines sont hors-ligne.":
["sentence",["next-hour-forecast-status", "unavailable", "station-offline"]]

}

0 comments on commit fb850e0

Please sign in to comment.