Add link to GREL reference in Help tab of expression editor (#3647)
* grel reference added * descriptive link added * modified * translation text added * conflict issue resolved and link added Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
This commit is contained in:
parent
d72193f25e
commit
ad22c7709a
@ -244,6 +244,7 @@
|
||||
"core-dialogs/history": "History",
|
||||
"core-dialogs/starred": "Starred",
|
||||
"core-dialogs/help": "Help",
|
||||
"core-dialogs/help/grelreference" : "View the GREL reference in the OpenRefine User Manual for further details",
|
||||
"core-dialogs/opt-code-applied": "Option code successfully applied.",
|
||||
"core-dialogs/error-apply-code": "Error applying option code",
|
||||
"core-dialogs/sql-exporter": "SQL Exporter",
|
||||
|
@ -184,6 +184,11 @@ ExpressionPreviewDialog.Widget.prototype._renderHelpTab = function() {
|
||||
|
||||
ExpressionPreviewDialog.Widget.prototype._renderHelp = function(data) {
|
||||
var elmt = this._elmts.expressionPreviewHelpTabBody.empty();
|
||||
$("<a />", {
|
||||
href: "https://docs.openrefine.org/manual/grelfunctions",
|
||||
text: $.i18n('core-dialogs/help/grelreference'),
|
||||
target: "_blank",
|
||||
}).appendTo(elmt);
|
||||
$('<h3></h3>').text("Variables").appendTo(elmt);
|
||||
var varTable = $('<table cellspacing="5"></table>').appendTo(elmt)[0];
|
||||
var vars = [
|
||||
|
Loading…
Reference in New Issue
Block a user