2 "name" : "Pman.Dialog.AdminTranslateTemplates",
5 "path" : "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminTranslateTemplates.bjs",
9 "0a52da7a03a6de3beefe54f8c03ad80d" : "Original",
10 "d41d8cd98f00b204e9800998ecf8427e" : "",
11 "6dd08874f83507e9c7b23f1a46b7fa7c" : "Translation",
12 "ea4788705e6873b424c65e91c2846b19" : "Cancel",
13 "305253475cc868103805068f45a90468" : "Edit Translation",
14 "e0aa021e21dddbd6d8cecec71e9cf564" : "OK"
17 "src_id_txt_fieldLabel" : "0a52da7a03a6de3beefe54f8c03ad80d",
18 "src_id_txt_value" : "d41d8cd98f00b204e9800998ecf8427e",
19 "txt_fieldLabel" : "6dd08874f83507e9c7b23f1a46b7fa7c"
24 "collapsible" : false,
26 "title" : "Edit Translation",
27 "xtype" : "LayoutDialog",
35 "xtype" : "LayoutRegion",
39 "$ title" : "\"Note: If the original text contains template variables like {TEMPLATE_VARIABLE} <br/>Be careful to retain them otherwise the translation may not work\""
45 "xtype" : "ContentPanel",
50 "|actionfailed" : "function (_self, action)\n{\n _this.dialog.el.unmask();\n Pman.standardActionFailed(_self, action);\n}\n",
51 "|actioncomplete" : "function (_self, action)\n{\n \n if (action.type == 'setdata') {\n //_this.dialog.el.mask(\"Loading\");\n \n Roo.log(_this.data);\n return;\n }\n if (action.type == 'load') {\n return;\n }\n if (action.type =='submit') {\n _this.dialog.hide();\n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n _this.form.reset();\n return;\n }\n}\n",
52 "|rendered" : "function (form)\n{\n _this.form = form;\n}"
54 "style" : "margin: 5px",
65 "fieldLabel" : "Original",
82 "fieldLabel" : "Translation",
97 "|click" : "function() {\n _this.form.reset();\n _this.dialog.hide();\n}"
102 "* prop" : "buttons[]"
106 "|click" : "function() {\n _this.dialog.el.mask(\"Saving\");\n //_this.form.doAction('submit');\n _this.dialog.hide();\n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n _this.dialog.el.unmask();\n _this.form.reset();\n}"
111 "* prop" : "buttons[]"