changeset 318:f7a1b148cb35

Fix the languag file support.
author Frank Benoit <benoit@tionex.de>
date Sun, 19 Oct 2008 02:47:56 +0200
parents 8c656d6b7300
children 71b78d56f01f
files dwt/DWT.d dwt/internal/Compatibility.d
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/DWT.d	Sun Oct 19 01:26:56 2008 +0200
+++ b/dwt/DWT.d	Sun Oct 19 02:47:56 2008 +0200
@@ -3664,8 +3664,7 @@
  * </ul>
  */
 public static String getMessage(String key) {
-    //return Compatibility.getMessage(key);
-    return "";
+    return Compatibility.getMessage(key);
 }
 
 /**
--- a/dwt/internal/Compatibility.d	Sun Oct 19 01:26:56 2008 +0200
+++ b/dwt/internal/Compatibility.d	Sun Oct 19 02:47:56 2008 +0200
@@ -31,7 +31,9 @@
 import Unicode = tango.text.Unicode;
 import tango.sys.Process;
 import dwt.dwthelper.utils;
+import dwt.dwthelper.ResourceBundle;
 import tango.io.Path;
+import tango.text.convert.Format;
 
 /**
  * This class is a placeholder for utility methods commonly