diff Lang/ModifiableTranslationSetTest.cs @ 16:c21d27a9cae5

Re #31: Break out Translations for language to own class * Add initial tests for loader of new translation class
author IBBoard <dev@ibboard.co.uk>
date Tue, 06 Apr 2010 16:01:29 +0000
parents e3e4f7a92f8b
children 20189f3a3479
line wrap: on
line diff
--- a/Lang/ModifiableTranslationSetTest.cs	Tue Apr 06 15:43:08 2010 +0000
+++ b/Lang/ModifiableTranslationSetTest.cs	Tue Apr 06 16:01:29 2010 +0000
@@ -30,7 +30,7 @@
 		protected override AbstractTranslationSet GetTranslationSetWithFixedValue()
 		{
 			ModifiableTranslationSet translations = new ModifiableTranslationSet("en");
-			translations[GetFixedValueKey()] = GetFixedValueTranslation();
+			translations.SetTranslation(GetFixedValueKey(), GetFixedValueTranslation());
 			return translations;
 		}
 	}