소스 검색

Removed HTML from messages

version-14
Tsutomu Mimori 10 년 전
부모
커밋
a72b6d89de
8개의 변경된 파일20개의 추가작업 그리고 20개의 파일을 삭제
  1. +3
    -3
      frappe/core/doctype/user/user.json
  2. +1
    -1
      frappe/custom/doctype/custom_field/custom_field.js
  3. +2
    -2
      frappe/custom/doctype/customize_form/customize_form.json
  4. +2
    -2
      frappe/custom/doctype/customize_form_field/customize_form_field.json
  5. +5
    -5
      frappe/public/js/frappe/ui/toolbar/awesome_bar.js
  6. +2
    -2
      frappe/website/doctype/website_settings/website_settings.json
  7. +3
    -3
      frappe/website/doctype/website_theme/website_theme.json
  8. +2
    -2
      frappe/workflow/doctype/workflow/workflow.json

+ 3
- 3
frappe/core/doctype/user/user.json 파일 보기

@@ -154,7 +154,7 @@
"permlevel": 0
},
{
"description": "Get your globally recognized avatar from <a href=\"https://gravatar.com/\">Gravatar.com</a>",
"description": "Get your globally recognized avatar from Gravatar.com",
"fieldname": "user_image",
"fieldtype": "Attach",
"hidden": 0,
@@ -326,7 +326,7 @@
"width": "50%"
},
{
"description": "Enter default value fields (keys) and values. If you add multiple values for a field, the first one will be picked. These defaults are also used to set \"match\" permission rules. To see list of fields, go to <a href=\"#Form/Customize Form/Customize Form\">Customize Form</a>.",
"description": "Enter default value fields (keys) and values. If you add multiple values for a field, the first one will be picked. These defaults are also used to set \"match\" permission rules. To see list of fields, go to \"Customize Form\".",
"fieldname": "defaults",
"fieldtype": "Table",
"hidden": 1,
@@ -516,4 +516,4 @@
],
"read_only": 0,
"search_fields": "first_name, last_name"
}
}

+ 1
- 1
frappe/custom/doctype/custom_field/custom_field.js 파일 보기

@@ -52,7 +52,7 @@ cur_frm.cscript.fieldtype = function(doc, dt, dn) {
__('Name of the Document Type (DocType) you want this field to be linked to. e.g. Customer');
} else if(doc.fieldtype == 'Select') {
cur_frm.fields_dict['options_help'].disp_area.innerHTML =
__('Options for select. Each option on a new line. e.g.: <br>Option 1<br>Option 2<br>Option 3<br>');
__('Options for select. Each option on a new line.')+' '+__('e.g.:')+'<br>'+__('Option 1')+'<br>'+__('Option 2')+'<br>'+__('Option 3')+'<br>';
} else if(doc.fieldtype == 'Dynamic Link') {
cur_frm.fields_dict['options_help'].disp_area.innerHTML =
__('Fieldname which will be the DocType for this link field.');


+ 2
- 2
frappe/custom/doctype/customize_form/customize_form.json 파일 보기

@@ -33,7 +33,7 @@
"search_index": 0
},
{
"description": "Fields separated by comma (,) will be included in the<br /><b>Search By</b> list of Search dialog box",
"description": "Fields separated by comma (,) will be included in the \"Search By\" list of Search dialog box",
"fieldname": "search_fields",
"fieldtype": "Data",
"in_list_view": 1,
@@ -133,4 +133,4 @@
}
],
"search_fields": "doc_type"
}
}

+ 2
- 2
frappe/custom/doctype/customize_form_field/customize_form_field.json 파일 보기

@@ -119,7 +119,7 @@
"precision": ""
},
{
"description": "This field will appear only if the fieldname defined here has value OR the rules are true (examples): <br>\nmyfield\neval:doc.myfield=='My Value'<br>\neval:doc.age>18",
"description": "This field will appear only if the fieldname defined here has value OR the rules are true (examples): \nmyfield\neval:doc.myfield=='My Value'\neval:doc.age>18",
"fieldname": "depends_on",
"fieldtype": "Data",
"hidden": 0,
@@ -301,4 +301,4 @@
"owner": "Administrator",
"permissions": [],
"read_only": 0
}
}

+ 5
- 5
frappe/public/js/frappe/ui/toolbar/awesome_bar.js 파일 보기

@@ -84,15 +84,15 @@ frappe.search = {
onclick: function() {
var txt = '<table class="table table-bordered">\
<tr><td style="width: 50%">'+__("Make a new record")+'</td><td>'+
__("<b>new</b> <i>type of document</i>")+'</td></tr>\
__("new type of document")+'</td></tr>\
<tr><td>'+__("List a document type")+'</td><td>'+
__("<i>document type...</i>, e.g. <b>customer</b>")+'</td></tr>\
__("document type..., e.g. customer")+'</td></tr>\
<tr><td>'+__("Search in a document type")+'</td><td>'+
__("<i>text</i> <b>in</b> <i>document type</i>")+'</td></tr>\
__("text in document type")+'</td></tr>\
<tr><td>'+__("Open a module or tool")+'</td><td>'+
__("<i>module name...</i>")+'</td></tr>\
__("module name...")+'</td></tr>\
<tr><td>'+__("Calculate")+'</td><td>'+
__("<i>e.g. <strong>(55 + 434) / 4</strong> or <strong>=Math.sin(Math.PI/2)</strong>...</i>")+'</td></tr>\
__("e.g. (55 + 434) / 4 or =Math.sin(Math.PI/2)...")+'</td></tr>\
</table>'
msgprint(txt, "Search Help");
}


+ 2
- 2
frappe/website/doctype/website_settings/website_settings.json 파일 보기

@@ -231,7 +231,7 @@
"permlevel": 0
},
{
"description": "An icon file with .ico extension. Should be 16 x 16 px. Generated using a favicon generator. [<a href=\"http://favicon-generator.org/\" target=\"_blank\">favicon-generator.org</a>]",
"description": "An icon file with .ico extension. Should be 16 x 16 px. Generated using a favicon generator. [favicon-generator.org]",
"fieldname": "favicon",
"fieldtype": "Attach",
"label": "FavIcon",
@@ -296,4 +296,4 @@
"submit": 0
}
]
}
}

+ 3
- 3
frappe/website/doctype/website_theme/website_theme.json 파일 보기

@@ -110,7 +110,7 @@
"precision": ""
},
{
"description": "Add the name of a <a href=\"https://www.google.com/fonts/\" target=\"_blank\">Google Web Font</a> e.g. \"Open Sans\"",
"description": "Add the name of a \"Google Web Font\" e.g. \"Open Sans\"",
"fieldname": "text_webfont",
"fieldtype": "Data",
"label": "Google Font (Text)",
@@ -118,7 +118,7 @@
"precision": ""
},
{
"description": "Add the name of a <a href=\"https://www.google.com/fonts/\" target=\"_blank\">Google Web Font</a> e.g. \"Open Sans\"",
"description": "Add the name of a \"Google Web Font\" e.g. \"Open Sans\"",
"fieldname": "heading_webfont",
"fieldtype": "Data",
"label": "Google Font (Heading)",
@@ -301,4 +301,4 @@
"sort_field": "modified",
"sort_order": "DESC",
"title_field": ""
}
}

+ 2
- 2
frappe/workflow/doctype/workflow/workflow.json 파일 보기

@@ -42,7 +42,7 @@
"permlevel": 0
},
{
"description": "All possible Workflow States and roles of the workflow. <br>Docstatus Options: 0 is\"Saved\", 1 is \"Submitted\" and 2 is \"Cancelled\"",
"description": "All possible Workflow States and roles of the workflow. \nDocstatus Options: 0 is\"Saved\", 1 is \"Submitted\" and 2 is \"Cancelled\"",
"fieldname": "states",
"fieldtype": "Table",
"label": "Document States",
@@ -97,4 +97,4 @@
"write": 1
}
]
}
}

불러오는 중...
취소
저장