/// <summary>Get translated season names from the game.</summary> /// <param name="translations">The translation helper.</param> /// <param name="seasons">The English season names.</param> public static IEnumerable <string> GetSeasonNames(this ITranslationHelper translations, IEnumerable <string> seasons) { foreach (string season in seasons) { yield return(translations.GetSeasonName(season)); } }