Merge pull request #2094 from OpenRefine/thadguidry-patch-Help

[DRAFT] Add recon and record to Help tab
This commit is contained in:
Antonin Delpeuch 2019-07-24 09:32:46 +01:00 committed by GitHub
commit 45e100a00c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -217,6 +217,7 @@
"core-dialogs/row-fields": "The current row. It has 5 fields: 'flagged', 'starred', 'index', 'cells', and 'record'.",
"core-dialogs/cells-of-row": "The cells of the current row. This is a shortcut for 'row.cells'. A particular cell can be retrieved with 'cells.<column name>' if the <column name> is a single word, or with 'cells[\"<column name>\"] otherwise.",
"core-dialogs/row-index": "The current row's index. This is a shortcut for 'row.index'.",
"core-dialogs/record-fields": "one or more rows grouped together to form a record; object has more fields, details at https://github.com/OpenRefine/OpenRefine/wiki/Variables#record",
"core-dialogs/returns": "returns",
"core-dialogs/from": "From",
"core-dialogs/expression": "Expression",

View File

@ -205,6 +205,9 @@ ExpressionPreviewDialog.Widget.prototype._renderHelp = function(data) {
},
{ name: "rowIndex",
description: $.i18n('core-dialogs/row-index')
},
{ name: "record",
description: $.i18n('core-dialogs/record-fields')
}
];
for (var i = 0; i < vars.length; i++) {