forked from GitHub/gf-core
Simple Translation Tool: bug fix
"File/Open In Wide Coverage Translation Demo" stopped working when support for using different grammars in the Wide Coverage Translation Demo was added On September 2.
This commit is contained in:
@@ -738,7 +738,7 @@ Translator.prototype.open_in_wc=function(el) {
|
||||
hide_menu(el)
|
||||
var doc=t.document
|
||||
var sourcetext=doc.segments.map(function(s){return s.source}).join(" ")
|
||||
var wc=appLocalStorage("gf.wc.")
|
||||
var wc=appLocalStorage("gf.wc."+gftranslate.grammar+".")
|
||||
wc.put("from",doc.options.from)
|
||||
wc.put("to",doc.options.to)
|
||||
wc.put("input",sourcetext)
|
||||
|
||||
Reference in New Issue
Block a user