summaryrefslogtreecommitdiff
path: root/src/ui/translation.c
AgeCommit message (Collapse)Author
2021-10-01Fixed widget hiding in translation dialogJaakko Keränen
"From"/"To" fields were not being hidden when translation request was submitted.
2021-09-12Mobile: Draw optimizations; focus handlingJaakko Keränen
Widgets can now be marked for buffering their contents, which is useful if their contents change seldom but they are drawn often. For example, the navbar is always visible but doesn't change very often, and during animations menu contents are static but there is a moving animation so everything gets drawn 60 FPS. Focus handling was also improved so the lookup results can be scrolled while entering text, and one can tap outside an input field to unfocus it.
2021-09-10Mobile: Revised more dialogsJaakko Keränen
2021-07-06Text run measurement API change; bug fixesJaakko Keränen
The distinction between measure_Text and advance_Text was not very clear. Now there are only measure_Text functions that return both the bounds and the cursor position advancement, and the appropriate metrics are used by the caller.
2021-05-25Use "Close" instead of "Dismiss"Jaakko Keränen
IssueID #285
2021-05-20Dialog show/hide animationsJaakko Keränen
Use the animations introduced for mobile on desktop as well. Adding a preference for this might be prudent.
2021-03-30Widget: Arrangement debugging; min sizeJaakko Keränen
There is a problem with repeated arrangements: the previous set sizes affect subsequent outcomes. This results in Preferences not being able to reduce in size, only to expand. It should be possible to reset sizes back to zero/minimum size before starting an arrangement, but LabelWidget needs to cooperate by using `minSize` to set its default size. `minSize` is preferable to fixedSize because then the widget can go through the usual arranging logic. To be continued at a later time...
2021-03-23Lang: Applied string IDs everywhereJaakko Keränen
More or less everywhere? IssueID #192
2021-03-23Lang: Applied more string IDsJaakko Keränen
IssueID #192
2021-03-18Translation: Enable handling of completed requestJaakko Keränen
2021-03-18Translation: More colorful progress animationJaakko Keränen
2021-03-18Translation: Fixed use of uninitialized variableJaakko Keränen
2021-03-16Translation: Remember last used languagesJaakko Keränen
2021-03-16Translation: More reliable markup preservationJaakko Keränen
2021-03-15Translation: Handling cancellation/errorsJaakko Keränen
2021-03-15CleanupJaakko Keränen
2021-03-15Added a page translation serviceJaakko Keränen
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.