From 7d02b4065e135d907fb5da096a6cb4f2b51b4d01 Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 19 Dec 2014 20:18:12 -0800 Subject: [PATCH] Simplification of Translation Method Removing redundant input. --- Misc/Util.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Misc/Util.cs b/Misc/Util.cs index 5a768b830..86786076c 100644 --- a/Misc/Util.cs +++ b/Misc/Util.cs @@ -322,9 +322,10 @@ internal static void Shuffle(T[] array) // catch { } //} // Form Manipulation - internal static void TranslateInterface(Control form, string lang, Control.ControlCollection Controls, MenuStrip menu = null) + internal static void TranslateInterface(Control form, string lang, MenuStrip menu = null) { string FORM_NAME = form.Name; + Control.ControlCollection Controls = form.Controls; // debug(Controls); // Fetch a File // Check to see if a the translation file exists in the same folder as the executable