1
0
forked from GitHub/gf-core

Wide Coverage Translation Demo: improvements relating to application grammars

* Automatically update the translations when the set of selected
  application grammars is changed.
* Skip application grammars that do not support the currently selected
  source & target languages.
This commit is contained in:
hallgren
2016-05-19 09:36:40 +00:00
parent bea8c5796a
commit 7cb01f1ae7
2 changed files with 28 additions and 14 deletions

View File

@@ -49,7 +49,7 @@ h2 > input { float: right; }
<div class=overlay><div id=grammarbox class=grammarbox></div></div>
<form onsubmit="return wc.translate()" style="width: 100%">
<form onsubmit="return wc.translate(true)" style="width: 100%">
<table>
<tr><td>
<select name=from>
@@ -115,7 +115,7 @@ h2 > input { float: right; }
</div>
<hr>
<div class=modtime><small>
<!-- hhmts start -->Last modified: Mon May 16 16:39:48 CEST 2016 <!-- hhmts end -->
<!-- hhmts start -->Last modified: Thu May 19 11:08:21 CEST 2016 <!-- hhmts end -->
</small></div>
<a href="http://www.grammaticalframework.org/demos/translation.html">About</a>
<script src="js/support.js"></script>