Example #1
0
        private void OnLanguageChanged(object sender, EventArgs e)
        {
            ready = false;

            textBoxVoiceActor.Text = actor.GetLocalizedActor(listBoxLanguages.SelectedValue as Language);

            ready = true;
        }
Example #2
0
 public string GetLocalizedVoiceActorFromKit(VoiceKit kit, Language language)
 {
     if (kit != null)
     {
         VoiceActor actor = GetVoiceActor(kit.VoiceActor);
         if (actor != null)
         {
             return(actor.GetLocalizedActor(language));
         }
     }
     return("");
 }