Browse code

remove i18n (dont work)

devnewton authored on 07/09/2017 09:45:40
Showing 2 changed files
1 1
deleted file mode 100644
... ...
@@ -1,7 +0,0 @@
1
-{
2
-    "pegjs": {
3
-        "label": {
4
-            "grammar": "Grammar"
5
-        }
6
-    }
7
-}
... ...
@@ -1,12 +1,12 @@
1 1
 <script type="text/x-red" data-template-name="pegjs">
2 2
     <div class="form-row">
3
-        <label for="node-input-grammar"><i class="fa fa-filter"></i> <span data-i18n="pegjs.label.grammar"></span></label>
4
-        <textarea id="node-input-grammar" placeholder="grammar">
3
+        <label for="node-input-grammar"><i class="fa fa-filter"></i> Grammar</label>
4
+        <textarea id="node-input-grammar" placeholder="grammar"></textarea>
5 5
     </div>
6
-    <br/>
6
+    <br>
7 7
     <div class="form-row">
8
-        <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
9
-        <input type="text" id="node-input-name" style="width:70%" data-i18n="[placeholder]common.label.name">
8
+        <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
9
+        <input type="text" id="node-input-name" style="width:70%">
10 10
     </div>
11 11
 </script>
12 12
 
... ...
@@ -31,7 +31,8 @@
31 31
         category: 'function',
32 32
         color: "#DEBD5C",
33 33
         defaults: {
34
-            grammar: {value: ""}
34
+            grammar: {value: ""},
35
+            name: {value: ""}
35 36
         },
36 37
         inputs: 1,
37 38
         outputs: 1,