Mercurial > repos > IBBoard.Windows.Forms
changeset 14:774fd3daefe1
* Cascade translation of forms by translating their controls (needed by warfoundry:#203)
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 14 Apr 2010 19:40:40 +0000 |
parents | ac5dc16fba1f |
children | 7c459ebc4210 |
files | Windows/Forms/I18N/ControlTranslator.cs |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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