From e9e2aa64c7401a48f8ce651e06dde9d1aff9cebd Mon Sep 17 00:00:00 2001 From: Jason LaPorte Date: Wed, 3 Jul 2013 16:40:27 -0400 Subject: [PATCH] Added (I think) all of the necessary scaffolding to handle the 24-hour summaries. --- index.html | 32 +++++++++++++++------- src/darksky.js | 26 ++++++++++-------- src/lang/en.js | 74 +++++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 98 insertions(+), 34 deletions(-) diff --git a/index.html b/index.html index d30008dd..5e1d4d2d 100644 --- a/index.html +++ b/index.html @@ -247,7 +247,7 @@

Dark Sky Multilingual Text Summaries

(sentence
-  (starting
+  (starting-in
     very-light-snow
     (minutes
       35)))
@@ -256,7 +256,7 @@

Dark Sky Multilingual Text Summaries

(sentence
-  (stopping
+  (stopping-in
     light-rain
     (minutes
       15)))
@@ -266,7 +266,7 @@

Dark Sky Multilingual Text Summaries

(sentence
   (clauses
-    (starting
+    (starting-in
       heavy-sleet
       (minutes
         20))
@@ -279,11 +279,11 @@ 

Dark Sky Multilingual Text Summaries

(sentence
   (clauses
-    (stopping
+    (stopping-in
       medium-rain
       (minutes
         25))
-    (starting-later
+    (starting-again-later
       (minutes
         8))))
Rain stopping in 25 min., starting again 8 min. later. @@ -293,6 +293,13 @@

Dark Sky Multilingual Text Summaries

block and the "daily" data points, and represent the weather conditions over a period of twenty-four hours. --> + +
(sentence
+  (for-day
+    clear))
+ Clear throughout the day. + +