From d6c3f0c2c7b650de245d050e8055016944e4ad15 Mon Sep 17 00:00:00 2001 From: Benjamin Blankenmeister Date: Mon, 13 Jan 2020 09:23:19 -0500 Subject: [PATCH] igpay_atinlay (#291) --- lib/lang/x-pig-latin.js | 6 ++++++ test_cases/x-pig-latin.json | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/lang/x-pig-latin.js b/lib/lang/x-pig-latin.js index 88e095a2..43cbb12b 100644 --- a/lib/lang/x-pig-latin.js +++ b/lib/lang/x-pig-latin.js @@ -168,4 +168,10 @@ module.exports = { return str; }, + "next-hour-forecast-status": "extnay hourway orecastsfay areway $1 ueday otay $2.", + "unavailable": "unavailableway", + "temporarily-unavailable": "emporarilytay unavailableway", + "partially-unavailable": "artiallypay unavailableway", + "station-offline": "allway earbynay adarray tationssay eingbay offlineway", + "station-incomplete": "apsgay inway overagecay romfay earbynay adarray ationsstay", }; diff --git a/test_cases/x-pig-latin.json b/test_cases/x-pig-latin.json index 45d03402..9558b330 100644 --- a/test_cases/x-pig-latin.json +++ b/test_cases/x-pig-latin.json @@ -242,5 +242,12 @@ ["title", "possible-thunderstorm"], "Eavyhay Ainray andway Understormsthay": - ["title", ["and", "heavy-rain", "thunderstorm"]] + ["title", ["and", "heavy-rain", "thunderstorm"]], + + "Extnay hourway orecastsfay areway emporarilytay unavailableway ueday otay allway earbynay adarray tationssay eingbay offlineway.": + ["sentence",["next-hour-forecast-status", "temporarily-unavailable", "station-offline"]], + "Extnay hourway orecastsfay areway artiallypay unavailableway ueday otay apsgay inway overagecay romfay earbynay adarray ationsstay.": + ["sentence",["next-hour-forecast-status", "partially-unavailable", "station-incomplete"]], + "Extnay hourway orecastsfay areway unavailableway ueday otay allway earbynay adarray tationssay eingbay offlineway.": + ["sentence",["next-hour-forecast-status", "unavailable", "station-offline"]] }