Skip to content

Commit d0ca88e

Browse files
feat(weather-api-widget): Change localizations
Changed localisation weekdays for de, fr, ru. Added currently supported languages to documentation. Closes #470
1 parent c8cd300 commit d0ca88e

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

weather-api-widget/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ following config parameters:
2323
| show_daily_forecast | false | Show forecast for next three days |
2424
| show_hourly_forecast | false | Show hourly forecast section |
2525
| timeout | 120 | How often in seconds the widget refreshes |
26-
| lang | The language of your system from the environment (`LANG` variable)` or `en` | Widget's language |
26+
| lang | The language of your system from the environment (`LANG` variable) or `en`. Languages currently supported: `de`, `en`, `fr`, `pt`, `ru`. | Widget's language |
2727

2828
In [#461](https://github.com/streetturtle/awesome-wm-widgets/issues/461) it was
2929
reported that some machines replace the dot with a comma in coordinates. If

weather-api-widget/locale/de.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ local de = {
99
humidity = "Luftfeuchtigkeit: ",
1010
uv = "UV-Index: ",
1111
days = {
12-
Mon = "Mon",
13-
Tue = "Tue",
14-
Wed = "Wed",
15-
Thu = "Thu",
16-
Fri = "Fri",
17-
Sat = "Sat",
18-
Sun = "Sun",
19-
},
12+
Mon = "Mo",
13+
Tue = "Di",
14+
Wed = "Mi",
15+
Thu = "Do",
16+
Fri = "Fr",
17+
Sat = "Sa",
18+
Sun = "So",
19+
}
2020
}
2121

2222
return de

weather-api-widget/locale/fr.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ local fr = {
1010
humidity = "Humidité : ",
1111
uv = "Indice UV : ",
1212
days = {
13-
Mon = "Mon",
14-
Tue = "Tue",
15-
Wed = "Wed",
16-
Thu = "Thu",
17-
Fri = "Fri",
18-
Sat = "Sat",
19-
Sun = "Sun",
13+
Mon = "Lu",
14+
Tue = "Ma",
15+
Wed = "Me",
16+
Thu = "Je",
17+
Fri = "Ve",
18+
Sat = "Sa",
19+
Sun = "Di",
2020
},
2121
}
2222

weather-api-widget/locale/ru.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ local ru = {
1010
humidity = "Влажность: ",
1111
uv = "UV: ",
1212
days = {
13-
Mon = "Пнд",
13+
Mon = "Пн",
1414
Tue = "Вт",
1515
Wed = "Ср",
16-
Thu = "Чтв",
17-
Fri = "Птн",
18-
Sat = "Сбт",
19-
Sun = "Вск",
16+
Thu = "Чт",
17+
Fri = "Пт",
18+
Sat = "Сб",
19+
Sun = "Вс",
2020
}
2121
}
2222

0 commit comments

Comments
 (0)