changeset 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
files Lang/Translation.cs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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>