From: David ‘Bombe’ Roden Date: Fri, 27 May 2016 22:18:33 +0000 (+0200) Subject: Use German abbreviations for cardinal directions X-Git-Tag: v2~132 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b16dc99ca1b2ded27db8a2a9d9dc843f38c8ad28;p=rhynodge.git Use German abbreviations for cardinal directions --- diff --git a/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WindDirection.kt b/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WindDirection.kt index 6335fe2..6e43934 100644 --- a/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WindDirection.kt +++ b/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WindDirection.kt @@ -22,9 +22,9 @@ enum class WindDirection { fun String.toWindDirection(): WindDirection { return when (this) { "N" -> WindDirection.NORTH - "NE" -> WindDirection.NORTHEAST - "E" -> WindDirection.EAST - "SE" -> WindDirection.SOUTHEAST + "NO" -> WindDirection.NORTHEAST + "O" -> WindDirection.EAST + "SO" -> WindDirection.SOUTHEAST "S" -> WindDirection.SOUTH "SW" -> WindDirection.SOUTHWEST "W" -> WindDirection.WEST