Unified capitalization scheme for menu items' labels
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1615 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
3fbefac8e1
commit
47381ce485
@ -153,56 +153,56 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
|
|||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
id: "core/trim-whitespace",
|
id: "core/trim-whitespace",
|
||||||
label: "Trim leading and trailing whitespace",
|
label: "Trim Leading and Trailing Whitespace",
|
||||||
click: function() { doTextTransform("value.trim()", "store-blank", false, ""); }
|
click: function() { doTextTransform("value.trim()", "store-blank", false, ""); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "core/collapse-whitespace",
|
id: "core/collapse-whitespace",
|
||||||
label: "Collapse consecutive whitespace",
|
label: "Collapse Consecutive Whitespace",
|
||||||
click: function() { doTextTransform("value.replace(/\\s+/,' ')", "store-blank", false, ""); }
|
click: function() { doTextTransform("value.replace(/\\s+/,' ')", "store-blank", false, ""); }
|
||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
id: "core/unescape-html-entities",
|
id: "core/unescape-html-entities",
|
||||||
label: "Unescape HTML entities",
|
label: "Unescape HTML Entities",
|
||||||
click: function() { doTextTransform("value.unescape('html')", "store-blank", true, 10); }
|
click: function() { doTextTransform("value.unescape('html')", "store-blank", true, 10); }
|
||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
id: "core/to-titlecase",
|
id: "core/to-titlecase",
|
||||||
label: "To Titlecase",
|
label: "To Titlecase",
|
||||||
click: function() { doTextTransform("toTitlecase(value)", "store-blank", false, ""); }
|
click: function() { doTextTransform("value.toTitlecase()", "store-blank", false, ""); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "core/to-uppercase",
|
id: "core/to-uppercase",
|
||||||
label: "To Uppercase",
|
label: "To Uppercase",
|
||||||
click: function() { doTextTransform("toUppercase(value)", "store-blank", false, ""); }
|
click: function() { doTextTransform("value.toUppercase()", "store-blank", false, ""); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "core/to-lowercase",
|
id: "core/to-lowercase",
|
||||||
label: "To Lowercase",
|
label: "To Lowercase",
|
||||||
click: function() { doTextTransform("toLowercase(value)", "store-blank", false, ""); }
|
click: function() { doTextTransform("value.toLowercase()", "store-blank", false, ""); }
|
||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
id: "core/to-number",
|
id: "core/to-number",
|
||||||
label: "To number",
|
label: "To Number",
|
||||||
click: function() { doTextTransform("toNumber(value)", "store-blank", false, ""); }
|
click: function() { doTextTransform("value.toNumber()", "store-blank", false, ""); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "core/to-date",
|
id: "core/to-date",
|
||||||
label: "To date",
|
label: "To Date",
|
||||||
click: function() { doTextTransform("toDate(value)", "store-blank", false, ""); }
|
click: function() { doTextTransform("value.toDate()", "store-blank", false, ""); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "core/to-text",
|
id: "core/to-text",
|
||||||
label: "To text",
|
label: "To Text",
|
||||||
click: function() { doTextTransform("toString(value)", "store-blank", false, ""); }
|
click: function() { doTextTransform("value.toString()", "store-blank", false, ""); }
|
||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
id: "core/to-blank",
|
id: "core/to-blank",
|
||||||
label: "Blank out cells",
|
label: "Blank Out Cells",
|
||||||
click: function() { doTextTransform("null", "store-blank", false, ""); }
|
click: function() { doTextTransform("null", "store-blank", false, ""); }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user