* Allow forced translation with DeepL
Translation with DeepL can now be forced either per post or on the system level.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Require the use of a private API key
A private API key of the user is now required to allow "always translate via
DeepL".
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Persist a stored API key
An API key is stored even if useOnlyDeepL is disabled. If the API key is empty,
the setting is still disabled.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Localize the texts
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Save API key while writing
The API key is now saved, even if the app is closed before leaving the
translation settings view.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Fix build
* Fix theme
* Transition to KeychainSwift, clean up
KeychainHelper is replaced with the already-used KeychainSwift package, the
functions are cleaned up so that the process is easier to understand. The
deactivateToggleIfNoKey function doesn't change the behavior of the buttons or
context menus in the timeline, only demonstrates the necessity of an API key to
the user. Consequently, it's only called when the settings view is shown.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Swiftformat + fixes
---------
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* swipe actions improvements
* use old values as default settings
* Polish swipe actions settings
* Fix background color
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Add dyslexia and hyper-legible fonts
* AboutView to satisfy font licensing requirements, and generally credit libraries in use.
* Fix background
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Trying something with caching boosts
* Use an actual cache for caching
* Persist cache to documents folder
* Stray debugging variable
* Unpublish seen variable in the ViewModel
* Settings for deduplicating boosts.
* Changes from review / merge conflicts
* Added new language support - Brazilian Portuguese
* Translated string
* Fixed translation form was-reply
* Rebased from main and added missing strings to Brazilian Portuguese
* Fixed conversations.empty.message translation
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Early version of an action that would open a deeplink in the app
* Extend routeur support + catch deeplinks
* Cleaning extension code, using what local packages has to offer
* Removed useless stuff from the extension
* Added action icon ; Thanks Dall-E for the icon
* Added the action name within a localizable file
* Fix routeur
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Update French localization
* Updated french localization
* Update Localizable.strings
* Fix add french
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Local settings for sensitive content.
* Local sensitive content settings
* Added the posting settings as well as the reading ones.
* Menu item / nav title mismatch
* Fixes
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>