src/JsRender/NodeToJs.vala
[app.Builder.js] / src / JsRender / Roo.vala
index 372c73b..77b5d57 100644 (file)
@@ -87,11 +87,11 @@ namespace JsRender {
         {
             
                                 
-                       print("load Items!");
+                       GLib.debug("load Items!");
                        if (this.tree != null) {
                                return;
                        }
-                       print("load " + this.path);
+                       GLib.debug("load " + this.path);
 
                        var pa = new Json.Parser();
                        pa.load_from_file(this.path);
@@ -403,7 +403,9 @@ namespace JsRender {
          */
         public override string toSourceCode() 
         {
-               return this.toSource();
+                       this.transStrings = new Gee.HashMap<string,string>();
+                       this.findTransStrings(this.tree);
+                       return this.toSource();
                }
          
         public override string toSource()