* 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>
* Fixed problem with with the translation of "mentions" in plural form
- Localizable.stringsdict needs a digit (not string) to make a choice of a correct plural form.
- fixed StatusEditorAutoCompleteView
- changed %@ format specifier in Localizable.strings with %lld
* Polish localization update
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Change arrows icon to rocket for boosts
* Fixing case (part 1)
* Fixing Case (part 2)
* Clean up after merge
* Fix for disabled boost
* Fixes
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* collapse long posts
* initialize user pref setting in init(), remove onAppear and onChange(pref) from view
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Enhance the message context menu
A direct message can now directly be bookmarked, the author can be publicly
mentioned and reported.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Add options to the conversation list context menu
Since the latest message is shown in the conversation list, the user can now
interact with this message via the context menu similar to the messages in the
conversation history.
The "conversation" class had to be modified since
bookmarking and liking a message would have led to a race condition (depending
on the server) when fetching the conversations afterwards, so the only affected
the message is now immediately updated.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Remove child view models
The child views models are removed, and the list row now only uses the conversation
object managed by the list view model.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Make unmodified var let
The last state-var of a conversation isn't modified, instead, a new conversation
is created. Therefore, the var is now a let.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
---------
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Clear up the translate-button
The Translate button on the post and in the context menu now does not show the
source language to avoid user confusion if the language set by the poster is
not the actual language of the post. This language is now only used to decide
whether to display the button in the main view. The Translate button in the
context menu is independent.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Show the translation-source-language
The source-language of a translation is now shown.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Remove unused strings
The now unused translate-from-strings are removed.
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>
* Redesigned Swipe Action Settings screen
* Add TODO comments
* Redesigned Swipe Action Settings screen
* Redesigned Swipe Action Settings screen
* Add EN localization strings for primary/secondary
* Consolidate left/right swipe actions into one section
* Switch to targeted Swift concurrency warnings + fix them
* Polish localization update (#936)
* Updates to Dutch localization: (#935)
* de: translated the notes feature (#933)
* Fix 1 line note in centre (#938)
* Sort lists alphabetically in ListAddAccountView (#943)
* Optimize viewId (#942)
* Update Localizable.strings (#941)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
* Update Nuke (#940)
* Remove Sendable conformance on Client as it's not needed
* Profile: Show about fields inline
* Added a tip that it's a video, and not an image when autoplay is off (#939)
* Added a tip that it's a video, and not an image when autoplay is off
* Centered - bigger version of the video tip
* Share post as image close#885
* Honour in app browser settings when opening profile about fields
* Fix threading UI
* More tweak to capture mode
* Update Localizable.strings (#948)
* Update Localizable.strings (#946)
Translated..
* Updated EmojiText to 2.x (#944)
Interface used by IceCubeApp has not changed from 1.x to 2.x
Looking at the library diff shows new features like SFSymbol powered emojis. Not like we're going to make use of that
https://github.com/divadretlaw/EmojiText/compare/v1.2.0...2.0.2
* Bump to 1.5.5
* Polish localization update (#949)
* Optimize avatar view (#950)
* Reduce AvatarPlaceholderView body calls
* Resize avatars
* Reworked post header view + add option to hide server name from username
* Better header spacing
* Further improvement to the post header
* Polish localization update (#954)
* Update Localizable.strings (#953)
* Show post header thread icon more consistently
* Fix post header
* Fix threading UI
* Fix trending refresh
* de: 1 new string -> translated (#955)
* Update Simplified Chinese Translation (#926)
* Update Korean localization (#957)
* Trim whitespace and newlines in instance rules list (#956)
* Fix theme not being applied live on status row close#961
* Update some translations (#959)
* Add indicator for bots accounts
* Bump to 1.5.6
* Fix status actions on boosting posts (#974)
* Fix context menus for boosts
* Allow my boost of my followers-only post
* Disable boost context menu on posts can't be boosted and show different string for boosting my own private post
* Localizations
* CR
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Fix crash when opening account details (#972) close#918
* Tweak the theme selector view (#975)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
* Change the Content Settings icon to match the timeline icon again. (#969)
* Fix display of multiple vote polls (#967)
Closes#952
* Updates to Dutch localization (#966)
* Font picker consistency (#960)
* Put SF Rounded into the popup menu with Hyperlegible & Dislexia
* Remove SF Rounded Toggle
* Fix In-App Safari (#945)
* Fix In-App Safari
* Open SFSafariViewController in a separate window
* Swiftformat
* Optimize custom font
* Fix a localization + make the ... menu zone bigger
* Update Localizable.strings (#976)
* Fix Equatable impl for Status and Account (thanks class)
* Make secondary column available on any size + add a toggle + faster macOS window resize
* Bigger secondary column width
* Composer: Fix swipe to dismiss
* Composer: Better ALT editing UI
* updates for Basque (#983)
added missing translations and small fixes
* Updated spanish localization (#982)
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
* Polish localization update (#980)
* Update Localizable.strings (#979)
More strings
* Singularize enum type names (#978)
* Fixes for composer and DM
* Remove padding
* Rename settings.swipeactions.status.icon-style
* Remove unused left/right localizable strings
* Add settings.swipeactions.appearance
* Add settings.swipeactions.status.explanation
* Add settings.swipeactions.primary and settings.swipeactions.secondary
* Add settings.swipeactions.use-theme-colors and settings.swipeactions.use-theme-colors-explanation
* Dutch localization update
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
Co-authored-by: Andrzej Rózga <53080024+AndrzejRozga@users.noreply.github.com>
Co-authored-by: Cthulhux <github@tuxproject.de>
Co-authored-by: Sean Goldin <EvilOne@users.noreply.github.com>
Co-authored-by: David Davies-Payne <d2p@me.com>
Co-authored-by: Alex Grebenyuk <grebenyuk.alexander@gmail.com>
Co-authored-by: Yusuke Arakawa <108506642+nekolaboratory@users.noreply.github.com>
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Thomas Durand <Dean151@users.noreply.github.com>
Co-authored-by: Dejavu Moe <jialong.vip@gmail.com>
Co-authored-by: Chanhwi Joo <56245920+te6-in@users.noreply.github.com>
Co-authored-by: Henrik Nyh <henrik@nyh.se>
Co-authored-by: nixzhu <zhuhongxu@gmail.com>
Co-authored-by: Gareth Simpson <g@xurble.org>
Co-authored-by: Peter-Josef Meisch <pj.meisch@sothawo.com>
Co-authored-by: David Walter <divadretlaw@users.noreply.github.com>
Co-authored-by: Xabi <xabi.rn@gmail.com>
Co-authored-by: Roberto Pastor <wedge.hero@gmail.com>
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
Co-authored-by: Louis Lac <lac.louis5@gmail.com>
* Fix context menus for boosts
* Allow my boost of my followers-only post
* Disable boost context menu on posts can't be boosted and show different string for boosting my own private post
* Localizations
* CR
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Update Localizable.strings
Added missing translations
* Added french localization for settings.app.about
* Added french translations
Added timeline.latest and timeline.add.url french translations
* Update French Localization
Added translation for settings.display.show-ipad-column
* Update to french translation
* Updated french localization
- Translation for report post actions
- Translation for icon settings
- Changed "icoon" to more idiomatic "symbool", in accordance with the official Apple localization
* Remove icons from settings
* Add new toggle for using the theme tint
* Localizations
* Add icon style picker
* Localizations
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
- added missing string for "Official icons"
- added missing string for "Icons by ..."
- added String extension in IconSelectorView.swift
(maybe you prefer it in separate file)
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* 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>
* Update Localizable.strings
Added missing translations
* Added french localization for settings.app.about
* Added french translations
Added timeline.latest and timeline.add.url french translations
* Update French Localization
Added translation for settings.display.show-ipad-column
* Update to french translation
* Add CurrentAccount.sortedLists and .sortedTags
Sorts alphabetically, ascending, lowercased on title and name respectively.
* TimelineTab uses CurrentAccount.sortedLists and .sortedTags
* Account detail sorts tags and lists
Alphabetically, ascending, lowercased via CurrentAccount.sortedTags, .sortedLists
* Add translate button to the preview post in settings
* Accidental outdent.
* Add share button to placeholder status and also preview status in settings.
* Add a preview toot tot the top of the display settings page.
* DisplayModel doesn't need to be @State
* Disable hitTest
* Example Post
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>