# HG changeset patch # User IBBoard # Date 1271274040 0 # Node ID 774fd3daefe19e91a9bb5a9606e94517f58aa9da # Parent ac5dc16fba1ff0c2992e1290539396063998a688 * Cascade translation of forms by translating their controls (needed by warfoundry:#203) no-open-ticket diff -r ac5dc16fba1f -r 774fd3daefe1 Windows/Forms/I18N/ControlTranslator.cs --- a/Windows/Forms/I18N/ControlTranslator.cs Mon Mar 22 20:56:09 2010 +0000 +++ b/Windows/Forms/I18N/ControlTranslator.cs Wed Apr 14 19:40:40 2010 +0000 @@ -130,6 +130,10 @@ TranslateComponent(item, true, replacements); } } + else if (comp is Form) + { + TranslateControls(((Form)comp).Controls); + } } } } \ No newline at end of file