1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-01-08 15:31:27 +01:00
mastodon-app-ufficiale-ipho.../MastodonSDK/Sources/MastodonUI
Jed Fox 0a9689c67f
Add support for selecting the post language (#907)
* Basic fake language picker support

* Recognize languages from post text

* Exclude suggested languages from recents

* Load recent languages from Settings object

* Send the language to the API

* Persist the used language to settings

* Always show the currently selected language in the list

* Fix crash

* Add support for picking arbitrary lanuages

* Fix display of 3 letter language codes

* Improve label to include endonym too

* Limit to 3 recent languages

* Reduce lower bound for displaying language suggestions

* Fix saving recent language when publishing

* Fix tint color of language picker button

* Add a badge to prompt users to change language

* Dismiss the badge even if you pick the same language

* Read language names in the language if possible

* Use a compressed font for 3-letter codes

Also use `minimumScaleFactor` to shrink troublesome codes to fit

Co-Authored-By: samhenrigold <49251320+samhenrigold@users.noreply.github.com>

* Remove .vscode/launch.json

* Add message to fatalError()

Co-authored-by: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
2023-01-24 01:50:10 +01:00
..
DataSource feat: restore emoji picker for post compose 2022-11-13 19:42:50 +08:00
Extension Merge pull request #783 from mastodon/ios_15 2022-12-22 18:36:26 +01:00
Helper
Protocol
Scene/ComposeContent Add support for selecting the post language (#907) 2023-01-24 01:50:10 +01:00
Service
SwiftUI IOS-32: Fix paragraph margins in compose 2022-12-16 10:28:06 +01:00
Vendor Bump to iOS 15 deployment target and fix build issues 2022-12-17 20:26:20 +01:00
View Merge branch 'develop' into Warning-fix 2023-01-06 11:41:05 +01:00
ViewModel
import.swift