diff api/Requirements/RequirementAND.cs @ 229:6083010a005c

Re #223: Use translations within the API * Update requirements to use translations * Remove duplicate classes
author IBBoard <dev@ibboard.co.uk>
date Mon, 21 Dec 2009 20:37:35 +0000
parents 2f3cafb69799
children
line wrap: on
line diff
--- a/api/Requirements/RequirementAND.cs	Sun Dec 20 20:59:28 2009 +0000
+++ b/api/Requirements/RequirementAND.cs	Mon Dec 21 20:37:35 2009 +0000
@@ -14,17 +14,7 @@
 	/// </summary>
 	public class RequirementAND : AbstractRequirement
 	{
-		private static string and;
-
-		static RequirementAND()
-		{
-			and = Translation.GetTranslation("requirement_and", true);
-
-			if (and == null)
-			{
-				and = "{0}; and {1}";
-			}
-		}
+		private static string and = Translation.GetTranslation("requirementAND", "{0} and {1}");
 
 		private AbstractRequirement reqA, reqB;