forked from markbirss/LilyGo-EPD-4-7-OWM-Weather-Display
-
Notifications
You must be signed in to change notification settings - Fork 33
/
lang.h
71 lines (60 loc) · 2.43 KB
/
lang.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#define FONT(x) x##_tf
//Temperature - Humidity - Forecast
const String TXT_FORECAST_VALUES = "3-Day Forecast Values";
const String TXT_CONDITIONS = "Conditions";
const String TXT_DAYS = "(Days)";
const String TXT_TEMPERATURES = "Temperature";
const String TXT_TEMPERATURE_C = "Temperature (°C)";
const String TXT_TEMPERATURE_F = "Temperature (°F)";
const String TXT_HUMIDITY_PERCENT = "Humidity (%)";
// Pressure
const String TXT_PRESSURE = "Pressure";
const String TXT_PRESSURE_HPA = "Pressure (hPa)";
const String TXT_PRESSURE_IN = "Pressure (in)";
const String TXT_PRESSURE_STEADY = "Steady";
const String TXT_PRESSURE_RISING = "Rising";
const String TXT_PRESSURE_FALLING = "Falling";
//RainFall / SnowFall
const String TXT_RAINFALL_MM = "Rainfall (mm)";
const String TXT_RAINFALL_IN = "Rainfall (in)";
const String TXT_SNOWFALL_MM = "Snowfall (mm)";
const String TXT_SNOWFALL_IN = "Snowfall (in)";
const String TXT_PRECIPITATION_SOON = "Prec.";
//Sun
const String TXT_SUNRISE = "Sunrise";
const String TXT_SUNSET = "Sunset";
//Moon
const String TXT_MOON_NEW = "New";
const String TXT_MOON_WAXING_CRESCENT = "Waxing Crescent";
const String TXT_MOON_FIRST_QUARTER = "First Quarter";
const String TXT_MOON_WAXING_GIBBOUS = "Waxing Gibbous";
const String TXT_MOON_FULL = "Full";
const String TXT_MOON_WANING_GIBBOUS = "Waning Gibbous";
const String TXT_MOON_THIRD_QUARTER = "Third Quarter";
const String TXT_MOON_WANING_CRESCENT = "Waning Crescent";
//Power / WiFi
const String TXT_POWER = "Power";
const String TXT_WIFI = "WiFi";
const char* TXT_UPDATED = "Updated:";
//Wind
const String TXT_WIND_SPEED_DIRECTION = "Wind Speed/Direction";
const String TXT_N = "N";
const String TXT_NNE = "NNE";
const String TXT_NE = "NE";
const String TXT_ENE = "ENE";
const String TXT_E = "E";
const String TXT_ESE = "ESE";
const String TXT_SE = "SE";
const String TXT_SSE = "SSE";
const String TXT_S = "S";
const String TXT_SSW = "SSW";
const String TXT_SW = "SW";
const String TXT_WSW = "WSW";
const String TXT_W = "W";
const String TXT_WNW = "WNW";
const String TXT_NW = "NW";
const String TXT_NNW = "NNW";
//Day of the week
const char* weekday_D[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
//Month
const char* month_M[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };