Exemple #1
0
        private void AddPluralsTranslations(CatalogEntry entry)
        {
            // Creating 2 plurals forms by default
            // Translator should change it using expression for it own country
            // http://translate.sourceforge.net/wiki/l10n/pluralforms
            List <string> translations = new List <string>();

            for (int i = 0; i < Catalog.PluralFormsCount; i++)
            {
                translations.Add("");
            }
            entry.SetTranslations(translations.ToArray());
        }
 private void AddPluralsTranslations(CatalogEntry entry)
 {
     // Creating 2 plurals forms by default
     // Translator should change it using expression for it own country
     // http://translate.sourceforge.net/wiki/l10n/pluralforms
     List<string> translations = new List<string>();
     for (int i = 0; i < Catalog.PluralFormsCount; i++)
         translations.Add("");
     entry.SetTranslations(translations.ToArray());
 }