From dd2337ae983a483b15ebf8da99f8e5f9723d11fa Mon Sep 17 00:00:00 2001 From: Jason LaPorte Date: Fri, 5 Jul 2013 16:32:12 -0400 Subject: [PATCH] More tweaks to the text summaries. --- index.html | 230 +++++++++++++++++++++++++------------------------ src/lang/en.js | 31 +------ 2 files changed, 119 insertions(+), 142 deletions(-) diff --git a/index.html b/index.html index 5e1d4d2d..8540e5f9 100644 --- a/index.html +++ b/index.html @@ -61,12 +61,6 @@

Dark Sky Multilingual Text Summaries

rather than full sentences; as such, they are capitalized like titles, and don't generally contain punctuation. --> - -
(title
-  clear)
- Clear - -
(title
   very-light-precipitation)
@@ -79,96 +73,30 @@

Dark Sky Multilingual Text Summaries

Light Precipitation - -
(title
-  medium-precipitation)
- Precipitation - -
(title
   heavy-precipitation)
Heavy Precipitation - -
(title
-  very-light-rain)
- Drizzle - - - -
(title
-  light-rain)
- Light Rain - - - -
(title
-  medium-rain)
- Rain - -
(title
   heavy-rain)
Heavy Rain - -
(title
-  very-light-sleet)
- Light Sleet - - - -
(title
-  light-sleet)
- Light Sleet - -
(title
   medium-sleet)
Sleet - -
(title
-  heavy-sleet)
- Heavy Sleet - - - -
(title
-  very-light-snow)
- Flurries - - - -
(title
-  light-snow)
- Light Snow - - - -
(title
-  medium-snow)
- Snow - -
(title
   heavy-snow)
Heavy Snow - -
(title
-  light-wind)
- Breezy - -
(title
   medium-wind)
@@ -193,36 +121,12 @@

Dark Sky Multilingual Text Summaries

Dry - -
(title
-  high-humidity)
- Humid - -
(title
   fog)
Foggy - -
(title
-  light-clouds)
- Partly Cloudy - - - -
(title
-  medium-clouds)
- Mostly Cloudy - - - -
(title
-  heavy-clouds)
- Overcast - -
(title
   (and
@@ -231,9 +135,6 @@ 

Dark Sky Multilingual Text Summaries

Humid and Partly Cloudy - - @@ -296,11 +197,112 @@

Dark Sky Multilingual Text Summaries

(sentence
   (for-day
-    clear))
- Clear throughout the day. + medium-clouds))
+ Mostly cloudy throughout the day. + + + +
(sentence
+  (starting
+    very-light-sleet
+    morning))
+ Light sleet starting in the morning. - + +
(sentence
+  (until
+    medium-wind
+    today-night))
+ Windy until tonight. + + + +
(sentence
+  (during
+    light-wind
+    afternoon))
+ Breezy in the afternoon. + + + +
(sentence
+  (during
+    medium-snow
+    (and
+      later-today-evening
+      tomorrow-morning)))
+ Snow later this evening and tomorrow morning. + + + +
(sentence
+  (clauses
+    (until
+      medium-snow
+      later-today-morning)
+    (starting-again
+      today-evening)))
+ Snow until later this morning, starting again this evening. + + + +
(sentence
+  (clauses
+    (starting
+      heavy-clouds
+      evening)
+    (continuing-until
+      night)))
+ Overcast starting in the evening, continuing overnight. + + + +
(sentence
+  (then
+    (during
+      light-sleet
+      later-today-afternoon)
+    (during
+      medium-snow
+      tomorrow-morning)))
+ Light sleet later this afternoon, then snow tomorrow morning. + + + +
(sentence
+  (then
+    (during
+      light-sleet
+      later-today-afternoon)
+    (during
+      medium-snow
+      tomorrow-morning)))
+ Light sleet later this afternoon, then snow tomorrow morning. + + +