Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Polish language support #152

Open
wants to merge 15 commits into
base: 20.08
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def handle_current_weather(self, message):
try:
self.log.debug("Handler: handle_current_weather")
# Get a date from requests like "weather for next Tuesday"
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
when, _ = self.__extract_datetime(message.data.get('utterance'),
lang=self.lang)
if when and when != today:
Expand Down Expand Up @@ -531,7 +531,7 @@ def handle_multi_day_forecast(self, message):

report = self.__initialize_report(message)
# report x number of days
when, _ = self.__extract_datetime("tomorrow")
when, _ = self.__extract_datetime("tomorrow", lang='en-us')
num_days = int(extract_number(message.data['num']))

if self.voc_match(message.data['num'], 'Couple'):
Expand Down Expand Up @@ -643,7 +643,7 @@ def handle_week_weather(self, message):
Speaks overview of week, not daily forecasts """
report = self.__initialize_report(message)
when, _ = self.__extract_datetime(message.data['utterance'])
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
if not when:
when = today
days = [when + timedelta(days=i) for i in range(7)]
Expand Down Expand Up @@ -940,7 +940,7 @@ def handle_next_precipitation(self, message):
report = self.__initialize_report(message)

# Get a date from spoken request
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
when, _ = self.__extract_datetime(message.data.get('utterance'),
lang=self.lang)

Expand Down Expand Up @@ -1004,7 +1004,7 @@ def handle_humidity(self, message):

when, _ = self.__extract_datetime(message.data.get('utterance'),
lang=self.lang)
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
if when is None or when == today:
weather = self.owm.weather_at_place(
report['full_location'],
Expand Down Expand Up @@ -1036,7 +1036,7 @@ def handle_windy(self, message):
report = self.__initialize_report(message)

when, _ = self.__extract_datetime(message.data.get('utterance'))
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
if when is None or when == today:
weather = self.owm.weather_at_place(
report['full_location'],
Expand Down Expand Up @@ -1126,7 +1126,7 @@ def handle_sunrise(self, message):
report = self.__initialize_report(message)

when, _ = self.__extract_datetime(message.data.get('utterance'))
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
if when is None or when.date() == today.date():
weather = self.owm.weather_at_place(
report['full_location'],
Expand Down Expand Up @@ -1163,7 +1163,7 @@ def handle_sunset(self, message):
report = self.__initialize_report(message)

when, _ = self.__extract_datetime(message.data.get('utterance'))
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
if when is None or when.date() == today.date():
weather = self.owm.weather_at_place(
report['full_location'],
Expand Down Expand Up @@ -1236,7 +1236,7 @@ def __initialize_report(self, message):

def __handle_typed(self, message, response_type):
# Get a date from requests like "weather for next Tuesday"
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
when, _ = self.__extract_datetime(
message.data.get('utterance'), lang=self.lang)

Expand Down Expand Up @@ -1520,7 +1520,7 @@ def report_multiday_forecast(self, report, when=None,
eg "on Tuesday" but NOT "on tomorrow"
"""

today, _ = self.__extract_datetime('today')
today, _ = self.__extract_datetime('today', lang='en-us')
if when is None:
when = today

Expand Down Expand Up @@ -1617,7 +1617,7 @@ def __report_condition(self, name, value, when, location=None):
"value": value,
}
report_type = "report.condition"
today, _ = self.__extract_datetime("today")
today, _ = self.__extract_datetime("today", lang='en-us')
if when and when.date() != today.date():
data["day"] = self.__to_day(when, preface=True)
report_type += ".future"
Expand All @@ -1635,12 +1635,17 @@ def __get_forecast(self, when, location, lat, lon):
lat: Latitude for report
lon: Longitude for report
"""

if when is None: # Handle lingua-franca errors
when = datetime.now()

# search for the requested date in the returned forecast data
forecasts = self.owm.daily_forecast(location, lat, lon, limit=14)
forecasts = forecasts.get_forecast()
for weather in forecasts.get_weathers():
forecastDate = weather.get_reference_time("date")
if forecastDate is None:
continue
if forecastDate.date() == when.date():
# found the right day, now format up the results
return weather
Expand Down Expand Up @@ -1757,6 +1762,7 @@ def __to_day(self, when, preface=False):
string: the speakable date text
"""
now = datetime.now()
when = when or now
speakable_date = nice_date(when, lang=self.lang, now=now)
# Test if speakable_date is a relative reference eg "tomorrow"
days_diff = (when.date() - now.date()).days
Expand Down
3 changes: 3 additions & 0 deletions dialog/pl-pl/E.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
wschód
wschodni
wschodzie
3 changes: 3 additions & 0 deletions dialog/pl-pl/N.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
północ
północny
północy
3 changes: 3 additions & 0 deletions dialog/pl-pl/NE.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
północny wschód
północno wschodni
północnym wschodzie
3 changes: 3 additions & 0 deletions dialog/pl-pl/NW.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
północny zachód
północno zachodni
północnym zachodzie
12 changes: 12 additions & 0 deletions dialog/pl-pl/RelativeDay.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
dzisiaj
dzisiejszy
dzisiejsza
dzisiejszą
jutro
jutrzejszy
jutrzejsza
jutrzejszą
wczoraj
wczorajszy
wczorajsza
wczorajszą
3 changes: 3 additions & 0 deletions dialog/pl-pl/S.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
południe
południowy
południu
3 changes: 3 additions & 0 deletions dialog/pl-pl/SE.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
południowy wschód
południowo wschodni
południowym wschodzie
3 changes: 3 additions & 0 deletions dialog/pl-pl/SW.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
południowy zachód
południowo zachodni
południowym zachodzie
3 changes: 3 additions & 0 deletions dialog/pl-pl/W.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
zachód
zachodni
zachodzie
2 changes: 2 additions & 0 deletions dialog/pl-pl/affirmative.condition.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# The queried condition will occur
Tak, będzie {condition} w {location}
3 changes: 3 additions & 0 deletions dialog/pl-pl/and.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
i
oraz
a także
2 changes: 2 additions & 0 deletions dialog/pl-pl/at.time.affirmative.condition.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# The queried condition will occur
Tak, będzie {condition} około {time}
3 changes: 3 additions & 0 deletions dialog/pl-pl/at.time.cond.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Informing that at a specified time an alternative to some condition will occur
Nie, prognoza na {time} sugeruje, żeby spodziewać się {condition} w {location}
Nie wygląda na to. Prognoza na {time} mówi, że raczej będzie {condition} w {location}
3 changes: 3 additions & 0 deletions dialog/pl-pl/at.time.forecast.affirmative.condition.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Affirmative response to questions like "is it going to snow in Paris tomorrow afternoon"
Tak, prognoza na {time} wskazuje {condition} w {location} {day}
Tak, prognoza na {time} mówi, że będzie {condition} w {location} {day}
3 changes: 3 additions & 0 deletions dialog/pl-pl/at.time.forecast.cond.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Informing that an alternative to clear skies will occur at specified time
Nie, prognoza na {time} {day} wskazuje {condition} w {location}
Nie wygląda na to. Prognoza na {time} {day} sugeruje, że w {location} będzie {condition}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Affirmative response to questions like "is it going to snow tomorrow"
Tak, oczekuj {condition} zgodnie z prognozą, około {time} {day}
Tak, prognoza na {time} wskazuje {condition} {day}
3 changes: 3 additions & 0 deletions dialog/pl-pl/at.time.forecast.local.cond.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Informing that an alternative to clear skies will occur
Nie, prognoza na {time} {day} wskazuje na {condition}
Nie wygląda na to. Prognoza na {time} {day} sugeruje, że będzie {condition}
2 changes: 2 additions & 0 deletions dialog/pl-pl/at.time.forecast.local.no.cond.predicted.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# When user asks if it's one condition but it's not
Nie, prognoza na {time} {day} wskazuje {condition}
3 changes: 3 additions & 0 deletions dialog/pl-pl/at.time.forecast.no.cond.predicted.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# When user asks if it's a condition but it's not
Nie, prognoza na {time} w {location} wskazuje, że będzie {condition}
Nie zapowiada się. Prognoza na {time} w {location} sugeruje {condition}
2 changes: 2 additions & 0 deletions dialog/pl-pl/at.time.local.affirmative.condition.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# The queried condition will occur today
Tak, prognoza na {time} przewiduje {condition}
3 changes: 3 additions & 0 deletions dialog/pl-pl/at.time.local.cond.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Informing that an alternative to a condition will occur
Nie, prognoza na {time} sugeruje {condition} dzisiaj
Nie wygląda na to. Prognoza na {time} sugeruje, że będzie {condition}
2 changes: 2 additions & 0 deletions dialog/pl-pl/at.time.local.high.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Będzie ciepło, temperatura może osiągnąć nawet {temp} stopni około {time}
Najcieplej będzie w okolicach {time}, może być nawet {temp} stopni
2 changes: 2 additions & 0 deletions dialog/pl-pl/at.time.local.low.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Będzie zimno, może być nawet {temp} stopni około {time}
W okolicy {time} będzie najzimniej, nawet {temp} stopni
2 changes: 2 additions & 0 deletions dialog/pl-pl/at.time.local.no.cond.predicted.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# When user asks if it's raining but no cloud or alternative is forcasted
Nie, prognoza na {time} wskazuje, że nie
2 changes: 2 additions & 0 deletions dialog/pl-pl/at.time.local.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Będzie około {temp} stopni o {time}
O {time} będzie {temp} stopni
4 changes: 4 additions & 0 deletions dialog/pl-pl/at.time.local.weather.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Będzie {condition}, z temperaturą bliską {temp} stopni około {time}
Około {time} będzie {condition} i około {temp} stopni
Około {time} będzie {condition} i {temp} stopni
Około {time} będzie {temp} stopni i {condition}
2 changes: 2 additions & 0 deletions dialog/pl-pl/at.time.no.cond.predicted.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# When user asks if it's a conditions but it's not
Nie, prognoza na {time} w {location} mówi, że nie
2 changes: 2 additions & 0 deletions dialog/pl-pl/cant.get.forecast.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(Przykro mi,|Wybacz,) nie (mogę sprawdzić|mam możliwości sprawdzenia) prognozy pogody.
Prognoza pogody jest obecnie niedostępna.
2 changes: 2 additions & 0 deletions dialog/pl-pl/celsius.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
w skali Celsjusza
Celsjusza
Empty file added dialog/pl-pl/clear sky.dialog
Empty file.
4 changes: 4 additions & 0 deletions dialog/pl-pl/clear.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Informing that an alternative to clear skies will occur
Nie, prognoza mówi, że będzie {condition} w {location}
Wygląda na to, że będzie {condition} w {location}
Raczej będzie {condition} w {location}
1 change: 1 addition & 0 deletions dialog/pl-pl/clear.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bezchmurnie
1 change: 1 addition & 0 deletions dialog/pl-pl/clear.future.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bezchmurnie
4 changes: 4 additions & 0 deletions dialog/pl-pl/cloudy.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Informing that an alternative to clear skies will occur
Nie, prognoza sugeruje {condition}
Nie powinno być pochmurno, wygląda na to, że będzie {condition}
Nie zapowiada się. Raczej będzie {condition}
15 changes: 15 additions & 0 deletions dialog/pl-pl/condition.category.value
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Clouds,pochmurno
Clear,bezchmurnie
Thunderstorm,burza z piorunami
Drizzle,mżawka
Rain,deszcz
Snow,opad śniegu
Mist,mgliście
Smoke,zadymienie
Haze,mgliście
Dust,pył
Fog,mgła
Sand,piasek
Ash,zachmurzenie z możliwym pyłem wulkanicznym
Squall,burzowo
Tornado,burzowo z możliwym tornadem
3 changes: 3 additions & 0 deletions dialog/pl-pl/current.high.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Maksimum {temp_max} stopni {scale} oczekiwane w {location}.
Maksimum {temp_max} stopni {scale} powinno być w {location}.
Dzisiaj temperatura osiągnie {temp_max} stopni w {location}.
2 changes: 2 additions & 0 deletions dialog/pl-pl/current.hot.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Jest {temp} stopni {scale} w {location}, co swobodnie mieści się w zakresie moich normalnych warunków pracy.
Jest {temp} stopni w {location}, co bardzo pasuje sztucznej inteligencji.
2 changes: 2 additions & 0 deletions dialog/pl-pl/current.local.cold.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Obecnie jest {temp} stopni, co swobodnie mieści się w zakresie normalnych warunków mojej pracy
Jest {temp} stopni, bardzo komfortowo dla sztucznej inteligencji
3 changes: 3 additions & 0 deletions dialog/pl-pl/current.local.high.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Maksimum {temp_max} stopni {scale}, według prognozy.
Oczekujemy maksimum {temp_max} stopni {scale}.
Dzisiaj temperatura maksymalna może osiągnąć nawet {temp_max} stopni.
2 changes: 2 additions & 0 deletions dialog/pl-pl/current.local.hot.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
W zakresie moich warunków pracy, obecnie mamy {temp} stopni
Jest {temp} stopni, całkiem komfortowo dla sztucznej inteligencji
3 changes: 3 additions & 0 deletions dialog/pl-pl/current.local.low.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Minimum {temp_min} stopni {scale} według prognozy.
Oczekujemy minimum {temp_min} stopni.
Minimum może wynieść nawet {temp_min} stopni.
3 changes: 3 additions & 0 deletions dialog/pl-pl/current.local.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Obecnie jest {temp} stopni {scale}.
Obecnie jest {temp} stopni.
Teraz jest {temp} stopni.
6 changes: 6 additions & 0 deletions dialog/pl-pl/current.local.weather.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Obecnie jest {condition}, a temperatura wynosi {temp} stopni {scale}.
Obecnie jest {condition}, a temperatura wynosi {temp} stopni.
Teraz jest {condition} i {temp} stopni {scale}.
Teraz jest {condition} i {temp} stopni.
Jest teraz {condition} i {temp} stopni {scale}.
Jest teraz {condition} i {temp} stopni.
4 changes: 4 additions & 0 deletions dialog/pl-pl/current.low.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
W {location} dziś będzie chłodno, temperatura zejdzie do {temp_min} stopni {scale}.
W {location} dziś będzie chłodno, temperatura zejdzie do {temp_min} stopni.
Temperatura w {location} będzie niska, {temp_min} stopni {scale}.
Temperatura w {location} będzie niska, {temp_min} stopni.
4 changes: 4 additions & 0 deletions dialog/pl-pl/current.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
W {location} jest teraz {temp} stopni {scale}.
W {location} jest teraz {temp} stopni.
Obecnie w {location} jest {temp} stopni {scale}.
Obecnie w {location} jest {temp} stopni.
3 changes: 3 additions & 0 deletions dialog/pl-pl/current.weather.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Aktualnie jest {condition}, {temp} stopni {scale} w {location}. Prognoza na dziś przewiduje temperaturę pomiędzy {temp_min} i {temp_max} stopni.
W {location} jest teraz {condition}, a temperatura wynosi {temp} stopni {scale}. Według prognozy będzie między {temp_min} i {temp_max} stopni.
Temperatura w {location} będzie między {temp_min} i {temp_max} stopni {scale}. Obecnie jest {condition}, {temp} stopni.
Empty file added dialog/pl-pl/do not know.dialog
Empty file.
2 changes: 2 additions & 0 deletions dialog/pl-pl/fahrenheit.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
w skali Fahrenheita
Fahrenheita
4 changes: 4 additions & 0 deletions dialog/pl-pl/fog.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Informing that an alternative to fog will occur at a location
Nie, prognoza przewiduje, że będzie {condition} w {location}
Wygląda na to, że będzie {condition} w {location}
Raczej będzie {condition} w {location}
4 changes: 4 additions & 0 deletions dialog/pl-pl/forecast.affirmative.condition.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Affirmative response to questions like "is it going to snow in Paris tomorrow"
Tak, oczekuj, że {day} będzie {condition} w {location}
Tak, {day} będzie {condition} w {location} według prognozy.
Tak, {day} będzie {condition} w {location}.
3 changes: 3 additions & 0 deletions dialog/pl-pl/forecast.clear.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Informing that an alternative to rain will occur
Nie, ale prognoza na {day} przewiduje, że będzie {condition} w {location}
{day} nie powinien padać deszcz w {location}, raczej będzie {condition}
4 changes: 4 additions & 0 deletions dialog/pl-pl/forecast.cloudy.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Informing that an alternative to clear skies will occur
# No, the forecast {day} calls for {condition} in {location}
# It should not be cloudy in {location} {day}, it looks like there'll be {condition}
Nie zapowiada się, {day} raczej będzie {condition} w {location}
4 changes: 4 additions & 0 deletions dialog/pl-pl/forecast.foggy.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Informing that an alternative to fog will occur
Nie, prognoza na {day} dla {location} przewiduje, że będzie {condition}
{day} raczej będzie {condition} w {location}
Będzie {condition} {day} w {location}
2 changes: 2 additions & 0 deletions dialog/pl-pl/forecast.hard.wind.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} będzie {wind} {wind_unit} w {location}
Wiatr będzie {day} silny w {location}, osiągnie {wind} {wind_unit}
2 changes: 2 additions & 0 deletions dialog/pl-pl/forecast.high.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} będzie wysoka temperatura, osiągnie {temp_max} stopni w {location}
Maksymalna temperatura w {location} {day} wyniesie {temp_max} stopni
2 changes: 2 additions & 0 deletions dialog/pl-pl/forecast.hot.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} będzie {temp} stopni w {location}, całkiem komfortowo dla sztucznej inteligencji
Temperatura {day} wyniesie {temp} w {location}, co spokojnie mieści się w moim zakresie temperatur
2 changes: 2 additions & 0 deletions dialog/pl-pl/forecast.light.wind.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Nie będzie {day} wiało mocno w {location}
W {location} {day} nie będzie wiało
4 changes: 4 additions & 0 deletions dialog/pl-pl/forecast.local.affirmative.condition.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Affirmative response to questions like "is it going to snow tomorrow"
Tak, oczekuj, że będzie {condition}
Tak, według prognozy będzie {condition}
Będzie {condition}
3 changes: 3 additions & 0 deletions dialog/pl-pl/forecast.local.clear.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Informing that an alternative to clear skies will occur
Nie, prognoza na {day} wskazuje, że będzie {condition}
Wygląda na to, że {day} będzie {condition} według prognozy
4 changes: 4 additions & 0 deletions dialog/pl-pl/forecast.local.cloudy.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Informing that an alternative to clear skies will occur
Nie, prognoza na {day} wskazuje, że będzie {condition}
Nie powinno być pochmurno, {day} raczej będzie {condition}
Nie wygląda na to, {day} będzie {condition}
4 changes: 4 additions & 0 deletions dialog/pl-pl/forecast.local.foggy.alternative.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Informing that an alternative to fog will occur
Nie, prognoza na {day} przewiduje, że będzie {condition}
Wygląda na to, że {day} będzie {condition}
Stawiam, że {day} będzie {condition}
2 changes: 2 additions & 0 deletions dialog/pl-pl/forecast.local.hard.wind.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} będzie {wind} {wind_unit}
Wiatr {day} będzie silny, osiągnie {wind} {wind_unit}
2 changes: 2 additions & 0 deletions dialog/pl-pl/forecast.local.high.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} będzie ciepło, temperatura osiągnie {temp_max}
Temperatura osiągnie {day} maksymalnie {temp_max} stopni
1 change: 1 addition & 0 deletions dialog/pl-pl/forecast.local.hot.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{day} będzie {temp} stopni, całkiem miło dla sztucznej inteligencji
2 changes: 2 additions & 0 deletions dialog/pl-pl/forecast.local.light.wind.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Nie będzie za bardzo wiało {day}
Nie będzie wiatru {day}
2 changes: 2 additions & 0 deletions dialog/pl-pl/forecast.local.low.temperature.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{day} będzie zimno, temperatura spadnie do {temp_min} stopni.
{day} temperatura spadnie nawet do {temp_min}.
3 changes: 3 additions & 0 deletions dialog/pl-pl/forecast.local.medium.wind.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{day} wiatr nie będzie zbyt silny, około {wind} {wind_unit}
Prognoza mówi, że {day} wiatr osiągnie {wind} {wind_unit}, czyli nie tak źle
{day} oczekuj wiatru na poziomie {wind} {wind_unit}
3 changes: 3 additions & 0 deletions dialog/pl-pl/forecast.local.no.clear.predicted.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# When user asks if it's clear but an alternative is forcasted
Przykro mi, ale prognoza nie przewiduje przejrzystego nieba {day}
{day} raczej nie będzie bezchmurnie.
Loading