From 9bee6a90503b9fd28229726c691ab1475143d9db Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 19 Jun 2012 13:59:19 +0000 Subject: [PATCH] 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.) --- src/www/translator/about.html | 9 ++++--- src/www/translator/translator.js | 40 ++++++++++++++++++++++++-------- 2 files changed, 36 insertions(+), 13 deletions(-) diff --git a/src/www/translator/about.html b/src/www/translator/about.html index 7fb8ee0e9..f1bf573ca 100644 --- a/src/www/translator/about.html +++ b/src/www/translator/about.html @@ -44,8 +44,11 @@ closed and reopened later. Documents can be saved locally or in the cloud.

TODO