diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-15 12:47:20 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-15 19:03:41 +0200 |
commit | eeb9f8b6306524782e7dcc8ef90797dd5bdae1bf (patch) | |
tree | acfde64b0304d563769f73a7288cacb0568bb179 /src/ui/documentwidget.h | |
parent | eb8da869cf87692a5cbb38803644643cd2e192f6 (diff) |
Added a page translation service
This is quite experimental.
The page contents are sent to an instance of LibreTranslate (powered by Argos Translate), which may or may not successfully translate the contents without mangling the gemtext markup.
Diffstat (limited to 'src/ui/documentwidget.h')
-rw-r--r-- | src/ui/documentwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/documentwidget.h b/src/ui/documentwidget.h index f922e7ea..12603437 100644 --- a/src/ui/documentwidget.h +++ b/src/ui/documentwidget.h | |||
@@ -49,5 +49,6 @@ void setUrl_DocumentWidget (iDocumentWidget *, const iString *url); | |||
49 | void setUrlFromCache_DocumentWidget (iDocumentWidget *, const iString *url, iBool isFromCache); | 49 | void setUrlFromCache_DocumentWidget (iDocumentWidget *, const iString *url, iBool isFromCache); |
50 | void setInitialScroll_DocumentWidget (iDocumentWidget *, float normScrollY); /* set after content received */ | 50 | void setInitialScroll_DocumentWidget (iDocumentWidget *, float normScrollY); /* set after content received */ |
51 | void setRedirectCount_DocumentWidget (iDocumentWidget *, int count); | 51 | void setRedirectCount_DocumentWidget (iDocumentWidget *, int count); |
52 | void setSource_DocumentWidget (iDocumentWidget *, const iString *sourceText); | ||
52 | 53 | ||
53 | void updateSize_DocumentWidget (iDocumentWidget *); | 54 | void updateSize_DocumentWidget (iDocumentWidget *); |