1
0
forked from GitHub/gf-core

translator: import text from local files

It works in Chrome, Firefox and Opera, but not Safari.
(The browser must support the File, FileList and FileReader APIs.)
This commit is contained in:
hallgren
2012-06-19 13:59:19 +00:00
parent 7a7beabe03
commit 2a55b77d4b
2 changed files with 36 additions and 13 deletions

View File

@@ -44,8 +44,11 @@ closed and reopened later. Documents can be saved locally or in the cloud.
<h2>TODO</h2>
<ul>
<li>Text can be imported/exported by copying and pasting, but other ways
could be added.
<li>Text can be imported by copying and pasting and from local files
in browsers that support it (Chrome, Firefox and Opera, but not Safari),
but other ways could be added.
<li>Text can be exported by copying and pasting, but other ways could
be added.
<li>GF's lexer/unlexer is used to allow for more natural looking text, but
the unlexer does the wrong thing if the first word of a sentence is supposed
to be capitalized, e.g. "I am ready." and "Spanish wine is good."
@@ -61,7 +64,7 @@ closed and reopened later. Documents can be saved locally or in the cloud.
<hr>
<div class=modtime><small>
<!-- hhmts start --> Last modified: Wed Jun 13 23:28:06 CEST 2012 <!-- hhmts end -->
<!-- hhmts start --> Last modified: Tue Jun 19 15:54:33 CEST 2012 <!-- hhmts end -->
</small></div>
<address>
<a href="http://www.cse.chalmers.se/~hallgren/">TH</a>