[FIX] barcodes: remove untranslated content

Since 6a3324a7 and 0c489cf1fa, a translation can not contain a \n
Previous text was not correct rst anyway.

Reexport base translations to include all missing modules
This commit is contained in:
Martin Trigaux
2018-08-02 11:49:32 +02:00
parent 9a48f67863
commit 8c07fd3c5a
2 changed files with 2542 additions and 44 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ The purpose of this component is to listen to keypresses to detect barcodes, the
on core.bus inside a 'barcode_event'.
All keypress events are buffered until there is no more keypress during 50ms or a carriage return / tab is
inputted (because most barcode scanners use this as a suffix).
If the buffered keys looks like a barcode (match the the regexp /.{3,}[\n\r\t]*), an event is triggered :
If the buffered keys looks like a barcode, an event is triggered :
core.bus.trigger('barcode_scanned', barcode);
Otherwise, the keypresses are 'resent'. However, for security reasons, a keypress event programmatically
crafted doesn't trigger native browser behaviors. For this reason, BarcodeEvents doesn't intercept keypresses
File diff suppressed because it is too large Load Diff