Пример #1
0
        // ~~

        public virtual string Dump(
            TRANSLATION this_translation
            )
        {
            TRANSLATION
                result_translation = new TRANSLATION();

            result_translation.AddText("\"" + this_translation.Text + "\" / \"" + this_translation.Quantity + "\" / '" + this_translation.GetQuantityFirstCharacter() + "' / ");

            if (this_translation.HasIntegerQuantity)
            {
                result_translation.AddText(GetIntegerText(this_translation.IntegerQuantity) + " / ");
            }

            if (this_translation.HasRealQuantity)
            {
                result_translation.AddText(GetRealText(this_translation.RealQuantity) + " / ");
            }

            result_translation.AddText(GetPluralityText(GetCardinalPlurality(this_translation)) + " / " + GetPluralityText(GetOrdinalPlurality(this_translation)) + " / " + GetGenreText(this_translation.Genre) + "\n");

            return(result_translation.Text);
        }