diff mde/content/Translation.d @ 163:24d77c52243f

Provided sensible conversions for setting the value of one AStringContent from another, along with unittest. Updated layout and Translation unittests to run.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 23 May 2009 15:47:32 +0200
parents 36df0ffe34d2
children
line wrap: on
line diff
--- a/mde/content/Translation.d	Fri May 22 19:59:22 2009 +0200
+++ b/mde/content/Translation.d	Sat May 23 15:47:32 2009 +0200
@@ -131,7 +131,8 @@
 	}
     }
     
-    /+ Getters for entries... not wanted now.
+    // Getters for entries... not wanted now.
+debug (mdeUnitTest) {	// still used by unittest (useful for checking loading and merging)
     alias entry opCall;	    /// Convenience alias
     
     /** Get the translation for the given identifier.
@@ -168,7 +169,8 @@
             ret.name = id;
             return ret;
         }
-    } +/
+    }
+}
     
     /** This struct is used to store each translation name and description pair.
      *