From 82e1ee4a95d13602a0c719f199d8f247130ef519 Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 27 Apr 2012 14:00:01 +0000 Subject: [PATCH] minibar: word-for-word replacements: use concrete syntax for replacement words when possible Instead of showing the name of a function in the abstract syntax, linearize it and show the result. For functions with argument, e.g. That : Kind -> Item, the function is applied to the right number of placeholder arguments: 'That ?'. If the linearization fails, the name of the function is shown anyway. --- src/www/minibar/minibar.html | 3 ++- src/www/minibar/minibar_input.js | 25 +++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/www/minibar/minibar.html b/src/www/minibar/minibar.html index 9f9735ad0..06938a4b8 100644 --- a/src/www/minibar/minibar.html +++ b/src/www/minibar/minibar.html @@ -25,7 +25,7 @@ & Translator] -HTML Last modified: Mon Feb 13 18:07:42 CET 2012 +HTML Last modified: Fri Apr 27 15:53:46 CEST 2012
@@ -36,6 +36,7 @@ HTML Last modified: Mon Feb 13 18:07:42 CET 2012