diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2021-08-03 15:29:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 15:29:14 -0400 |
commit | a83ba6ff78987414c7480f04e9ec294a2b54e7ef (patch) | |
tree | 7efa8e096d3e7b1778b109d5444b6aee23c12171 /weather-widget/locale | |
parent | babb4254dbf350fb170dd3ee5b981bbf8732715c (diff) | |
parent | c505ae70cc6d6844c88cc78cd4263128bcda5521 (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.lua | 14 | ||||
-rw-r--r-- | weather-widget/locale/fr.lua | 14 |
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 |