| feedback_url | null | Include a button to open a feedback
@@ -124,13 +128,19 @@ HTML file, you would normally include at least the following:
can be set to override various default options:
| Option | Default | Description
- |
|---|
| delete_button_text | "⌫" | the label for the button that deletes the last word
- | | default_source_language | null | the concrete language to
+ | | delete_button_text | "⌫" | The label for the button that deletes the last word.
+ | | default_source_language | null | The concrete language to
use for input in case the user's browers doesn't supply a suitable
default. If none is provided the first language in alphabetical
order will be used.
- | | random_button | true | include a button to generate a
- random sentence
+ | | startcat_menu | true | Include a menu to choose which start
+ category to use for parsing (instead of the grammar's default start
+ category).
+ | | random_button | true | Include a button to generate a
+ random sentence.
+ | | word_replacements | false | Enable
+ word-for-word replacements.
+ (This is an experimental feature.)
|
translations is the object that is notified when the input
@@ -179,7 +189,7 @@ and support.js, so to use it in an
HTML file, you would normally include at least the following:
-<script type="text/JavaScript" src="minibar_input.js"></script>
+<script type="text/JavaScript" src="minibar_translations.js"></script>
<script type="text/JavaScript" src="minibar_support.js"></script>
<script type="text/JavaScript" src="support.js"></script>
@@ -196,8 +206,11 @@ HTML file, you would normally include at least the following:
to the concrete syntax for the translations
| show_trees | false | add buttons to display syntax trees
next to translations.
+ | | tree_img_format | "png" | format for trees & alignment images,
+ can be "gif", "png" or "svg"
| | show_grouped_translations | true | in case there are
multiple translations, group them by concrete language
+ | | show_brackets | false | show bracketed string
| |