Exemplo n.º 1
0
        private static List <Int32> LoadTranslationBaseLines(String translationFileName)
        {
            var translationSourceFile = new FileInfo(translationFileName);

            if (!translationSourceFile.Exists)
            {
                Console.WriteLine("Translation source file {0} does not exist", translationFileName);
                return(null);
            }
            return(PointerText.ReadPointersFromFile(translationSourceFile).Select(l => l.Address).ToList());
        }
Exemplo n.º 2
0
        private static List <PointerText> LoadTranslationFileLines(String translationFileName)
        {
            var translationSourceFile = new FileInfo(translationFileName);

            if (!translationSourceFile.Exists)
            {
                log.FatalFormat("Translation source file {0} does not exist", translationFileName);
                Console.WriteLine("Translation source file {0} does not exist", translationFileName);
                return(null);
            }
            return(PointerText.ReadPointersFromFile(translationSourceFile));
        }