jpmieville / bots

Automatically exported from code.google.com/p/bots
0 stars 0 forks source link

added option: when arything goes wrong in translation, skip whole file /no output #346

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Actually this was the way bots worked (longer ago).
I do want to keep this option - there are use cases, code is simple.
In newer bots version this could be doen via setting in bots.ini
But...because of type this never worked.
Never mind.
Do this now via syntax of grammar for incoming file.

Original issue reported on code.google.com by hjebb...@gmail.com on 3 Apr 2015 at 10:07

GoogleCodeExporter commented 8 years ago
removed: compatibility_handle_message_errors in bots.ini (did not work...;-)
added: if 'no_results_if_any_error_in_translation_edifile' in syntax: 
    one error in file/interchange->drop all results (as in bots 2.*) 

Original comment by hjebb...@gmail.com on 3 Apr 2015 at 1:15

GoogleCodeExporter commented 8 years ago
seems to be a nice change:
in ta_info (in eg mapping script) now all of syntax of grammar is available.

Original comment by hjebb...@gmail.com on 3 Apr 2015 at 1:21