示例#1
0
        // ~~

        public override TRANSLATION Swords(
            TRANSLATION count_translation
            )
        {
            TRANSLATION
                result_translation = new TRANSLATION();

            if (count_translation.GetFrenchCardinalPlurality() == PLURALITY.One)
            {
                result_translation.AddText("épée");
            }
            else
            {
                result_translation.AddText("épées");
            }

            result_translation.SetQuantity(count_translation.Quantity);
            result_translation.SetGenre(GENRE.Female);

            return(result_translation);
        }
示例#2
0
        // -- INQUIRIES

        public override PLURALITY GetCardinalPlurality(
            TRANSLATION translation
            )
        {
            return(translation.GetFrenchCardinalPlurality());
        }