//[MenuItem("Transfluent/testInput")]
 public static void DoTestInput()
 {
     string filePath = Application.dataPath + Path.DirectorySeparatorChar + "TransfluentLocalization_en-us.xml";
     string contents = File.ReadAllText(filePath);
     var sender = new FileBasedSend();
     sender.RecieveFile(contents);
 }
示例#2
0
        //[MenuItem("Transfluent/testInput")]
        public static void DoTestInput()
        {
            string filePath = Application.dataPath + Path.DirectorySeparatorChar + "TransfluentLocalization_en-us.xml";
            string contents = File.ReadAllText(filePath);
            var    sender   = new FileBasedSend();

            sender.RecieveFile(contents);
        }
示例#3
0
        //[MenuItem("Transfluent/test full loop")]
        public static void testLoop()
        {
            var list = ResourceLoadFacade.getLanguageList();
            GameTranslationSet source = GameTranslationGetter.GetTranslaitonSetFromLanguageCode("en-us");
            var sender   = new FileBasedSend();
            var contents = sender.SendFileContents(source.getGroup().getDictionaryCopy(), list.getLangaugeByCode("en-us"), "", "");

            sender.RecieveFile(contents);
        }
        //[MenuItem("Transfluent/test full loop")]
        public static void testLoop()
        {
            var list = ResourceLoadFacade.getLanguageList();
            GameTranslationSet source = GameTranslationGetter.GetTranslaitonSetFromLanguageCode("en-us");
            var sender = new FileBasedSend();
            var contents = sender.SendFileContents(source.getGroup().getDictionaryCopy(), list.getLangaugeByCode("en-us"), "", "");

            sender.RecieveFile(contents);
        }