summaryrefslogtreecommitdiff
path: root/weather-widget/locale
diff options
context:
space:
mode:
authorcobacdavid <david.cobac@gmx.fr>2021-07-29 16:45:58 +0200
committercobacdavid <david.cobac@gmx.fr>2021-07-29 16:45:58 +0200
commitc505ae70cc6d6844c88cc78cd4263128bcda5521 (patch)
treef94c81c93107809bcb972fa6751924d246f022f9 /weather-widget/locale
parent55630a773497c117ab2233d72827b6f3a8d39032 (diff)
[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