Commit graph

2301 commits

Author SHA1 Message Date
Thomas Ricouard
7b9cfc2863 Enable links in iPad / macOS sidebar 2024-07-02 20:22:09 +02:00
Thomas Ricouard
478a788f87 Redesign News + support links attributions 2024-07-02 19:59:21 +02:00
Pierre-Yves Lapersonne
2d04433783
fix: french localization (#2117) (#2118)
Some wordings were not translated in french, others needed to be improved a bit.
This fix brings evolutions written by myself and tested locally on a real device (french guy with french as mother language)

Signed-off-by: Pierre-Yves Lapersonne <dev@pylapersonne.info>
2024-07-02 15:22:38 +02:00
Thomas Ricouard
59a333cc20 Bump version to 1.10.44 2024-06-26 14:47:35 +02:00
Thomas Ricouard
9bc9961f34 Fix filtered notifications 2024-06-26 13:32:36 +02:00
Thomas Ricouard
0af3732ea9 Fix typo 2024-06-26 11:06:50 +02:00
Thomas Ricouard
5960014da9 Fix warnings 2024-06-26 11:05:35 +02:00
Thomas Ricouard
2ab52d3d3e Optimize some text 2024-06-26 09:43:27 +02:00
Thomas Ricouard
cd60e0ce1a Fixed action view height 2024-06-26 09:26:34 +02:00
Thomas Ricouard
ff1d5733a0 Tryout: Fixed size optimizations 2024-06-26 09:03:00 +02:00
Nam
9887a81ef0
Make toolbar account selector button avatar match shape option. (#2098) 2024-06-25 10:59:43 +02:00
Christopher Schindler
f2ba08e1cc
Add an option to delete the avatar or header (#2109)
* Endpoint: add Profile endpoint

* EditAccount: add an option to delete the avatar or header

* EditAccount: always display avatar view
2024-06-25 10:59:19 +02:00
Thomas Ricouard
2b8bc2ecd3 Pin EmojiText + NukeUI 2024-06-24 16:01:20 +02:00
Thomas Ricouard
513c686b64 Back to main Bodega 2024-06-24 09:01:45 +02:00
Christopher Schindler
aaeb9eaa36
Fix the upload of heavy avatar or header image (#2103)
* Compressor: allows custom parameters for compressing image (maxSize, maxHeight, maxWidth)

* Account: configures the maximum image size for uploading avatar and header
2024-06-24 08:58:06 +02:00
Christopher Schindler
02a8cb12e9
AccountDetailView: fix white spacing on top of the view (#2110) 2024-06-24 08:56:17 +02:00
Jerry Zhang
be54a58ae6
Update Simplified Chinese localization (#2111)
* Update Simplified Chinese localization

* Refine Simplified Chinese localization

Co-Authored-By: nixzhu <zhuhongxu@gmail.com>

* Fix: SC localization

Co-Authored-By: nixzhu <zhuhongxu@gmail.com>

* Fix: Missing SC translations

Co-Authored-By: nixzhu <zhuhongxu@gmail.com>

---------

Co-authored-by: nixzhu <zhuhongxu@gmail.com>
2024-06-24 08:55:54 +02:00
Thomas Ricouard
8e86e6d205 Back to main Introspect 2024-06-18 08:28:19 +02:00
Thomas Ricouard
283e537c44 Bump version to 1.10.43 2024-06-12 21:24:55 +02:00
Thomas Ricouard
551697eb2c Refix Introspect 2024-06-12 20:51:08 +02:00
Thomas Ricouard
ab99ef9a0a Fix 2024-06-12 20:41:19 +02:00
Thomas Ricouard
02d73de113 Fix iOS 18 build + performances 2024-06-12 20:37:43 +02:00
Thomas Ricouard
375ea665b4 Default logout experience to trending timeline + remove cache when logout 2024-06-12 20:02:01 +02:00
Thomas Ricouard
a88b9a7fd9 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2024-06-08 18:21:35 +02:00
Thomas Ricouard
520315d50f Update packages 2024-06-08 18:21:33 +02:00
Xabi
1bbbdc8194
Update EU localisation (#2095)
Still unsure whether TimelineFilter and AppAccount need to be translated.
2024-06-08 18:02:31 +02:00
Adem Özsayın
d36930b7af
Updated TR translations (#2088) 2024-06-01 13:55:26 +02:00
David Whetstone
c06e3b59e4
Add "Settings ..." menu and ⌘, hotkey (#2079) 2024-06-01 13:55:06 +02:00
Thomas Ricouard
8cca261e43 Bump version to 1.10.42 2024-06-01 13:54:44 +02:00
Thomas Ricouard
f40aeb9cac Add followers count widget 2024-05-17 14:22:00 +02:00
Thomas Ricouard
1578896b3e Immersive short modal 2024-05-17 13:56:03 +02:00
Thomas Ricouard
ba3d8b1882 Composer: disable predictive type on all platforms 2024-05-17 13:55:55 +02:00
Thomas Ricouard
04af087c4b Bump version to 1.10.41 2024-05-16 07:05:17 +02:00
Thomas Ricouard
a9398c25af fix #2064 2024-05-15 10:52:41 +02:00
Thomas Ricouard
13d721912b Add lists widget 2024-05-15 09:27:35 +02:00
Thomas Ricouard
e3d4e693d2 More improvement to alt edit 2024-05-15 08:30:57 +02:00
Thomas Ricouard
86c053344b Improve media alt edit 2024-05-15 08:28:05 +02:00
Thomas Ricouard
a996aace80 Add translate for image alt 2024-05-14 19:43:52 +02:00
Jesús Jiménez Sánchez
18a1d17230
Update ES localization (#2076) 2024-05-14 19:37:40 +02:00
Thomas Ricouard
69cb9a20f9 Add native translate for media description edit + profile bio 2024-05-14 19:36:25 +02:00
Thomas Ricouard
bab2b4be9c Fix localization 2024-05-14 12:20:25 +02:00
Thomas Ricouard
bb005386df Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2024-05-13 22:20:45 +02:00
Thomas Ricouard
c77bb992b4 Update OpenAI models to gpt-4o 2024-05-13 22:20:43 +02:00
Paul Schuetz
7caf00d07d
Resolve escaped characters in a status (#2071)
* Resolve escaped characters in a status

Escaped characters are now returned to their original form for
HTMLString.asRawText.

* Unescape the markdown version too

The HTMLString.asMarkdown string is now also unescaped, &amp; and
similar are resolved.

* Fix a internal fallback

If one of the unescape(...) commands fails, the original, unescaped
text is used instead of an empty string.
2024-05-13 21:32:38 +02:00
Thomas Ricouard
6ed760a775 Bump version to 1.10.40 2024-05-13 20:20:24 +02:00
Thomas Ricouard
ecd149b3d2 Fix a crash in quote post editor on macOS 2024-05-13 19:26:48 +02:00
Xabi
9aaf0b2350
Update EU localisation (#2062)
Round 2
2024-05-13 13:28:24 +02:00
Cthulhux
2d6cce6b01
de: translated one more string (#2063) 2024-05-13 13:27:58 +02:00
Paul Schuetz
48faddebea
Implement Apple Translate (#2065)
* Implement a first version of Apple's Translation

The user can now choose between his instance's server, DeepL (with API
key) and Apple's Translation framework. A translation is cleared if
the translation type is changed. The strings aren't yet written, but
the translations settings view's inconsistent background is now fixed.

* Transfer the old "always_use_deepl" setting

The "always_use_deepl"-setting is now deleted, but its content is
transferred to the equivalent value in "preferred_translation_type".

* Show the user if the DeepL-API key is still stored

The user is now shown a prompt if they've switched away from
.useDeepl, but there's still an API key stored. The API key is not
deleted if the user doesn't instruct the app to do so, so this change
makes it more transparent, since a user might not expect the key to
be stored and might not want this to be the case.

* Localize Labels

The labels for the buttons and options are now localized. "DeepL API Key" is written consistently (with uppercase Key)

* Run all the strings through localization

The strings "DeepL" and "Apple Translate" are now also saved in
localizable.strings and addressed through keys. They were taken
directly previously, which was inconsistent.

* Fix storage

The selected value for preferredTranslationType wasn't stored, the
synchronization between UserPreferences and Storage is now in place.

* Hide Apple Translate if not yet on iOS 17.4

The Apple Translate option is hidden if the user hasn't updated their
phone to at least iOS 17.4. If the Apple Translate option is selected
but the user has downgraded to before iOS 17.4, the standard instance
option is selected.

* Consistently show Apple Translate

Apple Translate was previously only shown if the standard translate
button was visible, that is now fixed. It's now attached to the
StatusRowView, which is always present.

* Animate the removal of translations

The reset of a translation when the translation type is changed is now
animated, which is important for iPad users if they've translated a
post in the sidebar.

* Add support for the Mac Catalyst build

The Mac Catalyst Version doesn't allow the import of the api, so
compiler flags now check if the import isn't allowed and then remove
all references to Apple Translate.

* Swift Format

* Revert "Run all the strings through localization"

This reverts commit 86c5099662.

# Conflicts:
#	Packages/Env/Sources/Env/TranslationType.swift

* Remove the DeepL fallback

The DeepL fallback for the instance translation service is removed,
error messages are shown if a translation fails.

* Allow for the use of an User API Key as fallback

The DeepL fallback is reinstated if the user has put in their own API
Key

* Make the localization keys clear strings

* Make Apple and the instance a fallback

Apple Translate is now a fallback for both other translation types,
the instance service is a fallback for DeepL.
2024-05-13 13:27:21 +02:00
Thomas Ricouard
a8039df22d Don't open link on secondary column 2024-05-13 09:27:24 +02:00