mastodon-app-ufficiale-ipho.../MastodonSDK/Sources/MastodonUI/Scene/ComposeContent
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
..
Attachment Remove Kingfisher (#858) 2023-01-11 09:10:04 +01:00
AutoComplete Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
EmojiPicker Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
Helper feat: restore auto-complete for compose scene content input 2022-11-13 16:04:29 +08:00
Poll feat: [WIP] restore publish button and compose pre-insert content 2022-11-13 22:08:26 +08:00
Publisher Add support for selecting the post language (#907) 2023-01-24 01:50:10 +01:00
TableViewCell chore: code clean up 2022-11-13 22:40:36 +08:00
Toolbar Add support for selecting the post language (#907) 2023-01-24 01:50:10 +01:00
View Remove Kingfisher (#858) 2023-01-11 09:10:04 +01:00
ComposeContentViewController.swift Add support for selecting the post language (#907) 2023-01-24 01:50:10 +01:00
ComposeContentViewModel+DataSource.swift Merge branch 'develop' into feature/emoji-picker-structure 2023-01-05 17:02:20 +01:00
ComposeContentViewModel+MetaTextDelegate.swift feat: restore emoji picker for post compose 2022-11-13 19:42:50 +08:00
ComposeContentViewModel+UITextViewDelegate.swift feat: restore emoji picker for post compose 2022-11-13 19:42:50 +08:00
ComposeContentViewModel.swift Add support for selecting the post language (#907) 2023-01-24 01:50:10 +01:00