summaryrefslogtreecommitdiff
path: root/weather-widget/locale
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2021-08-03 15:29:14 -0400
committerGitHub <noreply@github.com>2021-08-03 15:29:14 -0400
commita83ba6ff78987414c7480f04e9ec294a2b54e7ef (patch)
tree7efa8e096d3e7b1778b109d5444b6aee23c12171 /weather-widget/locale
parentbabb4254dbf350fb170dd3ee5b981bbf8732715c (diff)
parentc505ae70cc6d6844c88cc78cd4263128bcda5521 (diff)
Merge pull request #292 from cobacdavid/weather-languages
[weather-widget] enable locale
Diffstat (limited to 'weather-widget/locale')
-rw-r--r--weather-widget/locale/en.lua14
-rw-r--r--weather-widget/locale/fr.lua14
2 files changed, 28 insertions, 0 deletions
diff --git a/weather-widget/locale/en.lua b/weather-widget/locale/en.lua
new file mode 100644
index 0000000..377dc6f
--- /dev/null
+++ b/weather-widget/locale/en.lua
@@ -0,0 +1,14 @@
+local en = {
+ warning_title = "Weather Widget",
+ parameter_warning = "Required parameters are not set: ",
+ directions = {
+ "N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSW", "SW",
+ "WSW", "W", "WNW", "NW", "NNW", "N"
+ },
+ feels_like = "Feels like ",
+ wind = "Wind: ",
+ humidity = "Humidity: ",
+ uv = "UV: "
+}
+
+return en
diff --git a/weather-widget/locale/fr.lua b/weather-widget/locale/fr.lua
new file mode 100644
index 0000000..de50814
--- /dev/null
+++ b/weather-widget/locale/fr.lua
@@ -0,0 +1,14 @@
+local fr = {
+ warning_title = "Widget Météo",
+ parameter_warning = "Les paramètres suivants sont obligatoires : ",
+ directions = {
+ "N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSO", "SO",
+ "OSO", "O", "ONO", "NO", "NNO", "N"
+ },
+ feels_like = "ressentie à ",
+ wind = "Vent : ",
+ humidity = "Humidité : ",
+ uv = "Indice UV : "
+}
+
+return fr