Skip to content

Commit

Permalink
Merge pull request #256 from bobrosoft/master
Browse files Browse the repository at this point in the history
YandexWeather: update matching array with English translations as some users getting English version instead of Russian
  • Loading branch information
Toxblh authored Dec 30, 2019
2 parents e9e5a6f + 712448f commit 878cd34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MTMR/Widgets/YandexWeatherBarItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ import CoreLocation
class YandexWeatherBarItem: CustomButtonTouchBarItem, CLLocationManagerDelegate {
private let activity: NSBackgroundActivityScheduler
private let unitsStr = "°C"
private let iconsSource = ["Ясно": "☀️", "Малооблачно": "🌤", "Облачно с прояснениями": "⛅️", "Пасмурно": "☁️", "Небольшой дождь": "🌦", "Дождь": "🌧", "Ливень": "", "Гроза": "🌩", "Дождь со снегом": "☔️", "Небольшой снег": "❄️", "Снег": "🌨", "Туман": "🌫"]
private let iconsSource = [
"Ясно": "☀️", "Малооблачно": "🌤", "Облачно с прояснениями": "⛅️", "Пасмурно": "☁️", "Небольшой дождь": "🌦", "Дождь": "🌧", "Ливень": "", "Гроза": "🌩", "Дождь со снегом": "☔️", "Небольшой снег": "❄️", "Снег": "🌨", "Туман": "🌫",
"Clear": "☀️", "Mostly clear": "🌤", "Partly cloudy": "⛅️", "Overcast": "☁️", "Light rain": "🌦", "Rain": "🌧", "Heavy rain": "", "Storm": "🌩", "Sleet": "☔️", "Light snow": "❄️", "Snow": "🌨", "Fog": "🌫"
]
private var location: CLLocation!
private var prevLocation: CLLocation!
private var manager: CLLocationManager!
Expand Down

0 comments on commit 878cd34

Please sign in to comment.