mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-27 05:22:50 -06:00
Cloud service & apps: better error handling in wide coverage translation
The wide coverage demo apps now shows a "please wait" message while the grammar is loading, and a red error message if the grammar is not found on the server. The Simple Translation Tool also show red error messages if the grammar is not found.
This commit is contained in:
@@ -75,7 +75,7 @@ small { color: #666; }
|
||||
|
||||
<div id=output></div>
|
||||
<tr><td colspan=2>
|
||||
<small>Enter text to translate above.</small>
|
||||
<small id=grammarinfo>Enter text to translate above.</small>
|
||||
<td colspan=2>
|
||||
<!--<small id=speak><input name=speak type=checkbox> Enable speech synthesis</small>-->
|
||||
|
||||
@@ -87,10 +87,11 @@ small { color: #666; }
|
||||
<div id=pick></div>
|
||||
<small id=extra></small>
|
||||
</div>
|
||||
<p>
|
||||
<hr>
|
||||
<div class=modtime><small>
|
||||
<!-- hhmts start -->Last modified: Thu May 8 01:37:42 CEST 2014 <!-- hhmts end -->
|
||||
<!-- hhmts start -->Last modified: Fri Jun 20 20:21:52 CEST 2014 <!-- hhmts end -->
|
||||
</small></div>
|
||||
<a href="http://www.grammaticalframework.org/demos/translation.html">About</a>
|
||||
<script src="js/support.js"></script>
|
||||
<script src="js/gftranslate.js"></script>
|
||||
<script src="js/localstorage.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user