* Use language detection to translate posts
The source language of a post is now determined via Apples internal language
detection, translation from the transmitted language is still possible.
* Make language detection posting more accessible
Language recognition is now always applied before posting, even if the user has
explicitly selected a different language. However, the user is always asked in
which of the two languages he wants to post.
* Add localizations
* Remove language detection in the timeline for now
The language detection in the timeline is for now removed to increase
timeline-performance.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Show translate button even if no language is sent
The translate-button is shown even if no language is sent with the post.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Adjust to new commits on main
Adjustments are made in regards to new developments on main.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
---------
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Remove an unnecessary space from string
settings.swipeactions.status.trailing
* Make SwipeActionsSettingsView to be consistent with others
* Divide none as another section
* Add icons
* Make hollow icons work
* Show different button label by its status
* Use different colors by actions
* Fix swapped icons in settings
* Refactor
* swipe actions improvements
* use old values as default settings
* Polish swipe actions settings
* Fix background color
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Show confirmation dialog when deleting post
* Localization
* Fixes
---------
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
Probability threshold arbitrary set to 85%.
Seems to work enough for French, English and Spanish.
Also tested and with only a few words, probability is low unless there is a very language specific word