summaryrefslogtreecommitdiff
path: root/interface.php
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-10-30 18:50:51 +0100
committerPatrick Simianer <p@simianer.de>2015-10-30 18:50:51 +0100
commit50fcce8314c07dc13d65da47c8fc6fdd16491495 (patch)
treea0089ef1def7f91f03dcadf831ed531856b561bb /interface.php
parenta2f47cce2000cb491b7d7e0a2f1513c176e7f48c (diff)
better OOV handling
Diffstat (limited to 'interface.php')
-rw-r--r--interface.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/interface.php b/interface.php
index c0348bf..71d40fe 100644
--- a/interface.php
+++ b/interface.php
@@ -39,10 +39,11 @@
</table>
</div>
<div id="oov_form">
- <p class="small" style="margin-bottom:0"><strong>Unknown words:</strong><br />
- Please enter a translation for each source word, then click 'Next' or press return.<br />
-<span class="small">Note that the source word may be distorted.</span>
+ <p style="margin-bottom:0"><strong>Unknown words</strong><br />
+ <span class="small">Please enter a translation for each source word, then click 'Next' or press return.<br />
+Note that the source word may be distorted.</span>
</p>
+<p><span style="text-decoration:underline;font-size:0.8em">Context:</span> <span id="oov_context"></span></p>
<div id="oov_fields"></div>
</div>
<!-- /Source and target textboxes -->
@@ -108,6 +109,7 @@ foreach($db->raw_source_segments as $s) {
<textarea style="display:none" id="current_seg_id">0</textarea>
<textarea style="display:none" id="paused">0</textarea>
<textarea style="display:none" id="oov_correct">0</textarea>
+<textarea style="display:none" id="oov_num_items">0</textarea>
<textarea style="display:none" id="displayed_oov_hint">0</textarea>
<textarea style="display:none" id="port"><?php echo $db->port; ?></textarea>
<textarea style="display:none" id="init">0</textarea>