public override string TraducirForma(int cantidad, Idioma idioma) { if (idioma.GetType() == typeof(Castellano)) { return(cantidad == 1 ? "Trapecio" : "Trapecios"); } else if (idioma.GetType() == typeof(Ingles)) { return(cantidad == 1 ? "Trapeze" : "Trapezoids"); } else { return(cantidad == 1 ? "Trapézio" : "Trapézios"); } }
public override string TraducirForma(int cantidad, Idioma idioma) { if (idioma.GetType() == typeof(Castellano)) { return(cantidad == 1 ? "Círculo" : "Círculos"); } else if (idioma.GetType() == typeof(Ingles)) { return(cantidad == 1 ? "Circle" : "Circles"); } else { return(cantidad == 1 ? "Círculo" : "círculos"); } }