diff --git a/src/www/minibar/minibar-api.html b/src/www/minibar/minibar-api.html index 2c5a8ecc0..f02837cc6 100644 --- a/src/www/minibar/minibar-api.html +++ b/src/www/minibar/minibar-api.html @@ -138,7 +138,7 @@ HTML file, you would normally include at least the following: other apps might of course use the entered text for other purposes. The following methods will be called:
translations.clear() is called when there no entered
+ translations.clear() is called when there is no entered
text.
translations.translateFrom({from:conc,input:string})
is called when the user has entered some text. The from
@@ -171,7 +171,7 @@ contains two field that the caller should add to the user interface:
translations object created by the
Translations constructor contains two field that the caller
should add to the user interface:
input.main is the main user interface where the current
+ translations.main is the main user interface where the current
translations are displayed.
- input.menus contains the menu for selecting target language.
+ translations.menus contains the menu for selecting
+ a target language. The user can select All or one particular
+ language.
server object. It
will clear away old translations and update the target language menu
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.