src/JsRender/Roo.vala
authorAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 06:53:08 +0000 (14:53 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 06:53:08 +0000 (14:53 +0800)
src/JsRender/Roo.vala

index 136e8e9..a88ed87 100644 (file)
@@ -436,9 +436,10 @@ namespace JsRender {
             
             // we have 2 types = dialogs and components
             // 
-           if (this.tree == null) {
-                   return "";
-           }
+            this.transStrings = new Gee.HashMap<string,string>();
+                       if (this.tree == null) {
+                               return "";
+                       }
             var top = this.tree.fqn();
             if (top == null) {
                 return "";