Commit f977bec8 by Demid Merzlyakov

Fix localization.

parent c4d1d047
......@@ -28,7 +28,7 @@ public enum WeatherType: String, CaseIterable {
case unknown = "unknown"
public func localized(isDay: Bool) -> String {
return "forecast.\(self.stringId(isDay: isDay).localized())"
return "forecast.\(self.stringId(isDay: isDay))".localized()
}
public func image(isDay: Bool) -> UIImage {
......
......@@ -9,7 +9,7 @@
"forecast.sunny" = "Sunny";
"forecast.clear" = "Clear";
"forecast.cloudy" = "Cloudy";
"forecast.partyCloudy" = "Partly Cloudy";
"forecast.partlyCloudyDay" = "Partly Cloudy";
"forecast.snowyDay" = "Snowy Day";
"forecast.snowyNight" = "Snowy Night";
"forecast.clearNight" = "Clear Night";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment