LibreOffice plugin to pipe whole Writer documents through Google Translate, that ought to keep most of the page formatting.

⌈⌋ branch:  PageTranslate


Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

157 check-ins using file off/mymem-langs.txt version 7f85eb0dc1

2023-02-01
09:09
sample keyboard bindings (disabled in manifest.xml however) Leaf check-in: a0244ed81d user: mario tags: trunk
2022-11-15
17:47
prepare for language list updates (seems shorter than default list however) check-in: b469e6efc0 user: mario tags: trunk
2022-10-31
09:08
release as 2.1 check-in: e93c2ef456 user: mario tags: trunk, 2.1
2022-10-25
09:36
combined _assign_t() for conf+data merging (avoid text input in log messages) check-in: c4e7e1d8e1 user: mario tags: trunk
09:35
introduce .xml() translation mode (just DeepL really, and only used in tk_translate file mode) check-in: 39daeee3a0 user: mario tags: trunk
2022-10-24
20:39
move linebreak/quick into options, condense pluginconf.gui.window() invocation check-in: 314a6459fe user: mario tags: trunk
07:58
add settings dialog after all, move xml translation to BackendUtils check-in: 93f12505a9 user: mario tags: trunk
2022-10-23
22:09
incorporate content.xml translation into tk_translate (→ [File] button) check-in: 592fcfe0ac user: mario tags: trunk
05:51
rough privacy judgement check-in: ad382edca0 user: mario tags: trunk
05:51
faux: move params= to .get check-in: 72453b0947 user: mario tags: trunk
2022-10-22
22:17
compact via fixture check-in: 00e5bb6299 user: mario tags: trunk
2022-10-21
20:42
omit # check-in: cc353ff2fc user: mario tags: trunk
20:42
freeze requests check-in: 538f6d5a54 user: mario tags: trunk
20:41
fix spliterate empty/premature segmenting check-in: cad291ded0 user: mario tags: trunk
08:16
fix spliterate() to avert premature tail, empty segment check-in: b62eff5b3c user: mario tags: trunk
06:20
basic system tests check-in: 66f8ffe0f8 user: mario tags: trunk
04:49
test and fix systran and deepl, jettison deepl pro/api split (now decided on key suffix) check-in: cfa194ff57 user: mario tags: trunk
04:47
shorten ctx usage, but inject to pt_dialogs check-in: ab7fa5386f user: mario tags: trunk
2022-10-20
18:26
documentation tool for backends check-in: d760ca8309 user: mario tags: trunk
16:38
strip unicode decorates again (too much hassle with decode/encode for Py2) check-in: 35c39be4d0 user: mario tags: trunk
05:23
fix encoding for settings, with_properties() for Locale() check-in: 5a03fdff75 user: mario tags: trunk
05:07
jettison older translate-python check-in: 15819686d1 user: mario tags: trunk
05:06
split into FaxuRequests and Response check-in: 5cd2d3c2ce user: mario tags: trunk
03:36
Py2 compat (super), compact documentation check-in: 465155bab4 user: mario tags: trunk
03:35
broader FauxRequests support check-in: 98552ff326 user: mario tags: trunk
2022-10-19
20:32
Probable fix for DeepL and SysTran, more language support documentation check-in: 90a2e7bc19 user: mario tags: trunk
19:27
update deepl docs (auto per default) check-in: c864714d00 user: mario tags: trunk
16:26
more consistent backend documentation check-in: 8c6a95f4c8 user: mario tags: trunk
14:46
systran was using wrong input param check-in: ac254302d4 user: mario tags: trunk
12:43
DDG was merged into tb check-in: 2606a632a2 user: mario tags: trunk
07:40
rename lang to source_lang(), restructure from_words into individual wrappers (now in base class) check-in: 140c2f5e4b user: mario tags: trunk
2022-10-18
20:07
move assign matching to classes check-in: bcdbcb47d4 user: mario tags: trunk
17:54
country lookup for CharLocale change check-in: 1b30503e74 user: mario tags: trunk
12:59
simplify alternative language lookup modes (shared self.config instance for alternative registry access), pythonic names check-in: f6c201dc83 user: mario tags: trunk
11:44
enable comment retainment for textrange translation check-in: 2dd8536ef9 user: mario tags: trunk
11:44
DT: catch errors for word-wise dictionary lookups check-in: e09fb642b1 user: mario tags: trunk
2022-10-17
18:57
move @from_word wrapping, more readable check-in: 167cc1b098 user: mario tags: trunk
16:13
Use __engines__ from D-T instead of local map check-in: 60c409e825 user: mario tags: trunk
13:49
Add LibreTranslate alternatives, and localhost instance support. check-in: cd0c453401 user: mario tags: trunk
13:05
introduce documentative flags (requires_key, raises_error); pylint fixes, rewrite deeptranslator association/assignment check-in: c5ebdaecee user: mario tags: trunk
13:04
introduce documentative flags (requires_key, raises_error); pylint fixes, rewrite deeptranslator association/assignment check-in: 8b8e80f8fd user: mario tags: trunk
12:25
Support compound flag option check-in: 85476d9757 user: mario tags: trunk
11:31
add DeepTransApi check-in: a2a30c15e0 user: mario tags: trunk
11:29
introduce DuckDuckGo, DeepTransApi, and GoogleApi check-in: e7c9e98cde user: mario tags: trunk
10:21
release as 2.0 check-in: 29a71aec58 user: mario tags: trunk, 2.0
10:20
add [log] button check-in: e05bba23bb user: mario tags: trunk
10:19
disable docstrings (might been cause for std::bad_alloc in AOO install) check-in: b8d74458ab user: mario tags: trunk
10:18
update LT and DDG help, removed mri-debug check-in: 7626ca524f user: mario tags: trunk
2022-10-16
22:33
notes on new backends check-in: 4e0972f317 user: mario tags: trunk
22:33
blue background and icon, prep DDG check-in: 6c1598e49d user: mario tags: trunk
22:32
readability and more consistent logging levels check-in: 848428abae user: mario tags: trunk
18:00
ToDo: backend=…&lang=… from flag option check-in: 984e47c865 user: mario tags: trunk
17:59
pypi build support check-in: 964093c716 user: mario tags: trunk
17:59
Relax backend matching, add keys🔑, fix Content-Type: for DeeplWeb check-in: f2ba155b10 user: mario tags: trunk
17:32
prepare new backends for 2.1 check-in: 47f94a6f28 user: mario tags: trunk
2022-10-15
23:03
fix: userId is now in cookies check-in: 5d5b0fc811 user: mario tags: trunk
23:03
update pypi formatting check-in: 4e6e28579c user: mario tags: trunk
21:58
add default languages, sys.argv[1] as default check-in: d0824ae06a user: mario tags: trunk
21:57
DeepL Web was a trivial fix. check-in: d2bb771af3 user: mario tags: trunk
20:40
add little standalone tool check-in: 098c56d9cf user: mario tags: trunk
19:58
fix invalid log calls check-in: 4a972afa0a user: mario tags: trunk
17:51
tested on latest LO 7.4 and AOO 4.1 check-in: 405421bfdf user: mario tags: trunk
17:50
add getOoVersion for http header check-in: cd6515f7ad user: mario tags: trunk
17:08
remove mri-debug, improve logging format, more #comments for tracebacks check-in: 7597b07301 user: mario tags: trunk
17:07
Prepare **params for different frontend, add __str__ for log decoration. check-in: e3207de9d6 user: mario tags: trunk
04:20
update http version to 2.0, freeze requests at 2.25 for Py2/AOO, update six, apply .skip() for draw documents check-in: cc30af6872 user: mario tags: trunk
04:18
split BackendUtils from GoogleWeb, document API check-in: 204f7ec8ff user: mario tags: trunk
2022-10-14
23:43
Python2 compatibility (no super().__init__ with unohelper.Base), more lazy logging check-in: f694114c03 user: mario tags: trunk
21:37
implement local LibreTranslate check-in: 7afe9de861 user: mario tags: trunk
15:07
more pylint pleasing, update deep-translator bindings, add LibreTranslate (might have a builtin version) check-in: e816f87f6f user: mario tags: trunk
12:56
pylint whitespace etc. check-in: 1956886c24 user: mario tags: trunk
12:56
pylint fixes (whitespace), class-wise loggers, regex r"" strings check-in: eab7fe59b3 user: mario tags: trunk
12:55
more pylint, separate loggers, merge argparse into update_params(), bring back MessageBox, more %placeholder logging check-in: 0ca9b63a6b user: mario tags: trunk
2022-10-13
23:00
AOO/Python2 compatibility (unicode string and lambda: args), more pylint concessions check-in: 2cc29c419d user: mario tags: trunk
19:52
crude pylint fixes check-in: 93efedae5d user: mario tags: trunk
15:50
uniform log prefixes, enable functioning .insertTextContent() as fallback for comment.attach() check-in: 4e70849c1e user: mario tags: trunk
13:49
switch back to comment.attach() check-in: b8d169eb34 user: mario tags: trunk
13:34
move with_properties() to unocompat, simplify Annotation creation check-in: 5d2ae04725 user: mario tags: trunk
11:14
get eventListener buttons in options page working check-in: 5bf569cb63 user: mario tags: trunk
08:59
note new option and potential exception check-in: 148f8a2956 user: mario tags: trunk
08:35
doc --setup flag check-in: ca7d968d49 user: mario tags: trunk
08:34
Introduced --setup option check-in: d995967f72 user: mario tags: trunk
08:33
notes from 1.9.77 check-in: 3eff8fb9cb user: mario tags: trunk
08:33
Enable annotations for table cells. check-in: 6b0be26269 user: mario tags: trunk
08:27
add annotate option check-in: c05353ea1c user: mario tags: trunk
08:19
introduce comment-preservation of original text check-in: 6a653f14b2 user: mario tags: trunk
2022-08-08
21:17
break long titles, man page updates check-in: 887d7dac36 user: mario tags: trunk
2022-08-07
08:53
Add --help flag, restructure a bit check-in: e6b2149002 user: mario tags: trunk
05:28
fix --synonym.com, add --moby and --hippo check-in: 8d3456a4b7 user: mario tags: trunk
2022-01-01
22:24
readd proper icon url check-in: 287c5372dc user: mario tags: trunk
2021-12-30
02:18
Update documentation on new option. check-in: e2c879925e user: mario tags: trunk
02:10
Added pt-BR (Brazilian-Portuguese) menu entry check-in: a1aea47667 user: mario tags: trunk
02:07
Add `selectonly` mode as per user request. check-in: a80c65db71 user: mario tags: trunk
2021-09-16
14:59
Hurried fixes for --merriamwebster and --synonyms.com check-in: b0666af4c8 user: mario tags: trunk
2021-06-10
14:53
Change exception names, and use `LangSelection` for dialog (makes error more understandable). check-in: c62b11cb0e user: mario tags: trunk
14:52
Notes about ArgosTranslate, CLI alternative check-in: b1b7271886 user: mario tags: trunk
14:50
Move MessageBox() to unocompat (not actually used anymore, doesn't work in LO-dev-7.2 anyway), sys.excepthook doesn't suffice for dialog hookup. Add config btn_map{} for external tools from settings dialog. check-in: 3f945d5495 user: mario tags: trunk
2021-06-06
20:49
Simplify Argos backend, conclude that it only works with distro-LibreOffice check-in: c4b8a7b58b user: mario tags: trunk
15:28
Add ArgosTranslate (offline/python-based backend), albeit it probably can't be used within LO`s python runtime (blocking numpy.so loading) check-in: 5ea14334ba user: mario tags: trunk
2021-06-03
09:35
Add Systran backend (untested). check-in: f6fc8d0070 user: mario tags: trunk
2021-06-02
18:08
Release as 1.9 check-in: 46ae0fdcbc user: mario tags: trunk, 1.9
17:30
Remove sys.modules check, just import always check-in: 42900dac95 user: mario tags: trunk
17:27
Generalize langdetect into base class as `self.lang(text)` check-in: e233f76db8 user: mario tags: trunk
16:45
Disable ToggleDropdown, update dependencies check-in: c82a3fa68a user: mario tags: trunk
16:45
Adapt tooltips check-in: cd67c85797 user: mario tags: trunk
16:44
New error note check-in: 6cf288401b user: mario tags: trunk
16:44
Fix GogoleAjax to rejoin split up ssentences (from nested list). check-in: 7b8ef174e0 user: mario tags: trunk
2021-05-31
23:22
document config: options where used check-in: 83b827c27b user: mario tags: trunk
14:48
Add alternative "GoogleApis Ajax Translate" endpoint. check-in: e257d8dd7d user: mario tags: trunk
10:39
Add papago translator from D-T check-in: aeeab5bf1f user: mario tags: trunk
10:38
replace debug menu entry with "mri-debug" 🏴 action (to inspect whole document) check-in: 24fa22684d user: mario tags: trunk
10:37
Turn `cmd` into ComboBox, slightly move input positions (x/y=5/5 like other dialogs), and add flag icon bottom right. check-in: 0d6f99d9eb user: mario tags: trunk
2021-05-20
08:31
Can't believe this actually works: `OptionsPageURL:string=%origin%/*.xdl` is the magic incantation. @doc: https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=66473&p=295561&hilit=OptionsPageURL#p295561 check-in: 9f1b68fead user: mario tags: trunk
04:54
ToggleDropdownButton in toolbar; unclear how to craft popup/submenu Leaf check-in: 3f1b1c963c user: mario tags: dropdown
04:53
HTML entity for black flag, also doesn't display in OOhelp. check-in: ec9e4b3f08 user: mario tags: trunk
2021-05-17
16:04
Fix `True` typo check-in: fb9192bec6 user: mario tags: trunk
2021-05-16
17:38
Remove dispatch_dialog/create_dialog again in favour of plain .uno:OptionsTreeDialog menu link check-in: 0af806d815 user: mario tags: trunk
15:36
document 1.8 changes check-in: 642f764b0f user: mario tags: trunk
15:36
minor doc updates check-in: 5fcc712e48 user: mario tags: trunk
15:35
dispatch_dialog() is not working, and create_dialog() too much overhead for a working AWT window; abort. check-in: 4c9cb82bf1 user: mario tags: trunk
15:34
Split out .skip() test, and wrap regexen in rx. classs check-in: 7512074bcc user: mario tags: trunk
2021-05-15
16:27
Update notes on PONS and button config. check-in: 2bb2861a0a user: mario tags: trunk
16:26
Introduce 🏴 button configuration to change default language/behaviour. check-in: 57703cade1 user: mario tags: trunk
16:21
Transform OptionsPageURL= into code; switching to our dialog still non-functional. check-in: 93f1a54882 user: mario tags: trunk
05:42
Add PONS Text Translation backend. check-in: 4620700b36 user: mario tags: trunk
05:37
Minor documentation updates, yield errors for DeepL failures. check-in: ead6fe2706 user: mario tags: trunk, 1.8
2021-05-14
03:19
Simplified params["backend"] string instead of individual flags, shorten mapping and parameterization in deep_translator backend, abbreviate D-T and T-P in new config dialog, add DT duplicates, minor manual updates. check-in: c28be6ec87 user: mario tags: trunk
2021-05-13
15:41
Expand D-T backend hooks, abbreviate any ln-CT language specifier, document new backends. check-in: 293badd94c user: mario tags: trunk
05:28
support all 4 new Deep-Translate backends, still needs some rework to omit "auto" source language check-in: 7ad6ace92e user: mario tags: trunk
03:57
Split out/optionalize version tool, note on Shift+F1 debugging check-in: 390c402fd5 user: mario tags: trunk
03:56
Note on deep-translate cli usage. check-in: 1385072d3c user: mario tags: trunk
03:56
Add settings link in Tools→PageTranslate menu (albeit to general OO settings dialog, not PT leaf). check-in: 8d54c76a7b user: mario tags: trunk
03:55
Rework config dialog to use dropdown/listbox for selecting service. Change config schema, and uno control handling. check-in: 0790399062 user: mario tags: trunk
2021-05-12
20:31
Prepare DeepL free API (albeit probably broken), and deep-translate pacakge, also allow more shell-like placeholders for CLI usage and fix for Python 2.7 support. check-in: d8bb91403f user: mario tags: trunk, 1.7
20:30
Add bugreport link to exception dialog check-in: 069fe7a49b user: mario tags: trunk
05:02
mark as 1.6.90 check-in: f115d0bf81 user: mario tags: trunk
04:58
Disable ctx→desktop lookup (not needed anyway) check-in: 861791da97 user: mario tags: trunk
04:58
Fix html.unescape (overwritten with local var). Also might not be present across all Python versions, so add fallback. check-in: 4622c0cf56 user: mario tags: trunk
2021-03-04
15:08
dingonyms 0.5: minor fixes to params handlind, and method names check-in: da276907c6 user: mario tags: trunk
2021-03-03
21:30
Add --dictcc mode, rewritten parameter handling check-in: 0a323cc8e7 user: mario tags: trunk
2021-03-02
13:35
dingonyms: use f-strings, move title prints, standard markdown table for man page check-in: 7dcb8494b4 user: mario tags: trunk
2021-02-28
14:06
dingonyms: add --async and synonme_de backend check-in: 6dd5cbb278 user: mario tags: trunk
2021-02-27
17:47
dingonyms: add --reverso and language params, and --nh, --no-antonyms options. check-in: a48bf46e7e user: mario tags: trunk
13:41
added related/subproject: dingonyms check-in: 5894146f61 user: mario tags: trunk
2021-02-10
16:36
overwrite self.params["from"] on each init (becasue it's a class property) check-in: 5c19793b64 user: mario tags: trunk
16:35
Fix from="auto"/"select" from sticking around check-in: 891ce56de3 user: mario tags: trunk
2021-02-09
16:27
Use world map for new menu entry "From ➜ To 🗺<" check-in: 9b23b4db86 user: mario tags: trunk
16:26
More error notes and changed MyMemory behaviour. check-in: 76510a454a user: mario tags: trunk
2021-02-08
16:00
Prettier error/esxception dialog, and From→To language selection mode now available per menu entry. (Only used by MyMemory for now.) check-in: ab2252ef7a user: mario tags: trunk
05:57
Minor reshuffling in config dialog (and get rid of parenthesis) check-in: 1bb59b3af8 user: mario tags: trunk
05:48
Add langdetect as dependency/bundle (used by mymemory) check-in: 3f3f41295e user: mario tags: trunk
05:47
new dialogs for excpetion display and manual language selection check-in: 8224584b9f user: mario tags: trunk
05:46
Add errors, update help tree check-in: fb718f90a0 user: mario tags: trunk
05:46
Prepare for additional dialogs (generated from unodit) check-in: fb46a4da36 user: mario tags: trunk
05:45
Add mymemory backend without dependency on python-translate. check-in: 979729eaed user: mario tags: trunk
2021-02-04
18:01
Add a few more languages. check-in: 805811f8ff user: mario tags: trunk
2021-02-03
20:25
Add more languages ('le continental submenus) check-in: bc8c7befa0 user: mario tags: trunk