Exemple #1
0
        public void TestPoGenerator()
        {
            var generator = new PoGenerator();

            foreach (var unit in ParserTests.ParseAssembly())
            {
                generator.Add(unit);
            }
            generator.Generate("../../Catalog/en_US.pot");
        }
Exemple #2
0
        public void TestMoGenerator()
        {
            var generator = new MoGenerator();

            foreach (var unit in ParserTests.ParsePo("../../Catalog/ga.po"))
            {
                generator.Add(unit);
            }
            generator.Generate("../../Catalog/ga.mo");
        }