diff --git a/src/www/minibar/minibar-api.html b/src/www/minibar/minibar-api.html index 36e94f8f6..a30fa2e5d 100644 --- a/src/www/minibar/minibar-api.html +++ b/src/www/minibar/minibar-api.html @@ -160,13 +160,14 @@ HTML file, you would normally include at least the following:
input object created by the Input constructor
-contains two field that the caller should add to the user interface:
+contains the following fields that the caller should add to the user interface:
input.main is the main user interface where the current
input and the refrigerator magnets are displayed.
- input.menus contains the menu for selecting input language,
- and buttons for deleting the last word, clearing the input and generating
- a random sentence (if enabled in the options)
+ input.menus contains the menu for selecting input language.
+ input.buttons contains
+ buttons for deleting the last word, clearing the input and generating
+ a random sentence (if enabled in the options).
translations object created by the
-Translations constructor contains two field that the caller
-should add to the user interface:
+The translations object created by the Translations
+constructor contains the following fields that the caller should add to
+the user interface:
translations.main is the main user interface where the current
translations are displayed.
@@ -237,15 +238,16 @@ should add to the user interface:
with the languages available in the new grammar.
translations.clear() clears the main output area from old translations.
translations.translateFrom({from:conc,input:string})
- displays translations of the string given in the input
- property from the concrete syntax indicated by the from.
+ displays translations of the text given in the input
+ property (as an array of words)
+ from the concrete syntax indicated by the from.