IDEMSInternational / TranslateWinForms

Provides utility functions to translate the text in WinForm objects (e.g. menu items, forms and controls) to a different natural language (e.g. to French).
GNU General Public License v3.0
0 stars 2 forks source link

Refactor second select statement in `GetDynamicTranslation()` #5

Open lloyddewit opened 2 years ago

lloyddewit commented 2 years ago

This issue addresses a comment in PR #3.

In the GetDynamicTranslation() function, there is a second select statement. I added this to fix a special case when toggling between languages.

@patowhiz questioned why this second select was needed.

I need to analyse this again and either adjust the statement, or explain it clearly in a comment (with an example of when it is needed).