PHP8 fix
[Pman.Cms] / Pman.Dialog.CmsTranslateTemplates.bjs
index ba50e54..1cad090 100644 (file)
@@ -1,9 +1,9 @@
 {
-    "id": "roo-file-242",
+    "id": "roo-file-196",
     "name": "Pman.Dialog.CmsTranslateTemplates",
     "parent": "",
     "title": "",
-    "path": "/home/chris/gitlive/Pman.Cms/Pman.Dialog.CmsTranslateTemplates.bjs",
+    "path": "/home/edward/gitlive/Pman.Cms/Pman.Dialog.CmsTranslateTemplates.bjs",
     "items": [
         {
             "background": true,
             "height": 450,
             "modal": true,
             "resizable": true,
-            "title": "WARNING",
+            "title": "Edit Translation",
             "width": 800,
             "xtype": "LayoutDialog",
             "|xns": "Roo",
             "items": [
                 {
                     "*prop": "center",
-                    "title": "This text is with {TEMPLATE VARIABLE} <br />PLEASE BE CAREFUL EDITING. What's change?",
                     "titlebar": true,
                     "xtype": "LayoutRegion",
+                    "|title": "\"Note: If the original text contains template variables like  {TEMPLATE_VARIABLE} <br/>Be careful to retain them otherwise the translation may not work\"",
                     "|xns": "Roo"
                 },
                 {
                                     "|xns": "Roo.form",
                                     "items": [
                                         {
-                                            "disabled": true,
+                                            "readOnly": true,
                                             "fieldLabel": "Original",
+                                            "height": 150,
                                             "name": "src_id_txt",
                                             "value": "",
+                                            "width": 750,
                                             "xtype": "TextArea",
                                             "|xns": "Roo.form"
                                         }
@@ -65,7 +67,9 @@
                                     "items": [
                                         {
                                             "fieldLabel": "Translation",
+                                            "height": 150,
                                             "name": "txt",
+                                            "width": 750,
                                             "xtype": "TextArea",
                                             "|xns": "Roo.form"
                                         }