From b16dc99ca1b2ded27db8a2a9d9dc843f38c8ad28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 28 May 2016 00:18:33 +0200 Subject: [PATCH] Use German abbreviations for cardinal directions --- .../rhynodge/webpages/weather/wettercom/WindDirection.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.7.4