Exemplo n.º 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());
        }
Exemplo n.º 2
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());
 }