From acfdd33b81dd845c1ff3eeaf2f4cda1b31fdd257 Mon Sep 17 00:00:00 2001 From: keiravillekode Date: Tue, 13 Aug 2024 01:05:06 +1000 Subject: [PATCH] Ukranian => Ukrainian (#2295) --- exercises/practice/zebra-puzzle/.meta/Example.cs | 6 +++--- exercises/practice/zebra-puzzle/ZebraPuzzle.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/practice/zebra-puzzle/.meta/Example.cs b/exercises/practice/zebra-puzzle/.meta/Example.cs index c7c84ad15f..9ea564de7e 100644 --- a/exercises/practice/zebra-puzzle/.meta/Example.cs +++ b/exercises/practice/zebra-puzzle/.meta/Example.cs @@ -3,7 +3,7 @@ using System.Linq; public enum Color { Red , Green , Ivory , Yellow , Blue } -public enum Nationality { Englishman , Spaniard , Ukranian , Japanese , Norwegian } +public enum Nationality { Englishman , Spaniard , Ukrainian , Japanese , Norwegian } public enum Pet { Dog , Snails , Fox , Horse , Zebra } public enum Drink { Coffee , Tea , Milk , OrangeJuice , Water } public enum Smoke { OldGold , Kools , Chesterfields , LuckyStrike , Parliaments } @@ -61,10 +61,10 @@ private static bool MatchesPetRules(Nationality[] nationalities, Pet[] pets) private static bool MatchesDrinkRules(Color[] colors, Nationality[] nationalities, Drink[] drinks) { var coffeeDrunkInGreenHouse = IsIndexMatch(colors, Color.Green, drinks, Drink.Coffee); // #4 - var ukranianDrinksTee = IsIndexMatch(nationalities, Nationality.Ukranian, drinks, Drink.Tea); // #5 + var ukrainianDrinksTee = IsIndexMatch(nationalities, Nationality.Ukrainian, drinks, Drink.Tea); // #5 var milkDrunkInMiddleHouse = drinks[2] == Drink.Milk; // #9 - return coffeeDrunkInGreenHouse && ukranianDrinksTee && milkDrunkInMiddleHouse; + return coffeeDrunkInGreenHouse && ukrainianDrinksTee && milkDrunkInMiddleHouse; } private static bool MatchesSmokeRules(Color[] colors, Nationality[] nationalities, Drink[] drinks, Pet[] pets, Smoke[] smokes) diff --git a/exercises/practice/zebra-puzzle/ZebraPuzzle.cs b/exercises/practice/zebra-puzzle/ZebraPuzzle.cs index 1e876a4d2d..496050b2e3 100644 --- a/exercises/practice/zebra-puzzle/ZebraPuzzle.cs +++ b/exercises/practice/zebra-puzzle/ZebraPuzzle.cs @@ -3,7 +3,7 @@ using System.Linq; public enum Color { Red , Green , Ivory , Yellow , Blue } -public enum Nationality { Englishman , Spaniard , Ukranian , Japanese , Norwegian } +public enum Nationality { Englishman , Spaniard , Ukrainian , Japanese , Norwegian } public enum Pet { Dog , Snails , Fox , Horse , Zebra } public enum Drink { Coffee , Tea , Milk , OrangeJuice , Water } public enum Smoke { OldGold , Kools , Chesterfields , LuckyStrike , Parliaments }