diff Lang/Translation.cs @ 9:562390c8d618

Fix variable name errors no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Fri, 02 Jan 2009 20:20:10 +0000
parents d6ce8764e92b
children 3b7a321e7c4c
line wrap: on
line diff
--- a/Lang/Translation.cs	Fri Jan 02 20:19:16 2009 +0000
+++ b/Lang/Translation.cs	Fri Jan 02 20:20:10 2009 +0000
@@ -152,7 +152,7 @@
 			
 			if (translationLanguage != DEFAULT_LANGUAGE && translationLanguage != "" && translationLanguage != null)
 			{
-				FileInfo file = GetTranslationFile(translationLang);
+				FileInfo file = GetTranslationFile(translationLanguage);
 				XmlDocument doc = LoadTranslationDocument(file);
 				LoadTranslationsFromDocument(doc, translationsLocal);	
 			}
@@ -161,7 +161,7 @@
 				translationsLocal.Clear();				
 			}
 			
-			lang = translationLang;
+			lang = translationLanguage;
 		}
 
 		/// <summary>