forked from GitHub/gf-core
simple translator: bug fix
A bug in the line break change prevented text import from working.
This commit is contained in:
@@ -483,7 +483,7 @@ Translator.prototype.import=function(el) {
|
||||
}
|
||||
function done() {
|
||||
function add_segments(text) {
|
||||
var ls=lines(text)
|
||||
var ls=window.lines(text)
|
||||
var segs= punct.firstChild.checked
|
||||
? split_punct(text,punctchars.value)
|
||||
: paras.firstChild.checked
|
||||
|
||||
Reference in New Issue
Block a user