public static string ToDisplayText(this SaucePosition saucePosition) { return(saucePosition switch { SaucePosition.Drauf => Resource.SaucePositionDrauf, SaucePosition.Daneben => Resource.SaucePositionDaneben, _ => saucePosition.ToString() });
public string ToOrderSentence() { return($"{Resource.OrderSentenceBegin} {SausageKind.ToOrderSentenceText()}, " + $"{CutKind.ToOrderSentenceText()}, " + $"{Sauce.ToOrderSentenceTextDativ()}. " + $"{Sauce.ToOrderSentenceTextNominativ()} {SauceTaste.ToOrderSentenceText()} {Resource.OrderSentenceAnd} {SaucePosition.ToOrderSentenceText()}. " + $"{Resource.OrderSentenceWith} {BreadKind.ToOrderSentenceText()} " + $"{Side.ToOrderSentenceText()}. " + $"{Resource.OrderSentenceIsItFineLikeThat}"); }