comparison 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
comparison
equal deleted inserted replaced
15:e3e4f7a92f8b 16:c21d27a9cae5
28 } 28 }
29 29
30 protected override AbstractTranslationSet GetTranslationSetWithFixedValue() 30 protected override AbstractTranslationSet GetTranslationSetWithFixedValue()
31 { 31 {
32 ModifiableTranslationSet translations = new ModifiableTranslationSet("en"); 32 ModifiableTranslationSet translations = new ModifiableTranslationSet("en");
33 translations[GetFixedValueKey()] = GetFixedValueTranslation(); 33 translations.SetTranslation(GetFixedValueKey(), GetFixedValueTranslation());
34 return translations; 34 return translations;
35 } 35 }
36 } 36 }
37 } 37 }