diff --git a/main/webapp/modules/core/langs/translation-en.json b/main/webapp/modules/core/langs/translation-en.json index bf57a5c6a..39a732d5e 100644 --- a/main/webapp/modules/core/langs/translation-en.json +++ b/main/webapp/modules/core/langs/translation-en.json @@ -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.' if the is a single word, or with 'cells[\"\"] 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", diff --git a/main/webapp/modules/core/scripts/dialogs/expression-preview-dialog.js b/main/webapp/modules/core/scripts/dialogs/expression-preview-dialog.js index a27123c6a..ae6b337fd 100644 --- a/main/webapp/modules/core/scripts/dialogs/expression-preview-dialog.js +++ b/main/webapp/modules/core/scripts/dialogs/expression-preview-dialog.js @@ -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++) {