Commit Graph

55 Commits

Author SHA1 Message Date
hallgren
46546a3e93 Add greek to Setup.hs and the web apps 2013-04-26 13:42:01 +00:00
hallgren
57e06e7a6a simple translation tool: minor documentation fix 2013-04-19 14:10:03 +00:00
hallgren
f4a7893e15 simple translator: improved translation with the GF robust parser
by separate punctuation from the string sent to the robust parser.
Also added buttons to view parse trees from the robust parser.
2013-04-18 13:11:46 +00:00
hallgren
4ec1db9065 GF cloud: work on syntax editor integration
+ The syntax editor is now accessible from the Simple Translaton Tool.
+ The minibar now automatically provides access to the syntax editor (provided
  the necessary JavaScript files and style sheets have been loaded).
+ Preparations for making the syntax editor accessible from the grammar editor.
2013-04-12 18:29:15 +00:00
hallgren
965adf74d6 Simple Translation Tool: eliminate &+ in translations from GF
Also fixed a bug introduced in previous refactoring.
2013-04-12 13:00:05 +00:00
hallgren
3cebd68a78 gfrobust.js: adding a JavaScript API to the GF Robust Parser translation service
Factored out from the Simple Translation Tool.
2013-04-12 12:47:13 +00:00
hallgren
0cb376f813 Simple Translator: add GF Robust Parser to the menu for individual segments 2013-04-05 20:32:20 +00:00
hallgren
f67699398e Simple Translator: use lextext/unlextext for translations with the robust parser 2013-04-05 15:15:40 +00:00
hallgren
e6286fd376 Simple Translator: initial support for translation with the GF robust parser 2013-04-05 13:25:09 +00:00
hallgren
d10c6bc85f Simple Translation Tool: initial support for editing source segments in the minibar 2013-04-03 20:24:57 +00:00
hallgren
3cf08928f3 translator: add some menu padding for touch devices 2013-02-11 16:46:43 +00:00
hallgren
70f5363f73 translator: small style change 2013-02-11 16:33:48 +00:00
hallgren
84ce2b49ae translator: remove debug code 2013-02-11 16:13:39 +00:00
hallgren
f4c9a88962 translator: "Open..." doesn't discard the current document anymore
It shows available documents and a Cancel button on top of the current
document.
2013-02-11 16:03:17 +00:00
hallgren
f402d1687d GF cloud: move support.js and pgf_online.js
Created the folder js and moved minibar/support.js and minibar/pgf_online.js
there, to emphasize their status as app independent support libraries.

There are probably more files that should be moved here.

The cloud apps have been updated, externally hosted apps that link directly
to our server need to be updated too.
2012-11-20 12:56:48 +00:00
hallgren
c70c01745b Add Chinese to the list of installed RGL languages and support it in the web apps
Aarne says the Chinese resource grammar is complete, but not yet completely
correct.
2012-10-22 10:16:10 +00:00
hallgren
3d47d7b6f9 simple translator: make it usable on iOS devices
To make the popup menus accessible, use a simple trick to activate the
simulate-hovering-by-tapping behaviour.
2012-10-04 22:29:42 +00:00
hallgren
99b0e42e12 simple translator: bug fix
"Edit/Add a segment..." stopped working at some point.
(Importing text still worked.)
2012-10-04 18:02:31 +00:00
hallgren
5e1da255a3 gfse: various code improvements and prelimiary support for public grammars 2012-10-04 15:21:30 +00:00
hallgren
29e2e8c9a4 simple translator: make it possible to delete documents 2012-09-21 09:07:31 +00:00
hallgren
efedb1f7ba simple translator: bug fix
A bug in the line break change prevented text import from working.
2012-09-20 07:49:13 +00:00
hallgren
1a4f828870 simple translator: accept DOS, Mac and Unix line breaks when importing text 2012-09-17 15:58:40 +00:00
hallgren
f55d644e90 simple translator: export GlobalSight Download Files
TODO: consider using a better way to save to a local file
2012-09-11 14:30:09 +00:00
hallgren
9748da631f simple translator: more work on GlobalSight support
Disable editing source segments in GlobalSight documents
2012-09-11 13:23:05 +00:00
hallgren
e5fd93b213 simple translator: more work on GlobalSight support
+ Retain metadata from GlobalSight Download Files.
+ Disable adding&removing segments when editing a GlobalSight documents.
2012-09-10 21:16:58 +00:00
hallgren
bccc2a3ad0 simple translator: support for importing GlobalSight Download Files
TODO: support for export translations in the same format.
2012-09-09 21:17:31 +00:00
hallgren
25144980ba simple translator: make it work even if Apertium is unavailable
Since Apertium is unavaiable at the moment, I can't check that things
still work properly when Aprtium *is* availalbe.
2012-08-30 13:09:22 +00:00
hallgren
636d0649f8 translator: keep cloud docs and local docs apart
+ show a cloud icon next to the document name if it is stored in the cloud
+ in addition to the name of the current document, remember if it is stored in
  the cloud, so that the right document is loaded next time you open the
  translator.
2012-08-02 12:54:15 +00:00
hallgren
8da1bbd17d translator: code cleanup and bug fixes 2012-07-27 15:06:02 +00:00
hallgren
7e68ae7248 translator: remove debug logging 2012-07-25 14:31:39 +00:00
hallgren
63fd9d44e7 translator: per segment translation method selection 2012-07-25 14:27:27 +00:00
hallgren
bd7a332b21 translator: parallel text view layout adjustments
And some other small code changes.
2012-06-21 23:06:07 +00:00
hallgren
0a5d3006dd translator: bug fix for copy/paste import 2012-06-21 23:03:12 +00:00
hallgren
9d32b629a9 translator: insert and delete segments
You can now insert new segments anywhere, now just at the end.
You can now delete any segment, not just the last one.
2012-06-21 14:14:36 +00:00
hallgren
983c72ba66 translator: style adjustments 2012-06-19 14:45:50 +00:00
hallgren
5a96795039 translator: expanatory text for local file import 2012-06-19 14:09:24 +00:00
hallgren
2a55b77d4b 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.)
2012-06-19 13:59:19 +00:00
hallgren
d726999bc7 transaltor: reduce code duplication 2012-06-18 13:08:15 +00:00
hallgren
d0281ef22f translator: added support for the Apertium translation service
Also added feedback to source & target language menus to indicate which
languages are supported by the selected translation method. For Apertium, the
source language menu shows all possible source languages, and the target menu
shows the possible target languages for the chosen source language.
2012-06-13 21:34:59 +00:00
hallgren
70b338de20 translator: documents can now be saved in the cloud
some other small fixes
2012-06-12 15:36:41 +00:00
hallgren
0089dcdb78 gfse & translator: change language code for Japanese to Jpn 2012-06-12 13:07:54 +00:00
hallgren
8b465dcaff GF home page: link to GF clouds service (cloud.grammaticalframework.org)
Also some small cloud service documentation updates.
2012-06-11 15:34:16 +00:00
hallgren
da80a1d3dd translator: source segments can now be edited 2012-06-11 14:10:26 +00:00
hallgren
6a1e6eed29 translator.css: restore lost width of input field 2012-06-08 11:16:21 +00:00
hallgren
07e6ff8963 translator: segment imported text based on punctuation 2012-05-29 14:47:59 +00:00
hallgren
5108292f80 translator: better support for ambiguous translations
The translator picks "the first" translation by default, but the user can
choose among the generated translations from a popup menu.
2012-05-28 16:42:02 +00:00
hallgren
3eeb3d2377 translator: adding "Parallel texts" view
This is in addition to the existing "Segment by Segment" view.
Also some minor documentation updates.
2012-05-27 19:19:54 +00:00
hallgren
33165aa8e3 translator: you can now import text by copying and pasting 2012-05-25 16:48:03 +00:00
hallgren
842b321ce9 translator: use a more robust test for localStorage support and show a warning if it is missing 2012-05-23 14:39:05 +00:00
hallgren
eb380dfb80 translator: fix typo 2012-05-16 14:56:32 +00:00